Business processing method and apparatus, computer readable storage medium, electronic device
By building and executing container task images, the problems of data leakage and low accuracy of business processing results were solved, thereby improving data security and result accuracy.
Patent Information
- Application Number
- CN202310211421.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-02-24
AI Technical Summary
Existing technologies cannot effectively prevent data leakage and cannot match the corresponding container task image according to business requests, resulting in low data security on the server side and low accuracy of business processing results.
By receiving business processing requests from users, decrypting them to obtain the target task image and target business dataset, constructing a container task image, and executing it on the server to generate business processing results, the system ensures data security and improves the accuracy of results.
It significantly reduces the risk of data breaches and improves the accuracy of business processing results and user experience.
Smart Images

Figure CN116301890B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this disclosure relate to the field of computer technology, and more specifically, the embodiments of this disclosure relate to a business processing method, a business processing apparatus, a computer-readable storage medium, and an electronic device. Background Technology
[0002] This section is intended to provide background or context for the embodiments of this disclosure as set forth in the claims. The description herein is not intended to be a prior art simply because it is included in this section.
[0003] While existing business processing methods can audit user behavior based on the multi-party co-construction technology of VirtualKubelet, which enables resource sharing, this method cannot fundamentally prevent data leakage, thereby reducing the security of data on the server side. Summary of the Invention
[0004] However, in the existing technology, on the one hand, since audited users can view the data on the server side, it is impossible to fundamentally prevent data leakage, thereby reducing the security of the data on the server side; on the other hand, when the server side performs business processing, it is impossible to match the corresponding container task to generate an image according to the requested business, which results in a low accuracy of the obtained business processing results.
[0005] Therefore, there is a great need for an improved business processing method to construct a container task image based on the target task image corresponding to the business to be processed and the target business data, and then execute the container task image to obtain the business processing result, thereby improving the accuracy of the business processing result while ensuring data security.
[0006] In this context, embodiments of the present disclosure are intended to provide a business processing method, a business processing apparatus, a computer-readable storage medium, and an electronic device.
[0007] According to one aspect of this disclosure, a business processing method is provided, comprising:
[0008] Receive a service processing request sent by a first user terminal, and decrypt the service processing request to obtain the service to be processed included in the service processing request;
[0009] Obtain the target task image and target business dataset required to execute the pending business, and construct a container task image corresponding to the pending business based on the target task image and target business data;
[0010] The container task image is executed to obtain the business processing result corresponding to the business to be processed, and the business processing result is fed back to the first user terminal.
[0011] In one exemplary embodiment of this disclosure, obtaining the target task image and target service dataset required to execute the pending service includes:
[0012] By modifying the access Webhook, the system matches the target task image required to execute the pending business from a preset private image repository based on the business category of the pending business, and matches the target business dataset required to execute the pending business from a preset database.
[0013] The business categories include data request business categories and / or cross-modal model training request business categories.
[0014] In one exemplary embodiment of this disclosure, the business processing method further includes:
[0015] Receive the source code to be processed and obtain the corresponding dependency packages and deployment and compilation environment;
[0016] The source code to be processed and its dependent packages are compiled and built in the deployment and compilation environment to generate an executable image associated with the source code to be processed;
[0017] Generate a container generation script based on the executable image, and execute the container generation script to obtain the current task image corresponding to the source code to be processed;
[0018] The identity of the sender of the source code to be processed is verified, and when the identity verification of the sender of the source code to be processed is successful, the current task image is uploaded to a preset private image repository.
[0019] In one exemplary embodiment of this disclosure, constructing a container task image corresponding to the service to be processed based on the target task image and target service data includes:
[0020] The target task image is instantiated using the target business data, and the instantiated target task image is orchestrated to obtain a container task image corresponding to the business to be processed.
[0021] In one exemplary embodiment of this disclosure, executing the container task image to obtain a business processing result corresponding to the business to be processed includes:
[0022] Select the target container needed to execute the container task image from the preset container group, and execute the container task image in the target container to obtain the task execution container;
[0023] Start and execute the executable image included in the task execution container to obtain the business processing result corresponding to the business to be processed.
[0024] In one exemplary embodiment of this disclosure, the business processing method further includes:
[0025] During the execution of the container task image, a task viewing request sent by the first user client is received, and the task viewing request is verified based on an access Webhook with verification properties.
[0026] After confirming that the task viewing request has been verified, a data viewing instruction corresponding to the task viewing request is generated, and the data viewing instruction is executed to obtain the log data generated by the container task image during execution and the current task execution status.
[0027] The log data and the current task execution status are fed back to the first user terminal so that the log data and the current task execution status can be displayed on the first user terminal.
[0028] In one exemplary embodiment of this disclosure, the service processing request is decrypted to obtain the pending service included in the service processing request, including:
[0029] Based on the first terminal identifier of the first user terminal, obtain the first key required to decrypt the service processing request;
[0030] The service processing request is decrypted using the first key to obtain the pending service included in the service processing request.
[0031] In one exemplary embodiment of this disclosure, the business processing method further includes:
[0032] Receive a first random number sent by a first user terminal, and generate a first key based on the first random number;
[0033] The first key and the first terminal identifier of the first user terminal are associated and stored, and the first key is sent to the first user terminal so that the first user terminal can encrypt the business processing request according to the first key.
[0034] In one exemplary embodiment of this disclosure, receiving a first random number sent by a first user terminal includes:
[0035] Receive the first client certificate and the first client public key sent by the first user terminal, and send the server certificate and the server public key to the first user terminal;
[0036] Send the first client certificate and the first client public key to the certificate authority, and accept the first verification result obtained by the certificate authority after verifying the legality of the first client certificate and the first client public key;
[0037] When the first verification result indicates that both the first client certificate and the first client public key are valid, a first random number sent by the first client is received; wherein the first random number is sent when the first client confirms that both the server certificate and the server public key are valid.
[0038] In one exemplary embodiment of this disclosure, generating a first key based on the first random number includes:
[0039] Obtain the server private key corresponding to the server public key, and use the server private key to decrypt the first random number;
[0040] Generate the first key based on the first random number obtained after decryption.
[0041] In one exemplary embodiment of this disclosure, the service to be processed includes data request service and / or cross-modal model training service.
[0042] According to one aspect of this disclosure, a business processing apparatus is provided, comprising:
[0043] The service processing request decryption module is used to receive a service processing request sent by the first user terminal and decrypt the service processing request to obtain the service to be processed included in the service processing request.
[0044] The container task image building module is used to obtain the target task image and target business dataset required to execute the pending business, and to build a container task image corresponding to the pending business based on the target task image and target business data.
[0045] The container task image execution module is used to execute the container task image to obtain the business processing result corresponding to the business to be processed, and to feed back the business processing result to the first user terminal.
[0046] In one exemplary embodiment of this disclosure, obtaining the target task image and target service dataset required to execute the pending service includes:
[0047] By modifying the access Webhook, the system matches the target task image required to execute the pending business from a preset private image repository based on the business category of the pending business, and matches the target business dataset required to execute the pending business from a preset database.
[0048] The business categories include data request business categories and / or cross-modal model training request business categories.
[0049] In one exemplary embodiment of this disclosure, the service processing apparatus further includes:
[0050] The source code receiving module is used to receive the source code to be processed and obtain the dependent software packages and deployment and compilation environment corresponding to the source code to be processed.
[0051] An executable image generation module is used to compile and build the source code to be processed and its dependent software packages in the deployment and compilation environment, and generate an executable image associated with the source code to be processed;
[0052] The current task image generation module is used to generate a container generation script based on the executable image, and execute the container generation script to obtain the current task image corresponding to the source code to be processed.
[0053] The current task image upload module is used to verify the identity of the sender of the source code to be processed, and upload the current task image to a preset private image repository when the identity verification of the sender of the source code to be processed is successful.
[0054] In one exemplary embodiment of this disclosure, constructing a container task image corresponding to the service to be processed based on the target task image and target service data includes:
[0055] The target task image is instantiated using the target business data, and the instantiated target task image is orchestrated to obtain a container task image corresponding to the business to be processed.
[0056] In one exemplary embodiment of this disclosure, executing the container task image to obtain a business processing result corresponding to the business to be processed includes:
[0057] Select the target container needed to execute the container task image from the preset container group, and execute the container task image in the target container to obtain the task execution container;
[0058] Start and execute the executable image included in the task execution container to obtain the business processing result corresponding to the business to be processed.
[0059] In one exemplary embodiment of this disclosure, the service processing apparatus further includes:
[0060] The task viewing request verification module is used to receive a task viewing request sent by the first user client during the execution of the container task image, and to verify the task viewing request based on the verification-based access Webhook.
[0061] The data viewing instruction execution module is used to generate a data viewing instruction corresponding to the task viewing request after confirming that the task viewing request has been verified, and to execute the data viewing instruction to obtain the log data generated by the container task image during the execution process and the current task execution status.
[0062] The log data feedback module is used to feed back the log data and the current task execution status to the first user terminal, so that the log data and the current task execution status can be displayed on the first user terminal.
[0063] In one exemplary embodiment of this disclosure, the service processing request is decrypted to obtain the pending service included in the service processing request, including:
[0064] Based on the first terminal identifier of the first user terminal, obtain the first key required to decrypt the service processing request;
[0065] The service processing request is decrypted using the first key to obtain the pending service included in the service processing request.
[0066] In one exemplary embodiment of this disclosure, the service processing apparatus further includes:
[0067] The first key generation module is used to receive a first random number sent by the first user terminal and generate a first key based on the first random number;
[0068] The first key storage module is used to associate and store the first key and the first terminal identifier of the first user terminal, and send the first key to the first user terminal so that the first user terminal can encrypt the business processing request according to the first key.
[0069] In one exemplary embodiment of this disclosure, receiving a first random number sent by a first user terminal includes:
[0070] Receive the first client certificate and the first client public key sent by the first user terminal, and send the server certificate and the server public key to the first user terminal;
[0071] Send the first client certificate and the first client public key to the certificate authority, and accept the first verification result obtained by the certificate authority after verifying the legality of the first client certificate and the first client public key;
[0072] When the first verification result indicates that both the first client certificate and the first client public key are valid, a first random number sent by the first client is received; wherein the first random number is sent when the first client confirms that both the server certificate and the server public key are valid.
[0073] In one exemplary embodiment of this disclosure, the service to be processed includes data request service and / or cross-modal model training service.
[0074] According to one aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the business processing method described in any of the preceding claims.
[0075] According to one aspect of this disclosure, an electronic device is provided, comprising:
[0076] Processor; and
[0077] Memory for storing the executable instructions of the processor;
[0078] The processor is configured to execute any of the above-described business processing methods by executing the executable instructions.
[0079] According to the business processing method and apparatus of this disclosure, a business processing request sent by a first user terminal can be received and decrypted to obtain the business to be processed included in the business processing request; a target task image and a target business dataset required to execute the business to be processed can be obtained, and a container task image corresponding to the business to be processed can be constructed based on the target task image and the target business data; the container task image can be executed to obtain the business processing result corresponding to the business to be processed, and the business processing result can be fed back to the first user terminal without directly feeding back the target business dataset to the first user terminal. This significantly reduces the problem that data leakage cannot be fundamentally prevented because audited users can view the data on the server side, thus reducing the security of the server side data. It also reduces the problem that the accuracy of the business processing result obtained is low because the corresponding container task is generated to match the requested business. This provides a better user experience. Attached Figure Description
[0080] The above and other objects, features, and advantages of this disclosure will become readily apparent from the following detailed description of exemplary embodiments, taken in conjunction with the accompanying drawings. Several embodiments of this disclosure are illustrated in the drawings by way of example and not limitation, in which:
[0081] FIG. 1A flowchart illustrating a business processing method according to an example embodiment of this disclosure is shown schematically;
[0082] FIG. 2 An example diagram of a business processing system according to an exemplary embodiment of the present disclosure is shown schematically;
[0083] FIG. 3 The diagram schematically illustrates an interaction example of a specific process for generating a first key according to an exemplary embodiment of the present disclosure, as well as a specific authentication process between the user terminal and the server terminal.
[0084] FIG. 4 The diagram schematically illustrates an example of the specific generation and storage process of a current task image according to an exemplary embodiment of the present disclosure;
[0085] FIG. 5 An example diagram illustrating a method of viewing task execution status and / or log data according to an exemplary embodiment of this disclosure is shown.
[0086] FIG. 6 A block diagram of a service processing apparatus according to an exemplary embodiment of the present disclosure is shown schematically;
[0087] FIG. 7 A computer-readable storage medium for storing the above-described business processing method is illustrated schematically according to an example embodiment of the present disclosure;
[0088] FIG. 8 An electronic device for implementing the above-described business processing method is illustrated schematically according to an example embodiment of the present disclosure.
[0089] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts. Detailed Implementation
[0090] The principles and spirit of this disclosure will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are provided merely to enable those skilled in the art to better understand and implement this disclosure, and are not intended to limit the scope of this disclosure in any way. Rather, these embodiments are provided to make this disclosure more thorough and complete, and to fully convey the scope of this disclosure to those skilled in the art. Of course, the data involved in this disclosure can be data authorized by the user or fully authorized by all parties, and the collection, dissemination, and use of the data comply with relevant national laws and regulations. The embodiments / examples of this disclosure can be combined with each other.
[0091] Those skilled in the art will recognize that embodiments of this disclosure can be implemented as a system, apparatus, device, method, or computer program product. Therefore, this disclosure can be specifically implemented in the following forms: entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0092] According to embodiments of this disclosure, a business processing method, a business processing apparatus, a computer-readable storage medium, and an electronic device are proposed.
[0093] In this document, any number of elements in the accompanying figures is for illustrative purposes and not for limitation, and any naming is for distinction only and has no limiting meaning.
[0094] The principles and spirit of this disclosure will be explained in detail below with reference to several representative embodiments. SUMMARY
[0096] The applicant first considered that cross-modal model training is widely used in industry and various departments within enterprises. In practical applications, the diverse data requirements of cross-modal model training necessitate data sharing across departments. Of course, according to data security laws, data sharing training must ensure data security. Therefore, to address data security issues, some solutions utilize secure multi-party computation technology to achieve privacy-preserving computation, but the specific implementation of this method is extremely complex. Other solutions use Virtual Kubelet technology to share data and co-build models through multi-party cluster construction. However, while Virtual Kubelet-based multi-party construction technology can audit customer behavior, it cannot restrict customers from viewing data, thus failing to fundamentally prevent data leakage and truly protect data privacy.
[0097] Based on this, the exemplary embodiments of this disclosure provide a business processing method. On the one hand, by receiving a business processing request sent by a first user terminal and decrypting the request to obtain the business to be processed included in the request, the method then obtains the target task image and target business dataset required to execute the business to be processed, and constructs a container task image corresponding to the business to be processed based on the target task image and target business data. Finally, the method executes the container task image to obtain the business processing result corresponding to the business to be processed, and feeds the result back to the first user terminal. Since the server can generate a corresponding container task image based on the target task image and target business dataset corresponding to the business processing request, and then executes the container task image to obtain the business processing result, data security can be ensured without the need for secure multi-party computation technology. On the other hand, since the execution of the target task image can be completed directly on the server side, data leakage can be fundamentally prevented, thereby achieving data privacy protection. Furthermore, since a corresponding container task image can be generated based on the target task image and target business dataset corresponding to the business processing request, and then executes the container task image to obtain the business processing result, the accuracy of the obtained business processing result is improved.
[0098] After introducing the basic principles of this disclosure, various non-limiting embodiments of this disclosure will be described in detail below.
[0099] Exemplary methods
[0100] This exemplary embodiment first provides a business processing method, which can run on a server, server cluster, or cloud server, etc. Of course, those skilled in the art can also run the method disclosed herein on other platforms as needed, and this exemplary embodiment does not impose any special limitations on this. Specifically, refer to... FIG. 1 As shown, the business processing method may include the following steps:
[0101] Step S110. Receive a service processing request sent by the first user terminal, and decrypt the service processing request to obtain the service to be processed included in the service processing request;
[0102] Step S120. Obtain the target task image and target business dataset required to execute the pending business, and construct a container task image corresponding to the pending business based on the target task image and target business data;
[0103] Step S130. Execute the container task image to obtain the business processing result corresponding to the business to be processed, and feed back the business processing result to the first user terminal.
[0104] In the above business processing method, a business processing request sent by the first user terminal is received and decrypted to obtain the business to be processed included in the request; the target task image and target business dataset required to execute the business to be processed are obtained, and a container task image corresponding to the business to be processed is constructed based on the target task image and target business data; the container task image is executed to obtain the business processing result corresponding to the business to be processed, and the business processing result is fed back to the first user terminal, without directly feeding back the target business dataset to the first user terminal. This significantly reduces the problem that data leakage cannot be fundamentally prevented because audited users can view the data on the server side, thus reducing the security of the server-side data. It also reduces the problem that the accuracy of the business processing result obtained is low because the corresponding container task is generated based on the requested business, resulting in a low accuracy of the business processing result. This provides a better user experience.
[0105] The following will provide a detailed explanation and description of the business processing method of the exemplary embodiments of this disclosure, in conjunction with the accompanying drawings.
[0106] First, the proper nouns used in the exemplary embodiments of this disclosure will be explained.
[0107] TLS (Transport Layer Security) protocol: A widely used encryption protocol on the Internet that authenticates the server in client-server connections and encrypts communication between the client and the server.
[0108] Digital certificates are a security standard that incorporates various cryptographic algorithms to perform multiple functions such as data encryption and decryption, identity authentication, and signature.
[0109] CA (Certificate Authority): A certificate authority is an authoritative body responsible for issuing and managing digital certificates, and as a trusted third party, it assumes the responsibility for verifying the legitimacy of public keys in the public key system.
[0110] Image: refers to a container image in containerization technology. User code is compiled into an executable file or script, and the execution environment that the executable file or script depends on is packaged into an image using a packaging tool. The image can be run through containerization technology to execute the user executable file or script.
[0111] Kubernetes is an open-source container orchestration engine used to automate the deployment, scaling, and management of containerized applications.
[0112] Virtual kubelet: A virtual node technology in the Kubernetes system that enables the sharing of computing resources.
[0113] Webhook: An HTTP (Hypertext Transfer Protocol) callback mechanism used to receive and process admission requests.
[0114] Cross-modal models: These models integrate multiple single-modal features to achieve comprehensive semantic understanding, thereby completing specific tasks such as classification, matching, and generation.
[0115] Secondly, the inventive objectives of the exemplary embodiments of this disclosure will be explained and described. Specifically, the business processing method provided by the exemplary embodiments of this disclosure can authenticate API (Application Programming Interface) requests through technologies such as client certificates and authentication proxies, ensuring that the client is authorized; at the same time, the authorized usage time of the client's data can be set; furthermore, the client's training code undergoes security audit and is stored in a secure private image repository, ensuring that the operation is secure and not tampered with; furthermore, through the Webhook mechanism of the Kubernetes API, automatic data mounting and restrictions on viewing the training status are implemented; even further, the location and content of the data are transparent to the user, ensuring data privacy and security, and the client's viewing behavior of the training task is strictly restricted.
[0116] Next, the business processing system of the exemplary embodiments of this disclosure will be explained and described. Specifically, refer to... FIG. 2 As shown, the business processing system may include a user terminal 210 and a server terminal 220. The user terminal can communicate with the server terminal via a wired network or a wireless network. The user terminal can be used to send business processing requests to the server terminal, and can also be used to send source code to be processed to the server terminal. The server terminal can be used to implement the business processing methods described in the example embodiments of this disclosure.
[0117] In one feasible example embodiment, the user terminal described herein may include a mobile terminal, such as a personal computer (PC), tablet computer, or mobile phone, or a fixed terminal, such as a desktop computer. This example does not impose any special limitations on this. Furthermore, in practical applications, the user terminal used to send the service processing request and the user terminal used to send the source code to be processed may be the same user terminal or different user terminals. This example does not impose any special limitations on this.
[0118] In one exemplary embodiment provided in this disclosure, to improve the security of communication between the user client and the server, it is first necessary to ensure that communication between the user client and the server is possible. That is, in practical applications, before making a business request, the client and server must first verify the legitimacy of each other's identities. Only under this premise can the user client send a business processing request and the source code to be processed to the server. Furthermore, since the business processing request and the source code to be processed need to be encrypted using a first key when the user client sends them to the server, a first key needs to be generated first in practical applications.
[0119] In one example embodiment, the specific generation process of the first key can be implemented as follows: First, a first random number sent by a first user terminal is received, and a first key is generated based on the first random number; second, the first key and the first terminal identifier of the first user terminal are associated and stored, and the first key is sent to the first user terminal so that the first user terminal can encrypt the business processing request based on the first key. The receiving of the first random number sent by the first user terminal can be implemented as follows: First, a first client certificate and a first client public key are received from the first user terminal, and a server certificate and a server public key are sent to the first user terminal; second, the first client certificate and the first client public key are sent to a certificate authority, and a first verification result is obtained after the certificate authority verifies the legitimacy of the first client certificate and the first client public key; then, when it is determined that the first verification result indicates that both the first client certificate and the first client public key are valid, the first random number sent by the first client is received; wherein the first random number is sent when the first client confirms that both the server certificate and the server public key are valid. Furthermore, the generation of the first key based on the first random number can be achieved as follows: First, obtain the server private key corresponding to the server public key, and use the server private key to decrypt the first random number; second, generate the first key based on the decrypted first random number.
[0120] The following will combine FIG. 3 This section explains and illustrates the specific process of generating the first key and the authentication process between the user and server. For details, please refer to [link / reference needed]. FIG. 3 As shown, the specific process of generating the first key and the specific authentication process between the user and the server can include the following steps:
[0121] Step S301: The first client sends the first client certificate and the first client public key to the server;
[0122] Step S302: The server sends its certificate and public key to the first client.
[0123] Step S303: The server sends the first client certificate and the first client public key to the certificate authority.
[0124] Step S304: The certificate authority verifies the first client certificate and the first client public key, and sends the first verification result corresponding to the first client certificate and the first client public key to the server.
[0125] Step S305: The first user terminal sends the server certificate and server public key to the certificate authority.
[0126] Step S306: The certificate authority verifies the server certificate and the server public key, and sends the second verification result corresponding to the server certificate and the server public key to the first user terminal.
[0127] Step S307: When the first user terminal determines that the second verification result is valid for the server certificate and the server public key, it sends a first random number to the server.
[0128] Step S308: When the server determines that the first verification result is that the first client certificate and the first client public key have passed verification, it receives the first random number sent by the first user segment.
[0129] Step S309: The server obtains the server private key corresponding to the server public key, and uses the server private key to decrypt the first random number.
[0130] In step S310, the server generates a first key based on the decrypted first random number and sends the first key back to the first user.
[0131] At this point, the specific process of generating the first key and the specific authentication process between the user client and the server have been fully implemented. Based on the foregoing description, it can be understood that before communication, both the first user client and the server verify each other's certificates and public keys through a CA (Certificate Authority), thus ensuring the legitimacy of the other party's identity. Simultaneously, both the first user client and the server record their public keys and negotiate a symmetric encryption key using asymmetric encryption, ensuring the key's security and immutability. Furthermore, both the server and the first user client communicate using the negotiated first key in a symmetric encryption manner. Moreover, since the negotiation of the first private key is implemented using asymmetric encryption, the security of the first key is ensured. Meanwhile, the actual communication process uses symmetric encryption, thus reducing the algorithm's complexity. In other words, through these methods, the complexity of the algorithm can be reduced while ensuring the security of the communication process, thereby improving business processing efficiency.
[0132] It is worth noting that in practical applications, before users can use the data, the server needs to issue a client certificate through a CA (Certificate Authority) and set the certificate's validity period. The validity period of the certificate mentioned here can be determined based on a project cycle. For example, within a certain project cycle, a specific first user client may be allowed to request the corresponding data or request model training from the server.
[0133] The following will combine FIG. 4 The specific generation and storage processes of the current task image involved in the exemplary embodiments of this disclosure are explained and described. Specifically, refer to... FIG. 4 As shown, the specific generation and storage process of the current task image can be implemented in the following way:
[0134] Step S410: Receive the source code to be processed and obtain the dependent software packages and deployment and compilation environment corresponding to the source code to be processed;
[0135] Step S420: Execute the compilation and building of the source code to be processed and its dependent software packages in the deployment and compilation environment to generate an executable image associated with the source code to be processed;
[0136] Step S430: Generate a container generation script based on the executable image, and execute the container generation script to obtain the current task image corresponding to the source code to be processed;
[0137] Step S440: Verify the identity of the sender of the source code to be processed, and when the identity verification of the sender of the source code to be processed is successful, upload the current task image to the preset private image repository.
[0138] The following will explain and illustrate steps S410-S440. Specifically, firstly, the source code to be processed is received; the source code to be processed here can be source code used to build a model training task, or source code used to perform data query or data statistics; in actual applications, the corresponding source code to be processed can be written according to actual needs, and this example does not impose special restrictions on this; secondly, in the process of generating the current task image, it is necessary to obtain the corresponding dependent software packages and deployment compilation environment to obtain the current task image; the container generation script mentioned here can include Dockerfile, DockerImage, etc., and in actual applications, the corresponding container generation script can be determined according to actual needs, and this example does not impose special restrictions on this; furthermore, in the process of storing the current task image, it is also necessary to verify the identity of the sender of the source code to be processed; the sender of the source code to be processed here can include the first user client, or other user clients, and this example does not impose special restrictions on this; and the verification of the identity of the sender of the source code to be processed here can be verified by the client certificate corresponding to the sender of the source code to be processed, or by other methods, and this example does not impose special restrictions on this. Meanwhile, since the current task image is built in a private data center on the server side, the security and immutability of the image building process are guaranteed. Furthermore, by authenticating the sender of the source code to be processed, the legitimacy and security of the source code can be verified, thus preventing the output of malicious data and further enhancing system security. Moreover, since the current task image is stored in a private image repository on the server side, and image uploads and updates can only be made after successful authentication, data security is further ensured.
[0139] It should be added that, in practical applications, in order to further ensure the security of the private image repository, it is also necessary to audit whether the current task images included in the private image repository contain any missed malicious code or exposed security vulnerabilities. Specifically, the security of the current task images can be scanned regularly using corresponding scanning tools, and when malicious code or vulnerabilities are detected, the malicious code should be deleted in a timely manner and the vulnerabilities should be patched.
[0140] The following will combine FIGS. 2-4 right FIG. 1 The business processing methods shown will be further explained and illustrated. Specifically:
[0141] In step S110, a service processing request sent by the first user terminal is received, and the service processing request is decrypted to obtain the service to be processed included in the service processing request.
[0142] In this example embodiment, when the first user terminal needs to request data or model training from the server, it can send a business processing request to the server. Further, after receiving the business processing request, the server will decrypt it to obtain the business to be processed. The business to be processed here can include data request business and cross-modal model training business, etc. Further, the data request business here can be, for example, requesting the distribution of people of a certain age group in a certain region, the distribution of annual income ranges in a certain region, or the employment situation of people in a certain region, etc. Meanwhile, the cross-modal model training business here can refer to a multi-party collaborative model training business. The model trained in this model training business can include convolutional neural network models, recurrent neural network models, deep neural network models, and decision tree models, etc. In practical applications, the appropriate model can be selected according to actual needs; this example does not impose any special restrictions.
[0143] In one example embodiment, decrypting a service processing request to obtain the pending service included in the request can be achieved as follows: First, based on the first terminal identifier of the first user terminal, a first key required for decrypting the service processing request is obtained; second, the first key is used to decrypt the service processing request to obtain the pending service included in the request. That is, the first key corresponding to the first user terminal can be matched based on the first terminal identifier, and then decryption using the first key yields the pending service. Here, the decryption of the service processing request using the first key employs a symmetric encryption algorithm, which reduces the complexity of the decryption process; simultaneously, since the first key is obtained using an asymmetric encryption algorithm, the use of a symmetric encryption algorithm here also ensures system security.
[0144] In step S120, the target task image and target service dataset required to execute the pending service are obtained, and a container task image corresponding to the pending service is constructed based on the target task image and target service data.
[0145] In this example embodiment, firstly, the target task image and target business dataset required for executing the pending business are obtained; specifically, this can be achieved as follows: by modifying the access Webhook of the nature, the target task image required for executing the pending business is matched from a preset private image repository according to the business category of the pending business, and the target business dataset required for executing the pending business is matched from a preset database; wherein, the business category includes data request business category and / or cross-modal model training request business category.
[0146] In other words, to ensure the transparency of the original business dataset held by the server to the first user during business processing, a modified access webhook can be defined first. Then, upon receiving a business processing request from the first user, the modified access webhook can be invoked. Based on this modified access webhook, and according to the business category of the pending business submitted by the first user, the corresponding target task image and target business dataset are matched from the private image repository. Here, the target task image refers to the task image required to execute the pending business. When the pending business is a data request business, the target task image is the data processing task image; when the pending business is a cross-modal model training business, the target task image is the model training task image.
[0147] In one possible example embodiment, the model training task images described above may include model training task images of different model categories in multiple different scenarios; for example, in a data prediction scenario, it may include model training task images of convolutional neural network models, recurrent neural network models, deep neural network models, and decision tree models; similarly, in a data classification scenario, it may include model training task images of convolutional neural network models, recurrent neural network models, deep neural network models, and decision tree models, etc. In practical applications, corresponding task images can be set according to actual needs, and this example does not impose any special restrictions on this.
[0148] Secondly, a container task image corresponding to the business to be processed is constructed based on the target task image and the target business data. Specifically, this can be achieved as follows: the target task image is instantiated using the target business data, and the instantiated target task image is orchestrated to obtain the container task image corresponding to the business to be processed. That is, the target business data and the target task image can be instantiated based on a modified access Webhook, thereby obtaining the instantiated target task image. Finally, the instantiated target task image is orchestrated to obtain the container task image. Here, the instantiation process refers to applying the target business data to the target task image to obtain a container task image with the same business scenario as the business to be processed, thereby obtaining the corresponding business processing result.
[0149] It should be further explained here that, since the location information and content of the target business data only exist in the private data center on the server side, and the generation of container task images is based on the server-side defined access control webhook, malicious users cannot obtain the location information and content of the target business data by snooping on the corresponding task orchestration instructions, thereby further improving the security of business data.
[0150] In step S130, the container task image is executed to obtain the business processing result corresponding to the business to be processed, and the business processing result is fed back to the first user terminal.
[0151] In this example embodiment, firstly, the container task image is executed to obtain the business processing result corresponding to the business to be processed. Specifically, this can be achieved as follows: First, a target container required for executing the container task image is selected from a preset container group, and the container task image is executed in the target container to obtain a task execution container; secondly, the executable image included in the task execution container is started and executed to obtain the business processing result corresponding to the business to be processed. The process involves selecting a target container from a pre-defined container group to execute the container task image, and then executing the container task image within that target container to obtain the task execution container. This can be achieved as follows: First, configure a container group consisting of multiple independent sub-containers in the container coding engine. These independent sub-containers include various categories of containers, such as data processing containers and model training containers, and may also include other containers, such as testing containers. This example does not impose any special restrictions on this. Next, based on the business category of the business to be processed, select the target container from the container group to execute the container task image, and then execute the container task image within that target container to obtain the task execution container. Second, after obtaining the task execution container, start and execute the executable image included within it to obtain the business processing result corresponding to the business to be processed. This result is then encrypted and sent back to the first user terminal. Upon receiving the business processing result, the first user terminal decrypts it using a first key to display the business execution result. Simultaneously, once the executable image included in the task execution container has finished executing, it is deleted from the task execution container. This method enables the reuse of containers, allowing resources to be accessed and returned as needed, thus significantly reducing hardware costs.
[0152] In a feasible example embodiment, the task execution results described herein may include a first task execution result corresponding to the data request service and a second task execution result corresponding to the cross-modal model training service; wherein, the first task execution result may include, but is not limited to, the distribution of age, economic income, or population density, etc.; the second task execution result may include the model after parameter updates, etc., and this example does not impose any special limitations on this.
[0153] In one example embodiment, during the execution of the container task image, there may be scenarios where the user needs to view the task execution status and / or log data. Specifically, refer to... FIG. 5 As shown, the task execution status and / or log data can be viewed in the following ways:
[0154] Step S510: During the execution of the container task image, a task viewing request sent by the first user client is received, and the task viewing request is verified based on the access Webhook of the verification nature.
[0155] Step S520: After confirming that the task viewing request has been verified, a data viewing instruction corresponding to the task viewing request is generated, and the data viewing instruction is executed to obtain the log data generated by the container task image during execution and the current task execution status.
[0156] Step S530: Feedback the log data and the current task execution status to the first user terminal so that the log data and the current task execution status can be displayed on the first user terminal.
[0157] The following will explain and illustrate steps S510-S530. Specifically, during the execution of the container task image (i.e., during training or data processing), if the first user client (the sending end of the business processing request) initiates a task viewing request, a predefined verification-based access webhook can be invoked to verify the task viewing request. After the task viewing request is verified, a data viewing instruction is generated. This data viewing instruction can restrict the first user client to only viewing the log data generated during the execution of the container task image and the current task execution status of the container task image. Then, the data viewing instruction is executed to obtain the log data and the current task execution status, and the log data and the current task execution status are fed back to the first user client. This method can prevent the first user client from intruding into the task, viewing the target dataset, or tampering with the target dataset, thereby further improving data security.
[0158] Thus, all the business processing methods described in the exemplary embodiments of this disclosure have been implemented. Based on the foregoing description, it can be understood that the business processing methods described in the exemplary embodiments of this disclosure have at least the following advantages: On the one hand, the business processing methods described in the exemplary embodiments of this disclosure enable data stored on the server side to be shared in the form of an abstract asset. Users only know the data format but cannot obtain or locate the data, thereby improving data security. On the other hand, the business processing methods described in the exemplary embodiments of this disclosure can ensure that the data user is authorized and that the authorization has an expiration date. Furthermore, the data location and data content are in the private data center of the data owner throughout the entire shared training period, and the data center network cannot attack or maliciously spy on it. Moreover, data operation behavior is strictly reviewed and restricted to ensure data privacy and security.
[0159] Exemplary apparatus
[0160] This disclosure also provides a service processing apparatus through exemplary embodiments. Specifically, refer to... FIG. 6 As shown, the business processing device may include a business processing request decryption module 610, a container task image building module 620, and a container task image execution module 630. Wherein:
[0161] The service processing request decryption module 610 can be used to receive a service processing request sent by the first user terminal and decrypt the service processing request to obtain the service to be processed included in the service processing request.
[0162] The container task image building module 620 can be used to obtain the target task image and target business dataset required to execute the pending business, and to build a container task image corresponding to the pending business based on the target task image and target business data.
[0163] The container task image execution module 630 can be used to execute the container task image to obtain the business processing result corresponding to the business to be processed, and to feed back the business processing result to the first user terminal.
[0164] In one exemplary embodiment of this disclosure, obtaining the target task image and target service dataset required to execute the pending service includes:
[0165] By modifying the access webhook, based on the business category of the pending business, the system matches the target task image required to execute the pending business from a preset private image repository, and matches the target business number required to execute the pending business from a preset database.
[0166] According to the collection;
[0167] The business categories include data request business categories and / or cross-modal model training request business categories.
[0168] In one exemplary embodiment of this disclosure, the service processing apparatus further includes:
[0169] The source code receiving module is used to receive the source code to be processed and obtain the dependent software packages and deployment and compilation environment corresponding to the source code to be processed.
[0170] An executable image generation module is used to compile and build the source code to be processed and its dependent software packages in the deployment and compilation environment, and generate an executable image associated with the source code to be processed;
[0171] The current task image generation module is used to generate a container generation script based on the executable image, and execute the container generation script to obtain the current task image corresponding to the source code to be processed.
[0172] The current task image upload module is used to verify the identity of the sender of the source code to be processed, and upload the current task image to a preset private image repository when the identity verification of the sender of the source code to be processed is successful.
[0173] In one exemplary embodiment of this disclosure, constructing a container task image corresponding to the service to be processed based on the target task image and target service data includes:
[0174] The target task image is instantiated using the target business data, and the instantiated target task image is orchestrated to obtain a container task image corresponding to the business to be processed.
[0175] In one exemplary embodiment of this disclosure, executing the container task image to obtain a business processing result corresponding to the business to be processed includes:
[0176] Select the target container needed to execute the container task image from the preset container group, and execute the container task image in the target container to obtain the task execution container;
[0177] Start and execute the executable image included in the task execution container to obtain the business processing result corresponding to the business to be processed.
[0178] In one exemplary embodiment of this disclosure, the service processing apparatus further includes:
[0179] The task viewing request verification module is used to receive a task viewing request sent by the first user client during the execution of the container task image, and to verify the task viewing request based on the verification-based access Webhook.
[0180] The data viewing instruction execution module is used to generate a data viewing instruction corresponding to the task viewing request after confirming that the task viewing request has been verified, and to execute the data viewing instruction to obtain the log data generated by the container task image during the execution process and the current task execution status.
[0181] The log data feedback module is used to feed back the log data and the current task execution status to the first user terminal, so that the log data and the current task execution status can be displayed on the first user terminal.
[0182] In one exemplary embodiment of this disclosure, the service processing request is decrypted to obtain the pending service included in the service processing request, including:
[0183] Based on the first terminal identifier of the first user terminal, obtain the first key required to decrypt the service processing request;
[0184] The service processing request is decrypted using the first key to obtain the pending service included in the service processing request.
[0185] In one exemplary embodiment of this disclosure, the service processing apparatus further includes:
[0186] The first key generation module is used to receive a first random number sent by the first user terminal and generate a first key based on the first random number;
[0187] The first key storage module is used to associate and store the first key and the first terminal identifier of the first user terminal, and send the first key to the first user terminal so that the first user terminal can encrypt the business processing request according to the first key.
[0188] In one exemplary embodiment of this disclosure, receiving a first random number sent by a first user terminal includes:
[0189] Receive the first client certificate and the first client public key sent by the first user terminal, and send the server certificate and the server public key to the first user terminal;
[0190] Send the first client certificate and the first client public key to the certificate authority, and accept the first verification result obtained by the certificate authority after verifying the legality of the first client certificate and the first client public key;
[0191] When the first verification result indicates that both the first client certificate and the first client public key are valid, a first random number sent by the first client is received; wherein the first random number is sent when the first client confirms that both the server certificate and the server public key are valid.
[0192] In one exemplary embodiment of this disclosure, the service to be processed includes data request service and / or cross-modal model training service.
[0193] The specific details of each module in the above-mentioned business device have been described in detail in the corresponding business processing methods, so they will not be repeated here.
[0194] Exemplary storage media
[0195] After introducing the service processing method and service processing apparatus of exemplary embodiments of this disclosure, the following will refer to... FIG. 7 The storage medium of the exemplary embodiments of this disclosure will be described.
[0196] refer to FIG. 7 As shown, a program product 700 for implementing the above-described method according to an embodiment of the present disclosure is described. It can employ a portable compact disc read-only memory (CD-ROM) and include program code, and can run on a terminal device, such as a personal computer. However, the present disclosure...
[0197] Program products are not limited to this.
[0198] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0199] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium.
[0200] Program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing devices can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN).
[0201] Exemplary electronic device
[0202] Having introduced the storage medium of the exemplary embodiments of the present disclosure, the electronic device of the exemplary embodiments of the present disclosure will now be described with reference to the figures.
[0203] Having described the storage medium of exemplary embodiments of this disclosure, the following references are made. FIG. 7 An electronic device according to an exemplary embodiment of the present disclosure will be described.
[0204] FIG. 8 The electronic device 800 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0205] like FIG. 8 As shown, the electronic device 800 is presented in the form of a general-purpose computing device. The components of the electronic device 800 may include, but are not limited to: at least one processing unit 810, at least one storage unit 820, a bus 830 connecting different system components (including storage unit 820 and processing unit 810), and a display unit 840.
[0206] The storage unit 820 stores program code that can be executed by the processing unit 810, causing the processing unit 810 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure. For example, the processing unit 810 can perform actions such as... FIG. 1 Steps S110-S130 are shown in the diagram.
[0207] Storage unit 820 may include volatile storage units, such as random access memory (RAM) 8201 and / or cache memory 8202, and may further include read-only memory (ROM) 8203.
[0208] The storage unit 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0209] Bus 830 may include a data bus, an address bus, and a control bus.
[0210] Electronic device 800 can also communicate with one or more external devices 900 (e.g., keyboards, pointing devices, Bluetooth devices, etc.) via input / output (I / O) interface 850. Furthermore, electronic device 800 can communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via network adapter 860. As shown in the figure, network adapter 860 communicates with other modules of electronic device 800 via bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0211] It should be noted that although several modules or sub-modules of the pop-up window handling device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.
[0212] It should be noted that although several units / modules or sub-units / modules of the apparatus have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.
[0213] Furthermore, although the operations of the methods disclosed herein are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all of the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0214] While the spirit and principles of this disclosure have been described with reference to several specific embodiments, it should be understood that this disclosure is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined for benefit; such division is merely for convenience of expression. This disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims
1. A business processing method, configured on a server side, the method comprising: Receive a service processing request sent by a first user terminal, and decrypt the service processing request to obtain the service to be processed included in the service processing request; The pending services include data request services and / or cross-modal model training services; By modifying the access Webhook, the target task image required to execute the pending business is matched from a preset private image repository according to the business category of the pending business, and the target business dataset required to execute the pending business is matched from a preset database to ensure the transparency of the original business dataset held by the server to the first user. Based on the modified access Webhook, the target business data is applied to the target task image to obtain a container task image with the same business scenario as the pending business. The container task images with the same business scenario as the pending business are then orchestrated to obtain a container task image corresponding to the pending business. The location information and data content of the target business dataset are stored in the private data center of the server. Select the target container needed to execute the container task image from the preset container group, and execute the container task image in the target container to obtain the task execution container; The executable image included in the task execution container is started and executed to obtain the business processing result corresponding to the business to be processed, and the business processing result is fed back to the first user terminal; the preset container group is composed of multiple independent sub-containers, and the independent sub-containers include at least one of the data business processing container, model training container and test container.
2. The business processing method according to claim 1, wherein, The business categories include data request business categories and / or cross-modal model training request business categories.
3. The business processing method according to claim 2, wherein, The business processing method also includes: Receive the source code to be processed and obtain the corresponding dependency packages and deployment and compilation environment; The source code to be processed and its dependent packages are compiled and built in the deployment and compilation environment to generate an executable image associated with the source code to be processed; Generate a container generation script based on the executable image, and execute the container generation script to obtain the current task image corresponding to the source code to be processed; The identity of the sender of the source code to be processed is verified, and when the identity verification of the sender of the source code to be processed is successful, the current task image is uploaded to a preset private image repository.
4. The business processing method according to claim 1, wherein, The business processing method also includes: During the execution of the container task image, a task viewing request sent by the first user client is received, and the task viewing request is verified based on an access Webhook with verification properties. After confirming that the task viewing request has been verified, a data viewing instruction corresponding to the task viewing request is generated, and the data viewing instruction is executed to obtain the log data generated by the container task image during execution and the current task execution status. The log data and the current task execution status are fed back to the first user terminal so that the log data and the current task execution status can be displayed on the first user terminal.
5. The business processing method according to claim 1, wherein, Decrypting the business processing request yields the pending business included in the request, including: Based on the first terminal identifier of the first user terminal, obtain the first key required to decrypt the service processing request; The service processing request is decrypted using the first key to obtain the pending service included in the service processing request.
6. The business processing method according to claim 5, wherein, The business processing method also includes: Receive a first random number sent by a first user terminal, and generate a first key based on the first random number; The first key and the first terminal identifier of the first user terminal are associated and stored, and the first key is sent to the first user terminal so that the first user terminal can encrypt the business processing request according to the first key.
7. The business processing method according to claim 6, wherein, Receive the first random number sent by the first user terminal, including: Receive the first client certificate and the first client public key sent by the first user terminal, and send the server certificate and the server public key to the first user terminal; Send the first client certificate and the first client public key to the certificate authority, and accept the first verification result obtained by the certificate authority after verifying the legality of the first client certificate and the first client public key; When the first verification result indicates that both the first client certificate and the first client public key are valid, a first random number sent by the first client is received; wherein the first random number is sent when the first client confirms that both the server certificate and the server public key are valid.
8. The business processing method according to claim 6, wherein, Generate a first key based on the first random number, including: Obtain the server private key corresponding to the server public key, and use the server private key to decrypt the first random number; Generate the first key based on the first random number obtained after decryption.
9. A business processing apparatus, configured on a server side, the apparatus comprising: A business processing request decryption module is used to receive a business processing request sent by a first user terminal and decrypt the business processing request to obtain the pending business included in the business processing request; the pending business includes data request business and / or cross-modal model training business. The container task image building module is used to match the target task image required to execute the pending business from a preset private image repository based on the business category of the pending business by modifying the access webhook of the nature of the access. It also matches the target business dataset required to execute the pending business from a preset database to ensure the transparency of the original business dataset held by the server to the first user. Based on the modified access webhook of the nature of the access, the module applies the target business data to the target task image to obtain a container task image with the same business scenario as the pending business. Finally, it orchestrates the container task images with the same business scenario as the pending business to obtain a container task image corresponding to the pending business. The location information and data content of the target business dataset are stored in the private data center of the server. The container task image execution module is used to select the target container required to execute the container task image from a preset container group, and execute the container task image in the target container to obtain a task execution container; The executable image included in the task execution container is started and executed to obtain the business processing result corresponding to the business to be processed, and the business processing result is fed back to the first user terminal; the preset container group is composed of multiple independent sub-containers, and the independent sub-containers include at least one of the data business processing container, model training container and test container.
10. The business processing apparatus according to claim 9, wherein, The business categories include data request business categories and / or cross-modal model training request business categories.
11. The business processing apparatus according to claim 10, wherein, The business processing device further includes: The source code receiving module is used to receive the source code to be processed and obtain the dependent software packages and deployment and compilation environment corresponding to the source code to be processed. An executable image generation module is used to compile and build the source code to be processed and its dependent software packages in the deployment and compilation environment, and generate an executable image associated with the source code to be processed; The current task image generation module is used to generate a container generation script based on the executable image, and execute the container generation script to obtain the current task image corresponding to the source code to be processed. The current task image upload module is used to verify the identity of the sender of the source code to be processed, and upload the current task image to a preset private image repository when the identity verification of the sender of the source code to be processed is successful.
12. The business processing apparatus according to claim 9, wherein, The business processing device further includes: The task viewing request verification module is used to receive a task viewing request sent by the first user client during the execution of the container task image, and to verify the task viewing request based on the verification-based access Webhook. The data viewing instruction execution module is used to generate a data viewing instruction corresponding to the task viewing request after confirming that the task viewing request has been verified, and to execute the data viewing instruction to obtain the log data generated by the container task image during the execution process and the current task execution status. The log data feedback module is used to feed back the log data and the current task execution status to the first user terminal, so that the log data and the current task execution status can be displayed on the first user terminal.
13. The business processing apparatus according to claim 9, wherein, Decrypting the business processing request yields the pending business included in the request, including: Based on the first terminal identifier of the first user terminal, obtain the first key required to decrypt the service processing request; The service processing request is decrypted using the first key to obtain the pending service included in the service processing request.
14. The business processing apparatus according to claim 13, wherein, The business processing device further includes: The first key generation module is used to receive a first random number sent by the first user terminal and generate a first key based on the first random number; The first key storage module is used to associate and store the first key and the first terminal identifier of the first user terminal, and send the first key to the first user terminal so that the first user terminal can encrypt the business processing request according to the first key.
15. The business processing apparatus according to claim 14, wherein, Receive the first random number sent by the first user terminal, including: Receive the first client certificate and the first client public key sent by the first user terminal, and send the server certificate and the server public key to the first user terminal; Send the first client certificate and the first client public key to the certificate authority, and accept the first verification result obtained by the certificate authority after verifying the legality of the first client certificate and the first client public key; When the first verification result indicates that both the first client certificate and the first client public key are valid, a first random number sent by the first client is received; wherein the first random number is sent when the first client confirms that both the server certificate and the server public key are valid.
16. The business processing apparatus according to claim 15, wherein, Generate a first key based on the first random number, including: Obtain the server private key corresponding to the server public key, and use the server private key to decrypt the first random number; Generate the first key based on the first random number obtained after decryption.
17. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the business processing method according to any one of claims 1-8.
18. An electronic device comprising: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the business processing method according to any one of claims 1-8 by executing the executable instructions.
Citation Information
Patent Citations
Service processing method and device
CN111241540A
