A big data integrated machine and its use method

By using a combination of virtual machines and Docker containers in big data teaching, the problem of complex and high-cost experimental environment settings is solved, a flexible and convenient big data teaching environment is achieved, and teaching costs and workload are reduced.

CN108958947BActive Publication Date: 2024-09-27BEIJING COMPUTING CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811083903.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-09-17
Publication Date
2024-09-27
Estimated Expiration
2038-09-17

AI Technical Summary

Technical Problem

In the existing big data teaching, the experimental environment is complex, costly and inflexible, making it difficult to provide a friendly, convenient, real and operable teaching environment.

Method used

Design an all-in-one big data machine that combines virtual machines and Docker containers. Through the high degree of unification of virtual machine management and Docker container management, it provides data sets and big data experiment templates to realize the teaching and practice of big data experiments.

Benefits of technology

It reduces the workload and cost of big data teaching, improves the flexibility of teaching and the friendliness of the practical environment, and provides a convenient, real and operable experimental environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108958947B
    Figure CN108958947B
Patent Text Reader

Abstract

The embodiment of the present invention provides a big data integrated machine and a method for using the same, wherein the big data integrated machine includes a data processing unit and a storage unit, the data processing unit is connected to the storage unit; a data set and a big data experiment template are stored in the storage unit, the data processing unit provides the data set to a learning terminal through a virtual machine, and the data processing unit provides the big data experiment template to the learning terminal through a Docker container in the virtual machine. The big data integrated machine and the method for using the same provided by the embodiment of the present invention, by designing a structure of a virtual machine + Docker container, realizes a high degree of unification of virtual machine management and Docker container management based on the big data integrated machine, provides a friendly, convenient, real and operable practice environment for big data teaching and training, reduces the workload of big data teaching, reduces teaching costs, and improves teaching flexibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of computer teaching technology, and in particular to a big data integrated machine and a method for using the same. Background Art

[0002] Since the beginning of the 21st century, information technology, especially the Internet, has quietly changed people's lifestyles, working methods and ways of thinking. In the future development of the IT industry, a series of directional applications such as e-commerce, e-government, and social networks are supported by massive big data. There is a huge gap in the demand for professional and technical talents related to databases.

[0003] At present, teaching and training activities of big data are very common, and the course content is rich and diverse. Data science and big data technology is a course with strong technical operability. Students are required not only to master theoretical knowledge, but also to be proficient in operation technology. However, in most teaching processes, there is a lack of convenient, fast, and friendly big data teaching experiments and experience environments, which cannot well cultivate students' hands-on ability.

[0004] There are currently three common methods for big data teaching: First, with the help of the shared resource pool of the university information center, professionals are arranged to install and deploy the environment required for the experiment in advance. However, the application procedures required for the use of resources by universities are complicated and time-consuming, and the shared platform resources are tight. In addition, the experimental environment required for the course needs to be deployed each time, which is a large workload. The second is to build a cluster mode experimental environment platform with multiple devices and arrange special personnel to be responsible for maintenance and management. However, purchasing multiple devices to build a special big data experimental platform is costly, inefficient, and has high maintenance and management costs. The third is to rent the experimental environment deployed by a third-party cloud service platform, but the experimental environment is relatively fixed and cannot be customized to meet the individual experience and experimental environment. In addition, the rental cost is high for large-scale and multiple teaching courses. Summary of the invention

[0005] The embodiment of the present invention provides a big data integrated machine and a method for using the same, so as to solve the problems of large workload, high cost and fixed experimental environment in existing big data teaching.

[0006] On the one hand, an embodiment of the present invention provides a big data integrated machine, including a data processing unit and a storage unit, wherein the data processing unit is connected to the storage unit;

[0007] The storage unit stores data sets and big data experiment templates. The data processing unit provides the data sets to the learning terminal through a virtual machine. The data processing unit provides the big data experiment template to the learning terminal through a Docker container in the virtual machine.

[0008] On the other hand, an embodiment of the present invention provides a method for using a big data integrated machine, including:

[0009] Start virtual machines and Docker containers in the data processing unit;

[0010] Get data sets based on virtual machines and big data experiment templates based on Docker containers;

[0011] Conduct big data experiments based on data sets and big data experiment templates.

[0012] In another aspect, an embodiment of the present invention provides a device for using a big data integrated machine, comprising:

[0013] A startup unit, used to start virtual machines and Docker containers in a data processing unit;

[0014] The acquisition unit is used to acquire data sets based on virtual machines and big data experiment templates based on Docker containers;

[0015] The experimental unit is used to conduct big data experiments based on data sets and big data experiment templates.

[0016] On the other hand, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory and a bus, wherein the processor, the communication interface and the memory communicate with each other through the bus, and the processor can call the logic instructions in the memory to execute the method for using the big data integrated machine as described above.

[0017] On yet another aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for using the big data integrated machine as described above.

[0018] The embodiment of the present invention provides a big data all-in-one machine and a method for using the same. By designing a virtual machine + Docker container structure, a high degree of unification of virtual machine management and Docker container management is achieved based on the big data all-in-one machine, providing a friendly, convenient, and truly operational practice environment for big data teaching and training, alleviating the workload of big data teaching, reducing teaching costs, and improving teaching flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 A schematic diagram of the structure of a big data integrated machine provided by an embodiment of the present invention;

[0021] Figure 2 A flowchart of a method for using a big data integrated machine provided by an embodiment of the present invention;

[0022] Figure 3 A flowchart of a method for using a big data integrated machine provided by another embodiment of the present invention;

[0023] Figure 4 A schematic diagram of the structure of a device for using a big data integrated machine provided by an embodiment of the present invention;

[0024] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] Figure 1 A schematic diagram of the structure of a big data integrated machine provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, a big data integrated machine includes a data processing unit and a storage unit, and the data processing unit is connected to the storage unit; the storage unit stores a data set and a big data experiment template, the data processing unit provides the data set to the learning terminal through a virtual machine, and the data processing unit provides the big data experiment template to the learning terminal through a Docker container in the virtual machine.

[0027] Specifically, the big data integrated machine includes a data processing unit and a storage unit. The storage unit is used to provide storage space for data sets and big data experiment templates, and the data processing unit is used to perform resource management and scheduling on the data sets and big data experiment templates stored in the storage unit. Here, the data set can be data from various fields, which is used to provide a data basis for big data experiments. The big data experiment template can be a template for various big data experiments, which provides references and tutorials for executing big data experiments, so as to facilitate the teaching of big data experiments.

[0028] A virtual machine is deployed in the data processing unit, a data set is mounted in the virtual machine, and a Docker container is installed in the virtual machine, and a big data experiment template is built in the Docker container. The learning terminal is connected to the big data all-in-one machine, and the data set and big data experiment template required by the learning terminal are obtained by accessing the Docker container in the virtual machine under the data processing unit of the big data all-in-one machine, and the big data all-in-one machine is instructed to perform calculations by sending instructions, and the big data experiment based on the above data set and big data experiment template is executed, so as to realize the teaching and practice of big data experiments.

[0029] It should be noted that in order to achieve IP isolation and facilitate multiple users (i.e. multiple learning terminals) to share the same big data integrated machine at the same time, each learning terminal corresponds to a virtual machine in the data processing unit of the big data integrated machine, and the virtual machines do not affect each other.

[0030] The big data all-in-one machine provided in the embodiment of the present invention, by setting up a virtual machine + Docker container structure, realizes a high degree of unification of virtual machine management and Docker container management based on the big data all-in-one machine, provides a friendly, convenient, and truly operational practice environment for big data teaching and training, reduces the workload of big data teaching, reduces teaching costs, and improves teaching flexibility.

[0031] Based on the above embodiment, the data set includes at least one of sensor data, text data, image data and geographic information data, and the field of the data set includes at least one of economic construction, transportation services, medical health and environmental protection. Specifically, the big data all-in-one machine can provide a variety of domestic and foreign public data sets, and the types and fields of the data sets are not specifically limited in the embodiments of the present invention. The data set can be expanded and updated at any time to optimize the big data experimental results.

[0032] Based on any of the above embodiments, the big data experiment template includes at least one of a Hadoop ecological environment experiment template, a development environment experiment template, a big data teaching experiment template, and a machine learning experiment template.

[0033] Specifically, Hadoop is a software platform for developing and running large-scale data processing. It is an open source software framework implemented in Java by Apache, which realizes distributed computing of massive data in a cluster composed of a large number of computers. The Hadoop ecological environment experiment template includes at least one of the Hadoop cluster construction and management experiment template, HDFS distributed file system experiment template, MapReduce computing framework experiment template and Spark environment compilation and deployment experiment template.

[0034] The development environment experiment template may be a development environment experiment template designed based on a certain programming language, such as a Java language experiment template, a Python language experiment template, and the like.

[0035] Big data teaching experiment templates refer to experiment templates that can provide big data teaching training courses, such as HBase database experiment template, Hive data warehouse experiment template, Pig database experiment template, and MangoDB database experiment template.

[0036] Machine learning experiment templates refer to experiment templates used to provide machine learning teaching practice courses, such as logistic regression experiment templates, support vector machine experiment templates, Bayesian experiment templates, and deep learning experiment templates.

[0037] Based on any of the above embodiments, the data processing unit includes a computing unit and a random access memory. Preferably, the computing unit is two Xeon E5-2600v4 series processors, and the random access memory is DDR4 2133 16G RECC.

[0038] Based on any of the above embodiments, a wired network port and / or a wireless network card are also included. Here, both the wired network port and the wireless network card can be used to connect to the learning terminal. Preferably, there are two wired network ports, both of which are 10 / 100 / 1000BASE-TX RJ45 ports, and the wireless network card is a 300M dual-band wireless PCI-E network card.

[0039] In order to better understand and apply the big data integrated machine proposed by the present invention, the present invention provides the following examples, and the present invention is not limited to the following examples.

[0040] The big data all-in-one machine is an independent hardware and software integrated device, including a data processing unit, a storage unit, a wired network port and a wireless network card. The data processing unit includes two Xeon E5-2600v4 series processors and a DDR4 213316G RECC memory. The storage unit contains two 3.5-inch serial hardware drive interface 4TB disks, two wired network ports, both 10 / 100 / 1000BASE-TX RJ45 ports, and a 300M dual-band wireless PCI-E network card. All of the above components are installed in the chassis, and the big data all-in-one machine is powered by a rated 500W power supply.

[0041] The storage unit stores data sets and big data experiment templates, where the data sets are a variety of publicly available data sets in disclaimer fields at home and abroad, including sensor data, text data, image data, geographic information data and other types, covering economic construction, transportation services, medical health, environmental protection and other fields, as the data basis for big data experiments. The big data experiment templates include experimental templates for the complete Hadoop ecological environment (HDFS+MapReduce+Spark), experimental templates for general development environments such as Java and Python, experimental templates for standardized big data training course content (Hbase, Hive, Pig, MangoDB), experimental templates for machine learning (logistic regression, support vector machine, Bayesian), and experimental templates for deep learning environment (TensorFlow). In addition, the big data experiment template also provides different machine learning methods and big data analysis methods in various fields in combination with the data set.

[0042] A virtual machine is deployed in the data processing unit, a data set is mounted in the virtual machine, and a Docker container is installed in the virtual machine, and a big data experiment template is built in the Docker container. The learning terminal is connected to the big data all-in-one machine, and the data set and big data experiment template required by the learning terminal are obtained by accessing the Docker container in the virtual machine under the data processing unit of the big data all-in-one machine, and the big data all-in-one machine is instructed to perform calculations by sending instructions, and the big data experiment based on the above data set and big data experiment template is executed, so as to realize the teaching and practice of big data experiments.

[0043] The big data all-in-one machine provided in this example, by setting up the structure of virtual machine + Docker container, realizes a high degree of unification of virtual machine management and Docker container management based on the big data all-in-one machine, providing a friendly, convenient, and truly operational practice environment for big data teaching and training, reducing the workload of big data teaching, reducing teaching costs, and improving teaching flexibility.

[0044] Based on any of the above embodiments, Figure 2 A flowchart of a method for using a big data integrated machine provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, a method for using a big data integrated machine includes:

[0045] 201, start the virtual machine and the Docker container in the data processing unit.

[0046] Specifically, the big data integrated machine includes a data processing unit and a storage unit. The storage unit is used to provide storage space for data sets and big data experiment templates. The data processing unit is used to perform resource management and scheduling on the data sets and big data experiment templates stored in the storage unit. Here, a virtual machine is deployed in the data processing unit, and a data set is mounted in the virtual machine. At the same time, a Docker container is installed in the virtual machine, and a big data experiment template is built in the Docker container. In order to obtain the data set and the big data experiment template, the virtual machine in the data processing unit and the Docker container arranged in the virtual machine are first started.

[0047] 202, obtain a data set based on a virtual machine and obtain a big data experiment template based on a Docker container.

[0048] 203, conduct big data experiments based on data sets and big data experiment templates.

[0049] It should be noted that in order to achieve IP isolation and facilitate multiple users to share the same big data all-in-one machine at the same time, each learning terminal corresponds to a virtual machine in the data processing unit of the big data all-in-one machine, and the virtual machines do not affect each other. That is, when the learning terminal uses the big data all-in-one machine, the main operation and control is the virtual machine corresponding to the learning terminal.

[0050] The method provided in the embodiment of the present invention obtains data sets and big data experiment templates based on the structure of virtual machines + Docker containers, and conducts big data experiments, thereby realizing friendly, convenient, authentic, and highly operable big data experiments, reducing teaching costs and improving teaching flexibility.

[0051] Based on any of the above embodiments, 201, starting a virtual machine and a Docker container in a data processing unit specifically includes:

[0052] 2011. If it is determined that the acquired device fingerprint information of the data processing unit is consistent with the virtual machine device fingerprint information in the license file pre-stored in the virtual machine, the virtual machine is started.

[0053] 2012. After the virtual machine is started, if it is determined that the device fingerprint information of the data processing unit is consistent with the container device fingerprint information in the pre-stored license file of the Docker container deployed in the virtual machine, the Docker container is started.

[0054] Specifically, in the process of starting the virtual machine and the Docker container in step 201, a data protection mechanism is added to prevent the big data integrated machine from running big data experiments without authorization. Starting the virtual machine is a necessary step to start the Docker container installed in the virtual machine. In step 2011, before starting the virtual machine, it is necessary to compare the device fingerprint information of the data processing unit with the virtual machine device fingerprint information stored in the license file in the virtual machine deployed by the data processing unit during the initial authorization. Here, the device fingerprint information of the data processing unit refers to the device feature or unique device identification used to uniquely identify the data processing unit. The virtual machine device fingerprint information is the device fingerprint information of the data processing unit authorized in the license file pre-stored in the virtual machine. Here, the device fingerprint information is preferably a MAC address. If the device fingerprint information of the data processing unit is consistent with the device fingerprint information of the virtual machine, it means that the data processing unit authorized in the license file pre-stored in the virtual machine is the current data processing unit, and running the big data experiment on the current data processing unit is authorized, so the virtual machine is started and the next step of authentication is performed.

[0055] In step 2012, after starting the virtual machine with the Docker container deployed, starting the Docker container is a necessary step for running the big data experiment. After completing the startup of the virtual machine and before starting the Docker container, it is necessary to compare the device fingerprint information of the data processing unit to see if it is consistent with the container device fingerprint information in the software license file stored in the Docker container when the software is installed in the Docker container of the virtual machine deployed by the data processing unit. Here, the container device fingerprint information is the device fingerprint information of the data processing unit authorized in the license file pre-stored in the Docker container. If the device fingerprint information of the data processing unit is consistent with the container device fingerprint information, it means that the data processing unit authorized in the license file pre-stored in the Docker container is the current data processing unit, and running the big data experiment on the current data processing unit is authorized, so the Docker container is started.

[0056] The method provided in the embodiment of the present invention authenticates the device fingerprint information before starting the virtual machine and the Docker container, respectively, to ensure that the big data experiment is legally run on an authorized big data integrated machine, thereby achieving effective copyright protection without any additional hardware and at a low cost.

[0057] Based on any of the above embodiments, 201, starting a virtual machine and a Docker container in a data processing unit, which also includes:

[0058] Obtain device fingerprint information of the data processing unit; install a Docker container on a virtual machine in the data processing unit, and write the device fingerprint information of the data processing unit into a license file of the virtual machine and a license file of the Docker container.

[0059] Specifically, when authorizing a Docker container installed in a virtual machine deployed in a data processing unit, it is necessary to write the device fingerprint information of the authorized data processing unit into the license file of the virtual machine, so that when the data protection mechanism is executed, the virtual machine device fingerprint information, that is, the device fingerprint information of the authorized data processing unit stored in the license file of the virtual machine, can be extracted from the license file of the virtual machine, and compared with the device fingerprint information of the current data processing unit to determine whether the current data processing unit is an authorized data processing unit. In addition, it is also necessary to write the device fingerprint information of the authorized data processing unit into the license file of the Docker container, so that when the data protection mechanism is executed, the container device fingerprint information, that is, the device fingerprint information of the authorized data processing unit stored in the license file of the Docker container, can be extracted from the license file of the Docker container, and compared with the device fingerprint information of the current data processing unit to determine whether the current data processing unit is an authorized data processing unit.

[0060] Based on any of the above embodiments, if it is determined that the device fingerprint information of the data processing unit is consistent with the virtual machine device fingerprint information in the license file pre-stored in the virtual machine, starting the virtual machine specifically includes:

[0061] 1) Encrypt the device fingerprint information of the data processing unit to obtain encrypted device fingerprint information.

[0062] Specifically, first obtain the device fingerprint information of the data processing unit. In order to facilitate the subsequent comparison with the virtual machine device fingerprint information, the device fingerprint information of the current data processing unit needs to be encrypted before the device fingerprint information authentication. The embodiment of the present invention does not specifically limit the encryption algorithm, and the encryption algorithm can be the md5 algorithm.

[0063] 2) Extract the virtual machine device fingerprint information from the license file pre-stored in the virtual machine, and encrypt the virtual machine device fingerprint information to obtain the encrypted virtual machine device fingerprint information. Here, the encrypted virtual machine device fingerprint information is the device fingerprint information of the authorized data processing unit encrypted in the license file pre-stored in the virtual machine. The encryption algorithm applied when encrypting the virtual machine device fingerprint information is consistent with the encryption algorithm applied when encrypting the device fingerprint information of the data processing unit.

[0064] 3) If the encrypted device fingerprint information is consistent with the encrypted virtual machine device fingerprint information, the virtual machine is started; otherwise, it enters a suspended state and issues an authentication failure message.

[0065] Specifically, two types of device fingerprint information encrypted by the same encryption algorithm (wherein the encrypted device fingerprint information is the device fingerprint information encrypted by the current data processing unit, and the encrypted virtual machine device fingerprint information is the device fingerprint information of the authorized data processing unit encrypted in the license file pre-stored in the virtual machine) are compared. If they are consistent, it means that the data processing unit authorized in the license file pre-stored in the virtual machine is the current data processing unit, and running big data experiments on the current data processing unit is authorized, so the virtual machine is started and the next step of authentication is performed; if they are inconsistent, it means that the data processing unit authorized in the license file pre-stored in the virtual machine is not the current data processing unit, and running big data experiments on the current data processing unit is illegal. Entering the suspended state means suspending the current operating system, stopping the startup of the virtual machine, and issuing an authentication failure message to prompt the operator that the current data processing unit is not authorized.

[0066] Based on any of the above embodiments, after the virtual machine is started, if it is determined that the device fingerprint information of the data processing unit is consistent with the container device fingerprint information in the license file pre-stored in the Docker container deployed in the virtual machine, the Docker container is started and the software in the Docker container is run, specifically including:

[0067] 1) After the virtual machine is started, the container device fingerprint information is extracted from the pre-stored license file of the Docker container deployed in the virtual machine, and the container device fingerprint information is encrypted to obtain the encrypted container device fingerprint information. Here, the encrypted container device fingerprint information is the device fingerprint information of the authorized data processing unit encrypted in the pre-stored license file of the Docker container.

[0068] 2) If the encrypted device fingerprint information is consistent with the encrypted container device fingerprint information, the Docker container is started; otherwise, the Docker container is stopped and an authentication failure message is issued.

[0069] Specifically, two types of device fingerprint information encrypted by the same encryption algorithm (wherein the encrypted device fingerprint information is the device fingerprint information encrypted by the current data processing unit, and the encrypted container device fingerprint information is the device fingerprint information of the authorized data processing unit encrypted in the license file pre-stored in Docker) are compared. If they are consistent, it means that the data processing unit authorized in the license file pre-stored in the Docker container is the current data processing unit, and running big data experiments on the current data processing unit is authorized, so the Docker container is started; if they are inconsistent, it means that the data processing unit authorized in the license file pre-stored in the Docker container is not the current data processing unit, and running big data experiments on the current data processing unit is illegal, so the Docker container is stopped and an authentication failure message is issued, prompting the operator that the current data processing unit is not authorized.

[0070] It should be noted that if the encryption algorithm used to encrypt the virtual machine device fingerprint information in the license file of the virtual machine and the encryption algorithm used to encrypt the container device fingerprint information in the license file of the Docker container are the same encryption algorithm.

[0071] In order to better understand and apply the method for using a big data integrated machine proposed by the present invention, the present invention provides the following examples, and the present invention is not limited to the following examples.

[0072] Figure 3 A flowchart of a method for using a big data integrated machine according to another embodiment of the present invention is shown in FIG. Figure 3 As shown, the usage is as follows:

[0073] STEP 1: Start the Linux operating system.

[0074] STEP 2: Initialize the environment. The initialization here includes initialization of DHCP services, storage devices, virtual machines (KVM) supporting applications, etc.

[0075] STEP 3: Obtain the device fingerprint information (MAC address in this case) of the data processing unit, and encrypt the device fingerprint information using the md5 algorithm to obtain the encrypted device fingerprint information.

[0076] STEP 4 Virtual Machine Authentication: Compare the encrypted device fingerprint information obtained in STEP 3 with the encrypted virtual machine device fingerprint information encrypted by the md5 algorithm in the license file stored locally on the virtual machine. If they are consistent, the virtual machine authentication is considered to have passed and the process goes to STEP 5. If they are inconsistent, the virtual machine authentication is considered to have failed and the process goes to STEP 11.

[0077] STEP 5 Start Daemon (master control program) and start the license daemon process according to the license file information. Daemon is used to manage and schedule the virtual machine resources and Docker container resources of the big data all-in-one machine, including IP isolation between virtual machines, virtual machine images, Docker container replication and transmission, and update of big data experiment templates and data sets.

[0078] STEP 6 Check the operating environment of big data related applications and start the virtual machine (KVM).

[0079] STEP 7 loads the image, loads the image of each container according to the configuration information, and obtains the assigned IP from the data processing unit;

[0080] STEP 8Docker container authentication: Compare the encrypted device fingerprint information obtained in STEP 3 with the encrypted container device fingerprint information encrypted by the md5 algorithm in the license file stored in the Docker container. If they are consistent, the Docker container authentication is considered to have passed and proceed to STEP 9. If they are inconsistent, the Docker container authentication is considered to have failed and proceed to STEP 12.

[0081] STEP 9: Start application services: Start applications for big data experiments, including HDFS, Hadoop, and MapReduce.

[0082] STEP 10: Establish an experimental cluster. Complete the process of establishing an experimental cluster and perform simple verification.

[0083] STEP 11The system hangs, locks the system, and pops up a message indicating that device authentication failed.

[0084] STEP 12: Stop the container, stop the container startup operation, and prompt that the startup of this type of container fails.

[0085] Based on any of the above method embodiments, Figure 4 A schematic diagram of a structure of a big data integrated machine using device provided by an embodiment of the present invention, such as Figure 4 As shown, a big data integrated machine using device includes a starting unit 401, an acquisition unit 402 and an experiment unit 403:

[0086] The startup unit 401 is used to start the virtual machine and Docker container in the data processing unit;

[0087] An acquisition unit 402 is used to acquire a data set based on a virtual machine and acquire a big data experiment template based on a Docker container;

[0088] The experiment unit 403 is used to perform a big data experiment based on the data set and the big data experiment template.

[0089] The device provided by the embodiment of the present invention obtains data sets and big data experiment templates based on the structure of virtual machines + Docker containers, and conducts big data experiments, thereby realizing friendly, convenient, authentic, and highly operable big data experiments, reducing teaching costs and improving teaching flexibility.

[0090] Based on any of the above embodiments, the startup unit 401 includes a virtual machine authentication subunit and a container authentication subunit:

[0091] The virtual machine authentication subunit is used to start the virtual machine if it is determined that the device fingerprint information of the data processing unit is consistent with the virtual machine device fingerprint information in the license file pre-stored in the virtual machine;

[0092] The container authentication subunit is used to start the Docker container after the virtual machine is started, if it is determined that the device fingerprint information of the data processing unit is consistent with the container device fingerprint information in the pre-stored license file of the Docker container deployed in the virtual machine.

[0093] Based on any of the above embodiments, it also includes an authorization unit, which is used to obtain the device fingerprint information of the data processing unit; install the Docker container on the virtual machine in the data processing unit, and write the device fingerprint information of the data processing unit into the license file of the virtual machine and the license file of the Docker container.

[0094] Based on any of the above embodiments, the virtual machine authentication subunit is specifically used for:

[0095] Encrypting the device fingerprint information of the data processing unit to obtain encrypted device fingerprint information;

[0096] Extracting virtual machine device fingerprint information from a license file pre-stored in the virtual machine, and encrypting the virtual machine device fingerprint information to obtain encrypted virtual machine device fingerprint information;

[0097] If the encryption device fingerprint information is consistent with the encryption virtual machine device fingerprint information, the virtual machine is started; otherwise, it enters the suspended state and sends an authentication failure message.

[0098] Based on any of the above embodiments, the container authentication subunit is specifically used for:

[0099] After the virtual machine is started, the container device fingerprint information is extracted from the pre-stored license file of the Docker container deployed in the virtual machine, and the container device fingerprint information is encrypted to obtain the encrypted container device fingerprint information;

[0100] If the encrypted device fingerprint information is consistent with the encrypted container device fingerprint information, the Docker container is started; otherwise, the Docker container is stopped and an authentication failure message is issued.

[0101] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 5 As shown, the electronic device includes: a processor 501, a communication interface 502, a memory 503 and a bus 504, wherein the processor 501, the communication interface 502 and the memory 503 communicate with each other through the bus 504. The processor 501 can call the logic instructions in the memory 503 to execute the following method, for example, including: starting the virtual machine and the Docker container in the data processing unit; obtaining a data set based on the virtual machine, obtaining a big data experiment template based on the Docker container; and performing a big data experiment based on the data set and the big data experiment template.

[0102] An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: starting a virtual machine and a Docker container in a data processing unit; obtaining a data set based on the virtual machine, and obtaining a big data experiment template based on the Docker container; and conducting a big data experiment based on the data set and the big data experiment template.

[0103] The present embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions. The computer instructions enable a computer to execute the methods provided by the above-mentioned method embodiments, for example, including: starting a virtual machine and a Docker container in a data processing unit; obtaining a data set based on the virtual machine, and obtaining a big data experiment template based on the Docker container; and conducting a big data experiment based on the data set and the big data experiment template.

[0104] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.

[0105] The embodiments of the communication device described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0106] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0107] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, rather than to limit them. Although the embodiments of the present invention have been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for using a big data integrated machine, characterized in that: include: Start virtual machines and Docker containers in the data processing unit; Acquire a data set based on the virtual machine, and acquire a big data experiment template based on the Docker container; Perform a big data experiment based on the data set and the big data experiment template; The starting of the virtual machine and the Docker container in the data processing unit specifically includes: If it is determined that the device fingerprint information of the data processing unit is consistent with the virtual machine device fingerprint information in the license file pre-stored in the virtual machine, starting the virtual machine; After the virtual machine is started, if it is determined that the device fingerprint information of the data processing unit is consistent with the container device fingerprint information in the pre-stored license file of the Docker container deployed in the virtual machine, then the Docker container is started; The big data integrated machine includes the data processing unit and the storage unit, and the data processing unit is connected to the storage unit; The storage unit stores the data set and the big data experiment template. The data processing unit provides the data set to the learning terminal through the virtual machine. The data processing unit provides the big data experiment template to the learning terminal through the Docker container in the virtual machine.

2. The method according to claim 1, characterized in that The step of starting the virtual machine and the Docker container in the data processing unit also includes: Obtaining device fingerprint information of the data processing unit; The Docker container is installed on the virtual machine in the data processing unit, and the device fingerprint information of the data processing unit is written into the license file of the virtual machine and the license file of the Docker container.

3. The method according to claim 1, characterized in that If it is determined that the device fingerprint information of the data processing unit is consistent with the virtual machine device fingerprint information in the license file pre-stored in the virtual machine, then starting the virtual machine specifically includes: Encrypting the device fingerprint information of the data processing unit to obtain encrypted device fingerprint information; Extracting virtual machine device fingerprint information from a license file pre-stored in the virtual machine, and encrypting the virtual machine device fingerprint information to obtain encrypted virtual machine device fingerprint information; If the encryption device fingerprint information is consistent with the encryption virtual machine device fingerprint information, the virtual machine is started; otherwise, it enters a suspended state and sends an authentication failure message.

4. The method according to claim 3, characterized in that After the virtual machine is started, if it is determined that the device fingerprint information of the data processing unit is consistent with the container device fingerprint information in the pre-stored license file of the Docker container deployed in the virtual machine, the Docker container is started and the software in the Docker container is run, specifically including: After the virtual machine is started, the container device fingerprint information is extracted from a pre-stored license file of the Docker container deployed in the virtual machine, and the container device fingerprint information is encrypted to obtain the encrypted container device fingerprint information; If the encryption device fingerprint information is consistent with the encryption container device fingerprint information, the Docker container is started; otherwise, the Docker container is stopped and an authentication failure message is issued.

5. The method according to claim 1, characterized in that The data set includes at least one of sensor data, text data, image data and geographic information data, and the field of the data set includes at least one of economic construction, transportation services, medical health and environmental protection.

6. The method according to claim 1, characterized in that The big data experiment template includes at least one of a Hadoop ecological environment experiment template, a development environment experiment template, a big data teaching experiment template, and a machine learning experiment template.

7. The method according to claim 1, characterized in that The data processing unit includes a computing unit and a random access memory.

8. The method according to claim 1, characterized in that The big data integrated machine also includes a wired network port and / or a wireless network card.