Sandbox automated construction methods, systems, computer equipment, and readable storage media

By using an automated sandbox construction method and system, a target sandbox environment is generated and industrial data is synchronized, solving the problems of resource contention and access control in big data analysis on industrial internet platforms, and enabling rapid deployment and personalized industrial big data analysis and application development.

CN114282210BActive Publication Date: 2025-10-28ROOTCLOUD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111671854.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2025-10-28
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

In existing technologies, the analysis of industrial big data on industrial internet platforms faces problems such as resource contention affecting online business performance and complex data access control. Enterprises need to spend a lot of time on environment preparation and platform construction, while historically accumulated big data is not fully utilized.

Method used

This paper provides a method and system for automatically building sandboxes. By receiving sandbox building requests from user terminals of an industrial internet platform, it generates a target sandbox environment building scheme, synchronizes industrial data, provides virtual interfaces, supports preset service cycles, and meets the personalized needs of industrial big data analysis and application development.

Benefits of technology

It enables the customization of sandbox services, meets the requirements for rapid deployment of industrial applications, reduces the impact on online business, improves data usage efficiency and access control, and supports rapid analysis and application development of industrial big data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114282210B_ABST
    Figure CN114282210B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a sandbox automatic construction method, system, computer device and readable storage medium, which are applied to a sandbox automatic construction system, wherein the sandbox automatic construction system is used to communicate data with an industrial Internet platform. The method includes: receiving a sandbox construction application sent by a target object, wherein the target object is a user terminal of the industrial Internet platform, and the sandbox construction application includes a demand data set; generating a target sandbox environment construction plan based on the demand data set; synchronizing the target industrial data of the industrial Internet platform based on the sandbox environment construction plan; building a target sandbox environment according to preset rules, the sandbox environment construction plan and the synchronized industrial data; and providing the target object with a virtual interface of the target sandbox environment with a preset service cycle. The sandbox automatic construction method of the present application can realize the customizability of sandbox services and meet the requirements for the rapid implementation of industrial applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial internet, and in particular to a method, system, computer device, and readable storage medium for automatically building sandboxes. Background Technology

[0002] As a new infrastructure initiative, the Industrial Internet has seen a large number of devices connected to its platforms via IoT technology, leading to initial industrial applications such as IoT-enabled displays. However, the vast amount of industrial big data accumulated over a long period remains largely untapped. Enterprises possessing this industrial big data need to focus their time and energy on core aspects such as business process analysis and industrial data analytics model development, rather than spending excessive time on environment preparation, data preparation, platform construction, and platform maintenance. Issues involving historical data, in particular, require the involvement of the Industrial Internet platform provider for resolution.

[0003] For existing industrial big data environments, conducting industrial big data analysis directly on the existing environment presents challenges such as resource contention affecting online business performance and complex data access control. Summary of the Invention

[0004] To address the aforementioned technical problems, this application provides a method, system, computer device, and readable storage medium for automatically building a sandbox, as detailed below:

[0005] In a first aspect, embodiments of this application provide a method for automatically building a sandbox, applied to an automatic sandbox building system, wherein the automatic sandbox building system is used for data communication with an industrial internet platform, and the method includes:

[0006] Receive a sandbox construction request sent by a target object, wherein the target object is a user terminal of an industrial internet platform, and the sandbox construction request includes a requirement dataset;

[0007] Generate a target sandbox environment setup plan based on the aforementioned requirement dataset;

[0008] Based on the target sandbox environment construction scheme, the target industrial data of the industrial internet platform is synchronized.

[0009] The target sandbox environment is built according to the preset rules, the sandbox environment construction scheme, and the synchronized industrial data;

[0010] Provide the target object with a virtual interface of the target sandbox environment for a preset service period.

[0011] According to a specific embodiment of this application, the sandbox construction application further includes the identity information of the target object, and the step of receiving the sandbox construction application sent by the target object includes:

[0012] Verify whether the target object's identity information is that of an authorized user terminal of the industrial internet platform;

[0013] If the target object is an authorized user terminal of the industrial internet platform, then proceed to the step of generating a sandbox environment setup solution based on the requirement dataset;

[0014] If the target object is not an authorized user terminal of the industrial internet platform, the automatic sandbox construction process will end.

[0015] According to a specific embodiment of this application, the step of generating a target sandbox environment construction scheme based on the demand dataset includes:

[0016] Determine whether the requirement dataset in the sandbox construction application includes all associated data related to the target sandbox environment construction scheme;

[0017] If all associated data related to the target sandbox environment construction scheme are included, then the target sandbox environment construction scheme is generated based on all data in the requirement dataset;

[0018] If all associated data related to the target sandbox environment construction scheme is not included, the step of obtaining the requirement dataset in the sandbox construction application is repeated, and after each new requirement dataset is obtained, it is determined whether it includes all associated data related to the target sandbox environment construction scheme, until the requirement dataset includes all associated data related to the target sandbox environment construction scheme.

[0019] According to a specific embodiment of this application, the step of generating a target sandbox environment construction scheme based on the demand dataset further includes:

[0020] A preliminary sandbox environment setup plan is generated based on the required dataset, and the preliminary sandbox environment setup plan is displayed to the target object through the display module.

[0021] Receive the list of custom requirements fed back by the target object based on the preliminary sandbox environment construction plan;

[0022] Based on the custom requirements list and the preliminary sandbox environment setup plan, a target sandbox environment setup plan is generated to perform the data synchronization steps.

[0023] According to a specific embodiment of this application, the step of synchronizing the target industrial data of the industrial internet platform based on the target sandbox environment construction scheme includes:

[0024] The target industrial data is determined based on the target sandbox environment construction plan.

[0025] The target industrial data is backed up from the industrial internet platform according to a preset synchronization cycle and synchronization time, wherein the preset synchronization cycle is longer than the data update cycle of the industrial internet platform, and the preset synchronization time is later than the data update time of the industrial internet platform.

[0026] According to a specific embodiment of this application, the step of synchronizing the target industrial data of the industrial internet platform based on the target sandbox environment construction scheme further includes:

[0027] Monitor industrial data associated with the target industrial data in the industrial internet platform;

[0028] The updated industrial data is backed up according to the preset synchronization cycle and synchronization time.

[0029] According to a specific embodiment of this application, after the step of providing the target sandbox environment's virtual interface with a preset service period to the target object, the method further includes:

[0030] If the target sandbox environment meets the termination conditions, stop providing the virtual interface of the target sandbox environment to the target object and release the resources in the target sandbox environment;

[0031] The termination conditions include receiving a termination command from the user or completing the preset service cycle.

[0032] Secondly, embodiments of this application provide an automated sandbox construction system for data communication with an industrial internet platform, the system comprising:

[0033] The service management module is used to receive sandbox construction requests sent by the target object, wherein the target object is a user terminal of the industrial internet platform, and the sandbox construction request includes a requirement dataset.

[0034] The environment setup module is used to generate a target sandbox environment setup scheme based on the required dataset.

[0035] The data maintenance module is used to synchronize the target industrial data of the industrial internet platform based on the target sandbox environment construction scheme.

[0036] The environment building module is also used to build the target sandbox environment according to preset rules, the target sandbox environment building scheme, and synchronized industrial data;

[0037] The service management module is used to provide the target object with a virtual interface of the target sandbox environment for a preset service period.

[0038] Thirdly, embodiments of this application provide a computer device, including a processor and a memory, wherein the memory stores a computer program, and the computer program executes the sandbox automatic construction method described in the first aspect when it is run on the processor.

[0039] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which executes the sandbox automatic construction method described in the first aspect when run on a processor.

[0040] This application provides a method, system, computer device, and readable storage medium for automatic sandbox construction, applied to an automatic sandbox construction system for data communication with an industrial internet platform. The method includes: receiving a sandbox construction request from a target object, wherein the target object is a user terminal of the industrial internet platform, and the sandbox construction request includes a requirement dataset; generating a target sandbox environment construction scheme based on the requirement dataset; synchronizing target industrial data of the industrial internet platform based on the sandbox environment construction scheme; constructing the target sandbox environment according to preset rules, the sandbox environment construction scheme, and the synchronized industrial data; and providing the target object with a virtual interface of the target sandbox environment for a preset service period. The automatic sandbox construction method of this application enables customizable sandbox services and meets the requirements for rapid deployment in industrial applications. Attached Figure Description

[0041] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope of protection of the present invention. In the various drawings, similar components are numbered similarly.

[0042] Figure 1 This illustration shows a flowchart of an automatic sandbox construction method provided in an embodiment of this application.

[0043] Figure 2 This illustration shows a schematic diagram of the structure of a sandbox basic environment constructed by an automatic sandbox construction method provided in an embodiment of this application;

[0044] Figure 3 This paper shows a schematic diagram of the system structure of an automatic sandbox construction system provided in an embodiment of this application;

[0045] Figure 4 This illustration shows a functional module diagram of a target sandbox environment constructed by an automatic sandbox construction method provided in an embodiment of this application. Detailed Implementation

[0046] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0047] The components of the embodiments of the invention described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0048] In the following, the terms “comprising,” “having,” and their cognates, which may be used in various embodiments of the invention, are intended only to indicate a particular feature, number, step, operation, element, component, or combination thereof, and should not be construed as excluding, firstly, the presence of one or more other features, numbers, steps, operations, elements, components, or combinations thereof, or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations thereof.

[0049] Furthermore, the terms "first," "second," and "third" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.

[0050] Unless otherwise specified, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of the invention pertain. Terms (such as those defined in commonly used dictionaries) shall be interpreted as having the same meaning as in their contextual meaning in the relevant technical field and shall not be interpreted as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of the invention.

[0051] Many cloud service providers have launched cloud sandbox experimental environment products. However, these products cannot adequately meet the needs of current scenarios. Industrial big data sandboxes need to simultaneously meet the requirements of storage, analysis, and application verification. Among these, there are many personalized requirements. In particular, to meet the needs of rapid deployment of industrial applications, it is necessary to coordinate with existing industrial internet platforms. The sandbox service should be customized by combining the architecture of existing industrial internet platforms with the personalized needs of users for industrial big data analysis and application development. This paper proposes an automatic construction method and system for industrial big data analysis and application development sandboxes.

[0052] refer to Figure 1This application provides an automatic sandbox construction method, system, computer device, and readable storage medium. The automatic sandbox construction method provided in this application is applied to an automatic sandbox construction system, which is used for data communication with an industrial internet platform. Figure 1 As shown, the automatic sandbox construction method includes:

[0053] Step S101: Receive a sandbox construction request sent by the target object, wherein the target object is a user terminal of the industrial internet platform, and the sandbox construction request includes a requirement dataset;

[0054] In a specific embodiment, the industrial internet platform can be any type of data sharing platform in the prior art, and multiple user terminals can manage industrial big data by joining the industrial internet platform.

[0055] Users can initiate a construction application for an industrial big data analysis and application R&D sandbox on the industrial internet platform through their user terminals. The construction application includes the user terminal's identity data and requirement dataset.

[0056] Users submit their desired industrial big data service type on the industrial internet platform, such as requiring analysis and application development of industrial big data. The industrial internet platform automatically displays datasets that match the user's current access permissions. The user selects the corresponding dataset, and the platform automatically generates a required dataset including the user's selected dataset. This dataset comprises a collection of data with clearly defined metadata, data storage media, data query and usage permissions, data declaration periods (start and end times), and data volume, such as a device's historical IoT dataset and the device's basic dataset.

[0057] The process of obtaining the required dataset by the aforementioned industrial internet platform is completed at the data platform of the industrial internet platform. The backend of the sandbox automatic construction system needs to submit a data extraction work order to the data platform, specifying the data range, dataset synchronization mechanism, and data synchronization target address. After receiving the work order, the data platform completes the processing and provides the processing process and analysis report.

[0058] It should be noted that the generation of the required dataset can also be completed in the sandbox automatic construction system, and no specific limitation is made here.

[0059] According to a specific embodiment of this application, the sandbox construction application further includes the identity information of the target object, and the step of receiving the sandbox construction application sent by the target object includes:

[0060] Verify whether the target object's identity information is that of an authorized user terminal of the industrial internet platform;

[0061] If the target object is an authorized user terminal of the industrial internet platform, then proceed to the step of generating a sandbox environment setup solution based on the requirement dataset;

[0062] If the target object is not an authorized user terminal of the industrial internet platform, the automatic sandbox construction process will end.

[0063] In a specific embodiment, after receiving the sandbox construction application sent by the target object, the sandbox automatic construction system will automatically detect the identity information of the target object and determine whether the identity information of the target object is an authorized user terminal of the industrial internet platform.

[0064] If the target object is not an authorized user terminal of the Industrial Internet Platform, the sandbox automatic construction system cannot directly obtain the industrial big data of the target object from the Industrial Internet Platform. In this case, the sandbox automatic construction system directly terminates the current sandbox automatic construction process. The unauthorized user terminal needs to confirm the industrial big data, log in to the Industrial Internet Platform, and obtain authorization from the Industrial Internet Platform before it can re-accept the user terminal's sandbox construction request.

[0065] If the target object is a user terminal authorized by the industrial internet platform, then the subsequent automatic sandbox construction process will continue.

[0066] It should be noted that after determining that the target object is an authorized user terminal of the industrial internet platform, the sandbox automatic construction system will further determine the authorization permissions of the target object. The authorization permissions of the target object are divided into administrator permissions and ordinary permissions. User terminals with administrator permissions can use more sandbox services. The specific sandbox services that user terminals with administrator permissions and user terminals with ordinary permissions can use are different, and can be adaptively changed according to the specific situation in the actual application process. This is not limited here.

[0067] Step S102: Generate a target sandbox environment construction plan based on the required dataset;

[0068] In a specific embodiment, the automatic sandbox construction system can automatically generate a target sandbox environment construction plan based on the target object's requirement dataset obtained from the industrial internet platform.

[0069] Once a user submits a valid industrial big data request, the system will formulate a preliminary sandbox infrastructure setup plan based on the overall situation of the request dataset. This plan includes a list of server resources for the Infrastructure as a Service (IaaS) layer of the cloud environment, a list of Platform as a Service (PaaS) layer components or tools required for cloud development, and a list of Software as a Service (SaaS) layer services that the user has subscribed to.

[0070] After receiving the sandbox basic environment setup plan, users can adjust the requirement data in the various requirement datasets according to their own needs, such as adding, modifying or deleting the tool deployment list of certain functional items.

[0071] According to a specific embodiment of this application, the step of generating a target sandbox environment construction scheme based on the demand dataset includes:

[0072] Determine whether the requirement dataset in the sandbox construction application includes all associated data related to the target sandbox environment construction scheme;

[0073] If all associated data related to the target sandbox environment construction scheme are included, then the sandbox environment construction scheme is generated based on all data in the requirement dataset;

[0074] If all associated data related to the target sandbox environment construction scheme is not included, the step of obtaining the requirement dataset in the sandbox construction application is repeated, and after each new requirement dataset is obtained, it is determined whether it includes all associated data related to the target sandbox environment construction scheme, until the requirement dataset includes all associated data related to the target sandbox environment construction scheme.

[0075] In a specific embodiment, during the process of constructing the target sandbox environment setup scheme, it is necessary to judge the demand dataset sent by the user terminal through the industrial internet platform. If the data in the demand dataset also includes dependent or related datasets that have not been selected, the automatic sandbox construction system will return the sandbox construction application to the user terminal.

[0076] User terminals can view the dependent or related datasets included in the unselected requirement dataset on the industrial internet platform, and reselect and submit a new requirement dataset to the sandbox automatic construction system based on the unselected dataset, so that the sandbox automatic construction system can build a target sandbox environment setup scheme based on the new requirement dataset.

[0077] According to a specific embodiment of this application, the step of generating a target sandbox environment construction scheme based on the demand dataset further includes:

[0078] A preliminary sandbox environment setup plan is generated based on the required dataset, and the preliminary sandbox environment setup plan is displayed to the target object through the display module.

[0079] Receive the list of custom requirements fed back by the target object based on the preliminary sandbox environment construction plan;

[0080] Based on the custom requirements list and the preliminary sandbox environment setup plan, a target sandbox environment setup plan is generated to perform the data synchronization steps.

[0081] Furthermore, in a specific embodiment, the sandbox building system also includes a display module. During the generation of the sandbox environment building scheme, the automatic sandbox building system will display the generation process of the sandbox environment building scheme to the target object in real time through the display module.

[0082] Users can modify and adjust the requirement list according to the real-time progress of the sandbox environment construction plan, so that the sandbox construction system can update the initial sandbox environment construction plan based on the customized requirement list. This fully ensures that the target sandbox environment construction plan meets the user's needs for industrial big data analysis and application development.

[0083] Step S103: Synchronize the target industrial data of the industrial internet platform based on the target sandbox environment construction scheme;

[0084] In a specific embodiment, during the process of obtaining the target sandbox construction scheme, the sandbox automatic construction system will also automatically generate a synchronization scheme for the required industrial big data. The synchronization scheme includes synchronization data such as dataset mirroring scheme, data synchronization cycle, and synchronization time.

[0085] The dataset mirroring scheme stores a copy of the same data as the required industrial big data dataset in a new sandbox environment, following the storage method of the original platform environment; the synchronization cycle refers to synchronizing incremental data at a certain periodic time to ensure that the sandbox data is consistent with the data in the industrial internet platform environment; and the synchronization time refers to determining the time point at which the synchronization operation is executed.

[0086] The data synchronization scheme includes existing data synchronization and incremental data synchronization. Existing data synchronization is a one-time operation, while incremental data synchronization is performed through the synchronization and monitoring mechanisms of the sandbox automatic construction system.

[0087] The existing data refers to a large amount of industrial big data accumulated over time, while the incremental data refers to newly added data that the industrial internet platform continuously updates based on the existing data.

[0088] To facilitate the analysis of industrial big data, the industrial data processed in the sandbox environment needs to be structured data. During the data storage process of the industrial internet platform, unstructured data is often converted into structured data through the platform's data middleware.

[0089] Structured dataset storage is categorized into three types: local file storage, distributed file storage, and relational database storage. To ensure data integrity after synchronization, data synchronization is generally performed through file backup. Data file backup and transfer can be achieved using file server-like middleware. Considering the network isolation of sandbox environments, distributed files can be converted to local files before backup. Database table synchronization can be achieved using various existing database synchronization tools.

[0090] According to a specific embodiment of this application, the step of synchronizing the target industrial data of the industrial internet platform based on the target sandbox environment construction scheme includes:

[0091] The target industrial data is determined based on the target sandbox environment construction plan.

[0092] The target industrial data is backed up from the industrial internet platform according to a preset synchronization cycle and synchronization time, wherein the preset synchronization cycle is longer than the data update cycle of the industrial internet platform, and the preset synchronization time is later than the data update time of the industrial internet platform.

[0093] In a specific embodiment, after obtaining the target sandbox environment construction scheme, the target industrial data to be used can be determined according to the requirements for constructing the target sandbox environment. The automatic sandbox construction system completes the synchronization of the target industrial data by constructing a preset data synchronization mechanism.

[0094] During the data synchronization process, the automatic sandbox construction system needs to ensure that the preset synchronization period is longer than the update period of the industrial internet platform. This ensures that when the automatic sandbox construction system synchronizes industrial data from the industrial internet platform to the new sandbox environment, it is synchronizing industrial data that has already been updated on the industrial internet platform.

[0095] It is also necessary to ensure that the preset synchronization time is later than the data update time of the industrial internet platform, so that the industrial internet platform does not update its data simultaneously during the synchronization process of the sandbox automatic construction system, thus ensuring the integrity and timeliness of data synchronization.

[0096] According to a specific embodiment of this application, the step of synchronizing the target industrial data of the industrial internet platform based on the target sandbox environment construction scheme further includes:

[0097] Monitor industrial data associated with the target industrial data in the industrial internet platform;

[0098] The updated industrial data is backed up according to the preset synchronization cycle and synchronization time.

[0099] In a specific embodiment, after synchronizing the existing data in the industrial internet platform, the sandbox automatic construction system also needs to synchronize the incremental data in the industrial internet platform through a monitoring mechanism.

[0100] The sandbox automatic construction system monitors industrial data associated with the target industrial data in the industrial internet platform in real time through a monitoring module, and backs up incremental data of the target industrial internet according to preset synchronization cycles and synchronization time rules to ensure that the data in the sandbox base environment can be synchronized with the industrial data in the industrial internet platform.

[0101] Step S104: Build the target sandbox environment according to the preset rules, the target sandbox environment construction scheme, and the synchronized industrial data;

[0102] In a specific embodiment, after the sandbox automatic construction system generates a target sandbox environment construction plan based on the target object's sandbox construction application and completes the industrial data synchronization of the industrial internet platform, it automatically generates a sandbox service confirmation message. This message includes sandbox usage rules, payment fees, and the sandbox service period. The target sandbox environment includes the basic sandbox environment and the synchronized data environment.

[0103] The automatic sandbox building system sends the sandbox service confirmation information to the user terminal. After the user responds with a confirmation command based on the sandbox service confirmation information, the automatic sandbox building system begins to build the target sandbox environment according to the target sandbox environment construction plan and synchronized industrial data.

[0104] Specifically, the user can confirm the command by clicking the "One-Click Deployment" button displayed on the user's terminal. The user's terminal will then send a deployment command to the sandbox automatic construction system, which will then begin building the target sandbox environment based on the deployment command.

[0105] like Figure 2 As shown, the sandbox basic environment can be deployed with one click. The continuous advancement of cloud technology has made it increasingly convenient to build a complex industrial big data analysis basic environment. Infrastructure such as cloud hosts, cloud databases, and cloud load balancers are built using IaaS services provided by cloud vendors. Then, on the basis of IaaS, platform tools such as DevOps, object storage, and cloud laptops are deployed through cloud container services. Other subscribed SaaS services can then be called through web pages. The IaaS and PaaS can call the cloud product APIs provided by mainstream cloud vendors at home and abroad through automated scripts to realize the automatic calling, rapid deployment, and implementation management functions of the sandbox automatic building system.

[0106] If the user does not provide a confirmation instruction based on the sandbox service confirmation information within the preset time, the sandbox automatic construction system will automatically end the sandbox environment construction process.

[0107] Step S105: Provide the target object with a virtual interface of the target sandbox environment for a preset service period.

[0108] In a specific embodiment, after the sandbox automatic construction system automatically completes the construction of the target sandbox environment in the background, it sends a virtual interface of the target sandbox environment to the target object. The information that the virtual interface of the target sandbox environment can transmit includes the target sandbox environment deployment document and the access deployment service list, wherein the access deployment service list includes information such as the access Uniform Resource Locator (URL) and the access administrator account.

[0109] After receiving the virtual interface of the target sandbox environment on the user terminal, the user can carry out various industrial big data analysis and application development work in the sandbox system.

[0110] According to a specific embodiment of this application, after the step of providing the target sandbox environment's virtual interface with a preset service period to the target object, the method further includes:

[0111] If the target sandbox environment meets the termination conditions, stop providing the virtual interface of the target sandbox environment to the target object and release the resources in the target sandbox environment;

[0112] The termination conditions include receiving a termination command from the user or completing the preset service cycle.

[0113] In a specific embodiment, the constructed target sandbox environment has a certain service period. When the target sandbox environment completes the preset service period, a service expiration reminder will be sent to the user terminal.

[0114] After receiving the service expiration reminder, the user can choose to renew the sandbox service. The automatic sandbox building system will extend the service period of the target sandbox environment based on the sandbox service renewal information.

[0115] If the user does not choose to renew the sandbox service, the automatic sandbox building system will automatically terminate the sandbox service at the end of the service cycle and release the resources occupied in the target sandbox environment. The sandbox underlying IaaS will be deregistered. The resources occupied in the target sandbox environment include storage resources and computing resources.

[0116] It should be noted that the industrial internet platform can also reclaim the industrial data resources in the sandbox when the target sandbox environment completes its service cycle.

[0117] In addition, if a user wants to terminate the sandbox service early within the service period, they can submit a termination application to the automatic sandbox building system through the industrial internet platform. The automatic sandbox building system will terminate the sandbox service early based on the termination application and release the resources occupied in the target sandbox environment.

[0118] The sandbox automatic construction method provided in this application is not limited by specific cloud platform products and has better compatibility, thus better meeting the diverse environmental needs of industrial big data analysis. It allows for flexible scaling up and down of storage and computing resources as needed. This enables users conducting industrial big data analysis to avoid excessive concern about the complexities of setting up industrial big data analysis environments, while quickly and comprehensively understanding the existing data landscape of industrial big data and learning and mastering relevant industrial big data technologies.

[0119] refer to Figure 3 This application provides an embodiment of an automated sandbox construction system for data communication with an industrial internet platform, such as... Figure 3 As shown, the sandbox automatic construction system includes:

[0120] The service management module is used to receive sandbox construction requests sent by the target object, wherein the target object is a user terminal of the industrial internet platform, and the sandbox construction request includes a requirement dataset.

[0121] The environment setup module is used to generate a target sandbox environment setup scheme based on the required dataset.

[0122] The data maintenance module is used to synchronize the target industrial data of the industrial internet platform based on the sandbox environment construction scheme.

[0123] The environment building module is also used to build a target sandbox environment according to preset rules, the sandbox environment building scheme, and synchronized industrial data.

[0124] The service management module is also used to provide the target object with a virtual interface of the target sandbox environment for a preset service period.

[0125] More specifically, the service management module is used to receive sandbox service creation applications from the front end, save the generated sandbox service confirmation information, manage the validity period of sandbox services, manage the renewal of sandbox services, and manage the termination of sandbox services, etc.

[0126] The access control module is used to connect to the unified identity authentication function module of the industrial internet platform, obtain tenant information of the industrial internet platform and the list of datasets authorized by the tenant, and manage the target sandbox environment network environment and related tools or service accounts.

[0127] The environment setup module is used to automatically deploy the sandbox basic environment by leveraging the DevOps capabilities of the industrial internet platform after the user submits a personalized sandbox basic environment setup plan.

[0128] The data maintenance module is used to connect to the data middle platform of the industrial internet platform, synchronize the industrial big data required by users to the sandbox environment, form a mirror of the required dataset, and use scheduling tools to realize the synchronization of incremental data.

[0129] The monitoring and auditing module is used to monitor basic operational indicators and various usage records of the target sandbox environment, as well as data synchronization. All relevant monitoring data are displayed in intuitive reports on the front end.

[0130] like Figure 4 As shown, based on the positioning of the access control and monitoring auditing modules, this sandbox automatic construction system also provides users with sub-functions of sandbox services such as account management, asset management, application management, access control, connection management, log auditing, configuration management, monitoring reports, and value-added services. After setting up the target sandbox environment, users can log in to the sandbox service management portal to enjoy these functions and services.

[0131] The user management module synchronizes the user permission system information of users who have been uploaded to the industrial internet platform. The sandbox administrator can create and maintain unique user groups and users under user groups in this sandbox environment, and view information such as user-authorized assets and authorized applications.

[0132] Asset management is divided into two main categories: basic environment assets and data assets. Basic environment assets mainly consist of a list of cloud IaaS resources in use and a list of related account permissions. Only sandbox administrators can create ordinary accounts for basic environment assets, which are then allocated to ordinary sandbox users. Data assets are lists of industrial big data datasets submitted by users and lists of intermediate datasets generated during users' industrial big data analysis and R&D processes. Sandbox administrators can also create new data assets and upload data files from user terminals to the basic environment assets in the sandbox environment for sharing with the team.

[0133] Application management involves database applications, cloud containers, cloud laptops, and cloud object storage; database applications support configuration management for connections to mainstream database applications in the industry; cloud containers support mainstream container management technologies in the industry, such as Kubernetes; cloud laptops come from two sources: one is cloud laptop cloud products customized by users from cloud vendors, and the other is laptops such as Jupyter Notebook that users require to be installed in a sandbox environment; cloud object storage displays the required industrial big data dataset catalog and its details stored on cloud object storage.

[0134] Access control includes the management of two main categories of authorization information: asset authorization and application authorization. Basic environment authorization within asset authorization is assigned by the sandbox administrator to the basic environment accounts created by sandbox users. Data asset authorization within asset authorization allows the sandbox administrator to add, modify, and delete the sandbox account's access permissions to data assets.

[0135] Connection management helps users manage historical and online connections, web terminals, FTP usage, data synchronization subtasks, cloud notebook connections, etc. Selecting a historical time interval allows you to query historical connection records. Web terminals refer to the web-based connection tools used to access infrastructure resources. If FTP, data synchronization, cloud notebooks, etc., have been used, there will be corresponding records available for querying.

[0136] Log auditing users can select historical time periods to query log content including login logs, FTP logs, operation logs, administrator account password change logs, and user-defined logs. Among them, user-defined logs are monitoring program logs that users add themselves in the sandbox system and add log display items through configuration management, which makes it convenient for users to view the logs of the sandbox system in a unified and categorized manner.

[0137] Configuration management refers to system-level information configuration items in the sandbox system, including but not limited to email settings, LDAP settings, terminal settings, security settings, custom log settings, and monitoring report configurations. Only administrators have configuration permissions.

[0138] Monitoring reports are the visual display of the monitoring report configuration items in configuration management. They are displayed in the form of a dashboard. The basic information display items include: total number of users, total number of basic assets, total number of data assets, total number of applications, number of online users, number of online connections, list of failed data synchronization subtasks, top 10 active users, etc. The others are key indicator data reports that users add themselves to display.

[0139] Value-added services refer to application scenarios for comprehensive monitoring and intelligent data analysis and prediction of data during the use of the sandbox system. These services are only provided if the user makes special customizations when creating the sandbox, such as sandbox storage and computing cluster expansion prediction, operation anomaly alarms, performance monitoring alarms, log NLP analysis, etc. These services require the user to agree to embed data points in the sandbox system and send them to the platform for AI model prediction.

[0140] All the above sandbox service management portal function modules are visible to the sandbox administrator account after logging in, while ordinary sandbox accounts cannot open the corresponding function interfaces that can only be viewed by the administrator.

[0141] In addition, this application embodiment can also provide a specific implementation process for users to use the sandbox automatic construction system. For example, if a user has a clear industrial big data analysis goal and the number of users using the sandbox for development work is small (no more than 3 people), and they expect to use IoT data of a certain type of equipment over a period of time to conduct equipment driving behavior analysis, and use artificial intelligence algorithms to model and predict the driving level of the equipment in the future, the sandbox environment in this scenario is built with the help of object storage and cloud laptop services provided by cloud vendors to realize the big data analysis and application development work of the required equipment. The size of the object storage space and the computing memory size of the cloud laptop can be estimated according to the size of the dataset to be analyzed. The data middleware of the analysis equipment that has been connected to the industrial Internet platform is responsible for preparing and saving the incremental data subset to the designated object storage directory. Users access the cloud laptop through the Internet, connect to the data in the object storage directory, and perform analysis, modeling, program development, exploration, and debugging. The monitoring and auditing module can display the status of the object storage directory data, the usage status of the cloud laptop, and the performance status of the cloud laptop. Finally, after the model is developed and the effect is verified, the sandbox service is terminated in advance to release the relevant resources.

[0142] Another user wanted to conduct industrial big data analysis and application development on IoT data exceeding TB from tens of thousands of devices over the past three years. The development team consisted of more than 10 members. Their industrial big data dataset requirements included metadata of the IoT devices, basic device data, and business data tables from other business systems. Based on the historical data and the data architecture of the industrial internet platform, the sandbox automatic construction system proposed in this application quickly generated a basic environment setup plan for the sandbox system. A high-configuration solution was chosen for computing power and storage. To meet their diverse exploration needs, multiple cloud hosts running Linux were requested from a cloud provider to build a high-availability (HA) cluster system for big data. Hadoop-related components, the Spark distributed computing framework, and the Kafka message queue (for transmitting real-time data streams) were installed. A Python programming language runtime environment and Jupyter were also configured on each node. Notebook facilitates flexible single-machine and distributed computing script development; considering the need for visual editing, a Windows cloud server was requested to install data analysis tools such as PyCharm that require a Windows environment; finally, the platform's business intelligence application was also used to develop self-service visual reports for data analysis result display and effect verification. During the use of this sandbox system, users also raised requests for new data and sandbox service renewal.

[0143] In addition, this application embodiment also provides a computer device, including a processor and a memory, wherein the memory stores a computer program, and the computer program executes the sandbox automatic construction method in the above embodiment when it is run on the processor.

[0144] This application also provides a computer-readable storage medium storing a computer program, which executes the sandbox automatic construction method described in the above embodiments when run on a processor.

[0145] In summary, this application provides a sandbox automatic construction method, system, computer equipment, and readable storage medium, which ensures the rapid deployment of industrial big data analysis and application implementation based on existing industrial big data links. Industrial applications developed in the sandbox environment can be quickly submitted to the production environment for deployment through simple operations such as modifying configurations and adding dependency packages. This minimizes the impact on the original industrial internet platform business while maximizing the support and guarantee for promoting the implementation of industrial big data research and development. The sandbox automatic construction method in this application is not limited by specific cloud platform products, has better compatibility, and can meet the diverse environmental usage needs of industrial big data analysis. In addition, the specific implementation methods of the sandbox automatic construction system, computer equipment, and computer-readable storage medium provided in this application can be referred to the specific implementation methods of the above method embodiments, which will not be repeated here.

[0146] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that, as an alternative implementation, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0147] In addition, the functional modules or units in the various embodiments of the present invention can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0148] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a smartphone, personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0149] The above description is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed by the present invention, which should be covered by the scope of protection of the present invention.

Claims

1. A method for automatically constructing a sandbox, characterized in that, The method, applied to an automated sandbox construction system for data communication with an industrial internet platform, includes: Receive a sandbox construction request sent by a target object, wherein the target object is a user terminal of an industrial internet platform, and the sandbox construction request includes a requirement dataset; Generate a target sandbox environment setup plan based on the aforementioned requirement dataset; Based on the target sandbox environment construction scheme, the target industrial data of the industrial internet platform is synchronized. The target sandbox environment is built according to the preset rules, the target sandbox environment construction scheme, and the synchronized industrial data; Provide the target object with a virtual interface of the target sandbox environment for a preset service period; The process of building the target sandbox environment according to preset rules, the target sandbox environment construction scheme, and synchronized industrial data includes: Generate sandbox service confirmation information, which includes sandbox usage rules, payment fees, and sandbox service period; The sandbox service confirmation information is sent to the user terminal; In response to the feedback confirmation command from the user terminal, the target sandbox environment is constructed according to the target sandbox environment construction plan and the synchronized industrial data.

2. The method according to claim 1, characterized in that, The sandbox construction request also includes the identity information of the target object, and the step of receiving the sandbox construction request sent by the target object includes: Verify whether the target object's identity information is that of an authorized user terminal of the industrial internet platform; If the target object is an authorized user terminal of the industrial internet platform, then proceed to the step of generating a sandbox environment setup solution based on the requirement dataset; If the target object is not an authorized user terminal of the industrial internet platform, the automatic sandbox construction process will end.

3. The method according to claim 1, characterized in that, The step of generating a target sandbox environment setup plan based on the required dataset includes: Determine whether the requirement dataset in the sandbox construction application includes all associated data related to the target sandbox environment construction scheme; If all associated data related to the target sandbox environment construction scheme are included, then the target sandbox environment construction scheme is generated based on all data in the requirement dataset; If all associated data related to the target sandbox environment construction scheme is not included, the step of obtaining the requirement dataset in the sandbox construction application is repeated, and after each new requirement dataset is obtained, it is determined whether it includes all associated data related to the target sandbox environment construction scheme, until the requirement dataset includes all associated data related to the target sandbox environment construction scheme.

4. The method according to claim 1, characterized in that, The step of generating a target sandbox environment setup plan based on the required dataset further includes: A preliminary sandbox environment setup plan is generated based on the required dataset, and the preliminary sandbox environment setup plan is displayed to the target object through the display module. Receive the list of custom requirements fed back by the target object based on the preliminary sandbox environment construction plan; Based on the custom requirements list and the preliminary sandbox environment setup plan, a target sandbox environment setup plan is generated to perform the data synchronization steps.

5. The method according to claim 1, characterized in that, The steps for synchronizing the target industrial data of the industrial internet platform based on the target sandbox environment construction scheme include: The target industrial data is determined based on the target sandbox environment construction plan. The target industrial data is backed up from the industrial internet platform according to a preset synchronization cycle and synchronization time, wherein the preset synchronization cycle is longer than the data update cycle of the industrial internet platform, and the preset synchronization time is later than the data update time of the industrial internet platform.

6. The method according to claim 5, characterized in that, The step of synchronizing the target industrial data of the industrial internet platform based on the target sandbox environment construction scheme further includes: Monitor industrial data associated with the target industrial data in the industrial internet platform; The updated industrial data is backed up according to the preset synchronization cycle and synchronization time.

7. The method according to claim 1, characterized in that, After the step of providing the target sandbox environment's virtual interface with a preset service period to the target object, the method further includes: If the target sandbox environment meets the termination conditions, stop providing the virtual interface of the target sandbox environment to the target object and release the resources in the target sandbox environment; The termination conditions include receiving a termination command from the user or completing the preset service cycle.

8. An automated sandbox construction system, characterized in that, The system, used for data communication with an industrial internet platform, includes: The service management module is used to receive sandbox construction requests sent by the target object, wherein the target object is a user terminal of the industrial internet platform, and the sandbox construction request includes a requirement dataset. The environment setup module is used to generate a target sandbox environment setup scheme based on the required dataset. The data maintenance module is used to synchronize the target industrial data of the industrial internet platform based on the target sandbox environment construction scheme. The environment building module is also used to build the target sandbox environment according to preset rules, the target sandbox environment building scheme, and synchronized industrial data; The service management module is used to provide the target object with a virtual interface of the target sandbox environment for a preset service period; The step of building the target sandbox environment according to preset rules, the target sandbox environment construction scheme, and synchronized industrial data includes: Generate sandbox service confirmation information, which includes sandbox usage rules, payment fees, and sandbox service period; The sandbox service confirmation information is sent to the user terminal; In response to the feedback confirmation command from the user terminal, the target sandbox environment is constructed according to the target sandbox environment construction plan and the synchronized industrial data.

9. A computer device, characterized in that, It includes a processor and a memory, the memory storing a computer program that, when run on the processor, executes the sandbox automatic construction method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a processor, executes the sandbox automatic construction method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Cloud platform architecture oriented to industrial field

    CN108123994A

  • Sandbox initialization method, graphical interface and related device

    CN113641988A