Micro-service architecture development environment building method and device
Build a communication network through Bluetooth modules and wireless network cards, and use automated scripts and visual container management to solve the complexity and efficiency of component installation and management in microservice architecture development, achieving convenient and efficient container deployment and management, suitable for Resource-constrained environment.
Patent Information
- Application Number
- CN202411165760.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-12-13
AI Technical Summary
During the development of microservice architecture, developers need to install and manage multiple basic components, resulting in high technical requirements, high learning costs and low development efficiency, and it is difficult to efficiently access and use these components in different network environments, limiting development flexibility and efficiency.
Build a communication network between microcomputers and mobile devices through Bluetooth modules, mobile devices and wireless network cards, obtain automated scripts to build, push, pull and deploy container images, automatically judge and download microservice components, start container management web services, and realize Visual container management and monitoring.
It improves the work efficiency of developers, reduces system resource occupation and operation and maintenance costs, provides portability and security, and is suitable for microservice architecture applications in resource-constrained environments, solving the limitations of development flexibility and efficiency.
Smart Images

Figure CN119127133A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer software development technology, and in particular to a method and device for building a microservice architecture development environment. Background Art
[0002] In the process of developing a microservice architecture, multiple basic components are involved, including service registration and discovery, configuration center, load balancing, circuit breakers, caching, message queues, and containerization. These components are used to ensure the flexibility, scalability, and high availability of the system. Developers usually need to install and run these components on a local development machine or virtual machine, but due to the large number of components, complex installation, and large system resource usage, developers need to have a high level of technical skills, and the high learning cost leads to low development efficiency.
[0003] In order to improve efficiency, all these components are usually deployed on a centralized server or workstation for shared use by the development team. This centralized deployment requires that the developer's device must be in the same network as the server or workstation to ensure interconnection. However, developers often need to develop at the project site and cannot carry high-cost and bulky servers or workstations. In this case, although tools such as intranet penetration or virtual LAN can solve the problem of cross-network access, due to security risks, some projects do not allow the use of such tools due to strict security requirements. This makes it difficult for developers to efficiently access and use these basic components in different network environments, thus limiting the flexibility and efficiency of development. Therefore, a safe and reliable solution is needed to enable developers to efficiently access and use these basic components in different network environments to improve development flexibility and efficiency. Summary of the invention
[0004] The present application provides a method and device for building a microservice architecture development environment to solve the problem of limited flexibility and efficiency in microservice architecture development.
[0005] The first aspect of the present application provides a method for building a microservice architecture development environment, the method comprising:
[0006] Build a communication network between microcomputers and mobile devices through Bluetooth modules, mobile devices and wireless network cards;
[0007] Acquire an automation script based on the communication network, wherein the automation script is used to build, push, pull and deploy an ARM architecture container image;
[0008] During the execution of the automation script, determining whether a microservice component exists on the storage;
[0009] If the microservice component does not exist, execute a microservice component download command to download the ARM architecture container image of each component in the microservice component to the memory;
[0010] Determine whether the microservice component is started;
[0011] If the microservice component is not started, execute a microservice component start command to start the ARM architecture container image;
[0012] Publish the container management web service to access the visual container management page to monitor the container's operating status, performance indicators, and resource usage in real time.
[0013] The above method uses portable microcomputers, microservice components, automated scripts, and visual container management to achieve fast, efficient, and convenient containerized deployment and management of microservice components with its small size, portability, no need for additional peripherals, and minimal installation. It not only improves the work efficiency of developers, but also reduces the resource usage and operation and maintenance costs of the system, providing strong support for the application of microservice architecture in resource-constrained environments to solve the problem of limited flexibility and efficiency in the development of microservice architecture.
[0014] Optionally, the method further includes:
[0015] If the microservice component exists, determine whether the microservice component is started;
[0016] If the microservice component is started, the container management web service is released to enter the visual container management page to monitor the container's operating status, performance indicators and resource usage in real time.
[0017] The above method can reduce the need for manual inspection and improve work efficiency by automatically determining whether there are microservice components on the storage. By publishing the container management web service, developers can easily manage the start, stop, restart, expansion and reduction of containers by simply clicking and dragging on the visual container management page, thereby reducing the difficulty of operation and improving the user experience.
[0018] Optionally, a communication network between a microcomputer and a mobile device is constructed through a Bluetooth module, a mobile device and a wireless network card, including:
[0019] Configure a Bluetooth module on the mobile device and the microcomputer, so as to connect the mobile device and the microcomputer via the Bluetooth broadcast in the Bluetooth module;
[0020] Turning on the Bluetooth broadcast of the microcomputer and publishing a specific identifier to identify and connect to the mobile device;
[0021] Inputting or selecting a network configuration file instruction for modifying the microcomputer through a configuration program of the mobile device;
[0022] sending the network profile instruction to the microcomputer via the Bluetooth broadcast;
[0023] parsing the network configuration file instructions on the microcomputer to obtain parsed network configuration instructions;
[0024] Modify the network configuration file according to the parsed network configuration instruction to obtain a modified network configuration file;
[0025] The microcomputer is connected to the configured network through the modified network configuration file and the wireless network card.
[0026] The above method uses the mobile device as an input and control interface, making the process of modifying the network configuration file more intuitive. In an environment where it is inconvenient to use a wired network, the Bluetooth module can not only provide a stable network connection option, but also encrypt through a specific identifier to ensure the security of data transmission. Moreover, for resource-constrained microcomputers, the Bluetooth module has a low power consumption characteristic, which helps to save electricity.
[0027] Optionally, the network configuration file instruction includes a restart request instruction;
[0028] The microcomputer executes system restart according to the restart request instruction;
[0029] Connect the restarted microcomputer to the configured network.
[0030] The above method automatically executes system restart through the restart request instruction, ensuring that the changed network configuration can take effect quickly and correctly, while reducing operational complexity and improving the convenience and efficiency of system management.
[0031] Optionally, the method further includes: saving the modified network configuration file in the memory.
[0032] The above method can not only ensure the persistence of the configuration by saving the modified network configuration file in the memory, even if the system is restarted or the power is off, the configuration information will not be lost, but also facilitate migration and replication, improve traceability, and reduce duplication of work. In addition, by saving different versions of the configuration file, version control can be implemented, which is convenient for rolling back to the previous configuration state.
[0033] Optionally, downloading the ARM architecture container image of each component in the microservice component to the memory includes:
[0034] Obtain keywords of each component in the microservice component regarding the ARM architecture container image;
[0035] Searching for a corresponding ARM architecture container image on an image repository according to the keyword;
[0036] Pull the ARM architecture container image and store it in the memory;
[0037] Starting the container of the ARM architecture container image to verify whether the ARM architecture container image is available;
[0038] If the container image is unavailable, delete or modify the container image.
[0039] The above method ensures that the pulled ARM architecture container image is compatible with the target ARM architecture through the keyword matching, reducing the risk of compatibility issues; and by starting the container to verify the availability of the image, ensures that the deployed image can run normally, improves the reliability of the overall deployment, adapts to different ARM architecture devices, and increases the flexibility of deployment.
[0040] The second aspect of the present application provides a device for building a microservice architecture development environment, which is applicable to the method for building a microservice architecture development environment described in the first aspect; the device includes: a mobile device and a microcomputer;
[0041] The mobile device is provided with a configuration program and a Bluetooth module, the configuration program is used to input or select instructions for modifying the network configuration file of the microcomputer; the microcomputer is provided with a processor, a memory, a Bluetooth module and a wireless network card; the mobile device and the microcomputer are connected to each other through the Bluetooth module; the memory is used to store network configuration files, microserver components or ARM architecture container images; the wireless network card is used to connect to the configured network; the processor is configured as follows:
[0042] Acquire an automation script based on the communication network, the automation script being used to build, push, pull and deploy an ARM architecture container image; during the execution of the automation script, determine whether a microservice component exists on the storage;
[0043] If the microservice component does not exist, execute a microservice component download command to download the ARM architecture container image of each component in the microservice component to the memory;
[0044] Determine whether the microservice component is started;
[0045] If the microservice component is not started, execute a microservice component start command to start the ARM architecture container image;
[0046] Publish the container management web service to access the visual container management page to monitor the container's operating status, performance indicators, and resource usage in real time.
[0047] The microservice architecture development environment building device uses a portable microcomputer, microservice components, automated scripts, and visual container management to achieve fast, efficient, and convenient containerized deployment and management of microservice components with its small size, portability, no need for additional peripherals, and minimal installation. It not only improves the work efficiency of developers, but also reduces the resource occupation and operation and maintenance costs of the system, providing strong support for the application of microservice architecture in resource-constrained environments to solve the problem of limited flexibility and efficiency in the development of microservice architecture.
[0048] Optionally, the processor is further configured to:
[0049] If the microservice component exists, determine whether the microservice component is started;
[0050] If the microservice component is started, the container management web service is released to enter the visual container management page to monitor the container's operating status, performance indicators and resource usage in real time.
[0051] The processor can reduce the need for manual inspection and improve work efficiency by automatically determining whether there are microservice components on the storage. By publishing the container management web service, developers can easily manage operations such as starting, stopping, restarting, expanding and shrinking containers by simply clicking and dragging on the visual container management page, thereby reducing operational difficulty and improving user experience.
[0052] Optionally, the processor is further configured to:
[0053] Parsing the network configuration file instructions to obtain parsed network configuration instructions;
[0054] Modify the network configuration file according to the parsed network configuration instruction to obtain a modified network configuration file;
[0055] The microcomputer is connected to the configured network through the modified network configuration file and the wireless network card.
[0056] The processor can not only reduce the need for manual intervention and improve efficiency by automatically parsing the network configuration file instructions, but also reduce human errors and improve configuration accuracy; in addition, it can also ensure the consistency and security of the network configuration file and avoid potential security risks.
[0057] Optionally, the processor is further configured to:
[0058] Obtain keywords of each component in the microservice component regarding the ARM architecture container image;
[0059] Searching for a corresponding ARM architecture container image on an image repository according to the keyword;
[0060] Pull the ARM architecture container image and store it in the memory;
[0061] Starting the container of the ARM architecture container image to verify whether the ARM architecture container image is available;
[0062] If the container image is unavailable, delete or modify the container image.
[0063] The processor ensures that the pulled ARM architecture container image is compatible with the target ARM architecture through the keyword matching, reducing the risk of compatibility issues; and verifies the availability of the image by starting the container to ensure that the deployed image can run normally, thereby improving the reliability of the overall deployment, adapting to different ARM architecture devices, and increasing the flexibility of deployment.
[0064] It can be seen from the above technical scheme that the present application provides a method and device for building a microservice architecture development environment, the method comprising: building a communication network between a microcomputer and a mobile device through a Bluetooth module, a mobile device and a wireless network card; obtaining an automation script based on the communication network, the automation script being used to build, push, pull and deploy an ARM architecture container image; during the execution of the automation script, determining whether there is a microservice component on the memory; if the microservice component does not exist, executing a microservice component download command to download the ARM architecture container image of each component in the microservice component to the memory; determining whether the microservice component is started; if the microservice component is not started, executing a microservice component start command to start the ARM architecture container image; publishing a container management web service to enter a visual container management page to monitor the running status, performance indicators and resource usage of the container in real time, so as to solve the problem of limited flexibility and efficiency in the development of microservice architecture. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0066] Figure 1 A flow chart of a method for building a microservice architecture development environment as described in an embodiment of the present application;
[0067] Figure 2A schematic diagram of a process for constructing a communication network between a microcomputer and a mobile device in a method for constructing a microservice architecture development environment according to an embodiment of the present application;
[0068] Figure 3 This is a flow chart of downloading an ARM architecture container image in the method for building a microservice architecture development environment described in an embodiment of the present application. DETAILED DESCRIPTION
[0069] The following embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following embodiments do not represent all implementations consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application as detailed in the claims.
[0070] To solve the problem of limited flexibility and efficiency in microservice architecture development, see Figure 1 Some embodiments of the present application provide a method for building a microservice architecture development environment, the method comprising:
[0071] S100: Build a communication network between microcomputers and mobile devices through Bluetooth modules, mobile devices and wireless network cards.
[0072] It should be understood that the Bluetooth module is a printed circuit board assembly board with integrated Bluetooth function, which is used for short-range wireless communication; the mobile device is a computing device that can exchange information anytime and anywhere, such as a mobile phone. The wireless network card is a terminal wireless network device used to connect to a wireless network; the microcomputer is a small, programmable computer, such as a Raspberry Pi or Orange Pi.
[0073] S200: Acquire an automation script based on the communication network.
[0074] It should be understood that the automation script is used to build, push, pull and deploy ARM architecture container images, which can automate the entire deployment process and reduce manual intervention and errors.
[0075] S300: During the execution of the automation script, it is determined whether there is a microservice component in the memory.
[0076] S400: If the microservice component does not exist, execute a microservice component download command to download the ARM architecture container image of each component in the microservice component to the memory.
[0077] S500: Determine whether the microservice component is started.
[0078] S600: If the microservice component is not started, execute a microservice component start command to start the ARM architecture container image.
[0079] It should be understood that the ARM architecture container image is designed specifically for ARM architecture hardware, has a smaller size and lower resource usage. By using these lightweight images, the microservice components can be run in a resource-constrained environment.
[0080] S700: Publish a container management web service to access a visualized container management page to monitor the running status, performance indicators, and resource usage of the container in real time.
[0081] It should be understood that the container management web service is a cloud platform that simplifies container deployment, monitoring and management based on a web interface.
[0082] The above method uses portable microcomputers, microservice components, automated scripts, and visual container management to achieve fast, efficient, and convenient containerized deployment and management of microservice components with its small size, portability, no need for additional peripherals, and minimal installation. It not only improves the work efficiency of developers, but also reduces the resource usage and operation and maintenance costs of the system, providing strong support for the application of microservice architecture in resource-constrained environments to solve the problem of limited flexibility and efficiency in the development of microservice architecture.
[0083] In some embodiments, the method further comprises:
[0084] If the microservice component exists, determine whether the microservice component is started.
[0085] If the microservice component is started, the container management web service is released to enter the visual container management page to monitor the container's operating status, performance indicators and resource usage in real time.
[0086] It should be understood that visual container management interfaces are tools used to simplify Docker container management. They help users perform container operations more intuitively and efficiently through graphical user interfaces.
[0087] The above method can reduce the need for manual inspection and improve work efficiency by automatically determining whether there are microservice components on the storage. By publishing the container management web service, developers can easily manage the start, stop, restart, expansion and reduction of containers by simply clicking and dragging on the visual container management page, thereby reducing the difficulty of operation and improving the user experience.
[0088] In some embodiments, see Figure 2, through Bluetooth module, mobile device and wireless network card, build a communication network between microcomputer and mobile device, including:
[0089] S110: configuring a Bluetooth module on the mobile device and the microcomputer, so as to connect the mobile device and the microcomputer via Bluetooth broadcast in the Bluetooth module.
[0090] S120: Turn on the Bluetooth broadcast of the microcomputer and publish a specific identifier to identify and connect to the mobile device.
[0091] S130: Input or select a network configuration file instruction for modifying the microcomputer through the configuration program of the mobile device.
[0092] S140: Sending the network configuration file instruction to the microcomputer via the Bluetooth broadcast.
[0093] S150: Parse the network configuration file instructions on the microcomputer to obtain parsed network configuration instructions.
[0094] S160: Modify the network configuration file according to the parsed network configuration instruction to obtain a modified network configuration file.
[0095] S170: Connecting the microcomputer to the configured network through the modified network configuration file and the wireless network card.
[0096] The above method uses the mobile device as an input and control interface, making the process of modifying the network configuration file more intuitive. In an environment where it is inconvenient to use a wired network, the Bluetooth module can not only provide a stable network connection option, but also encrypt through a specific identifier to ensure the security of data transmission. Moreover, for resource-constrained microcomputers, the Bluetooth module has a low power consumption characteristic, which helps to save electricity.
[0097] In some embodiments, the network profile instructions include a reboot request instruction;
[0098] The microcomputer executes system restart according to the restart request instruction;
[0099] Connect the restarted microcomputer to the configured network.
[0100] The above method automatically executes system restart through the restart request instruction, ensuring that the changed network configuration can take effect quickly and correctly, while reducing operational complexity and improving the convenience and efficiency of system management.
[0101] In some embodiments, the method further includes: saving the modified network configuration file in the memory.
[0102] The above method can not only ensure the persistence of the configuration by saving the modified network configuration file in the memory, even if the system is restarted or the power is off, the configuration information will not be lost, but also facilitate migration and replication, improve traceability, and reduce duplication of work. In addition, by saving different versions of the configuration file, version control can be implemented, which is convenient for rolling back to the previous configuration state.
[0103] In some embodiments, see Figure 3 , downloading the ARM architecture container image of each component in the microservice component to the memory, including:
[0104] S410: Obtain keywords of each component in the microservice component regarding the ARM architecture container image.
[0105] S420: Searching for a corresponding ARM architecture container image in an image repository according to the keyword.
[0106] S430: Pull the ARM architecture container image and store it in the memory.
[0107] S440: Start the container of the ARM architecture container image to verify whether the ARM architecture container image is available.
[0108] S450: If the container image is unavailable, delete or modify the container image.
[0109] It should be understood that the image repository may be the Docker Hub website; the keyword may be the image name; if the container image is available, the ARM architecture container image is downloaded successfully.
[0110] The above method ensures that the pulled ARM architecture container image is compatible with the target ARM architecture through the keyword matching, reducing the risk of compatibility issues; and by starting the container to verify the availability of the image, ensures that the deployed image can run normally, improves the reliability of the overall deployment, adapts to different ARM architecture devices, and increases the flexibility of deployment.
[0111] Some embodiments of the present application also provide a device for building a microservice architecture development environment, which is applicable to the method for building a microservice architecture development environment described in the above embodiments; the device includes: a mobile device and a microcomputer;
[0112] The mobile device is provided with a configuration program and a Bluetooth module, the configuration program is used to input or select instructions for modifying the network configuration file of the microcomputer; the microcomputer is provided with a processor, a memory, a Bluetooth module and a wireless network card; the mobile device and the microcomputer are connected to each other through the Bluetooth module; the memory is used to store network configuration files, microserver components or ARM architecture container images; the wireless network card is used to connect to the configured network; the processor is configured as follows:
[0113] Acquire an automation script based on the communication network, the automation script being used to build, push, pull and deploy an ARM architecture container image; during the execution of the automation script, determine whether a microservice component exists on the storage;
[0114] If the microservice component does not exist, execute a microservice component download command to download the ARM architecture container image of each component in the microservice component to the memory;
[0115] Determine whether the microservice component is started;
[0116] If the microservice component is not started, execute a microservice component start command to start the ARM architecture container image;
[0117] Publish the container management web service to access the visual container management page to monitor the container's operating status, performance indicators, and resource usage in real time.
[0118] It should be understood that the microcomputer is small in size, light in weight, low in energy consumption, low in resource occupation, easy to carry, does not require peripherals such as a display, mouse, keyboard, etc., and can be independently operated only through a network configured by a mobile device. The processor is the core component of the microcomputer and is responsible for executing instructions and processing data.
[0119] The microservice architecture development environment building device uses a portable microcomputer, microservice components, automated scripts, and visual container management to achieve fast, efficient, and convenient containerized deployment and management of microservice components with its small size, portability, no need for additional peripherals, and minimal installation. It not only improves the work efficiency of developers, but also reduces the resource occupation and operation and maintenance costs of the system, providing strong support for the application of microservice architecture in resource-constrained environments to solve the problem of limited flexibility and efficiency in the development of microservice architecture.
[0120] In some embodiments, the processor is further configured to:
[0121] If the microservice component exists, determine whether the microservice component is started;
[0122] If the microservice component is started, the container management web service is released to enter the visual container management page to monitor the container's operating status, performance indicators and resource usage in real time.
[0123] The processor can reduce the need for manual inspection and improve work efficiency by automatically determining whether there are microservice components on the storage. By publishing the container management web service, developers can easily manage operations such as starting, stopping, restarting, expanding and shrinking containers by simply clicking and dragging on the visual container management page, thereby reducing operational difficulty and improving user experience.
[0124] In some embodiments, the processor is further configured to:
[0125] Parsing the network configuration file instructions to obtain parsed network configuration instructions;
[0126] Modify the network configuration file according to the parsed network configuration instruction to obtain a modified network configuration file;
[0127] The microcomputer is connected to the configured network through the modified network configuration file and the wireless network card.
[0128] The processor can not only reduce the need for manual intervention and improve efficiency by automatically parsing the network configuration file instructions, but also reduce human errors and improve configuration accuracy; in addition, it can also ensure the consistency and security of the network configuration file and avoid potential security risks.
[0129] In some embodiments, the processor is further configured to:
[0130] Obtain keywords of each component in the microservice component regarding the ARM architecture container image;
[0131] Searching for a corresponding ARM architecture container image on an image repository according to the keyword;
[0132] Pull the ARM architecture container image and store it in the memory;
[0133] Starting the container of the ARM architecture container image to verify whether the ARM architecture container image is available;
[0134] If the container image is unavailable, delete or modify the container image.
[0135] The processor ensures that the pulled ARM architecture container image is compatible with the target ARM architecture through the keyword matching, reducing the risk of compatibility issues; and verifies the availability of the image by starting the container to ensure that the deployed image can run normally, thereby improving the reliability of the overall deployment, adapting to different ARM architecture devices, and increasing the flexibility of deployment.
[0136] It can be seen from the above technical solution that the embodiment of the present application provides a method and device for building a microservice architecture development environment, the method comprising: building a communication network between a microcomputer and a mobile device through a Bluetooth module, a mobile device and a wireless network card; obtaining an automation script based on the communication network, the automation script being used to build, push, pull and deploy an ARM architecture container image; during the execution of the automation script, determining whether there is a microservice component on the memory; if the microservice component does not exist, executing a microservice component download command to download the ARM architecture container image of each component in the microservice component to the memory; determining whether the microservice component is started; if the microservice component is not started, executing a microservice component start command to start the ARM architecture container image; publishing a container management web service to enter a visual container management page to monitor the container's operating status, performance indicators and resource usage in real time to solve the problem of limited flexibility and efficiency in the development of a microservice architecture.
[0137] Similar parts between the embodiments provided in this application can be referenced to each other. The specific implementation methods provided above are only a few examples under the general concept of this application and do not constitute a limitation on the protection scope of this application. For those skilled in the art, any other implementation methods expanded based on the scheme of this application without creative work belong to the protection scope of this application.
Claims
1. A method for building a microservice architecture development environment, characterized in that: The method comprises: Build a communication network between microcomputers and mobile devices through Bluetooth modules, mobile devices and wireless network cards; Acquire an automation script based on the communication network, wherein the automation script is used to build, push, pull and deploy an ARM architecture container image; During the execution of the automation script, determining whether a microservice component exists on the storage; If the microservice component does not exist, execute a microservice component download command to download the ARM architecture container image of each component in the microservice component to the memory; Determine whether the microservice component is started; If the microservice component is not started, execute a microservice component start command to start the ARM architecture container image; Publish the container management web service to access the visual container management page to monitor the container's operating status, performance indicators, and resource usage in real time.
2. The method for building a microservice architecture development environment according to claim 1, characterized in that: The method further comprises: If the microservice component exists, determine whether the microservice component is started; If the microservice component is started, the container management web service is released to enter the visual container management page to monitor the container's operating status, performance indicators and resource usage in real time.
3. The method for building a microservice architecture development environment according to claim 1, characterized in that: Through the Bluetooth module, mobile device and wireless network card, a communication network between microcomputer and mobile device is constructed, including: Configure a Bluetooth module on the mobile device and the microcomputer, so as to connect the mobile device and the microcomputer via the Bluetooth broadcast in the Bluetooth module; Turning on the Bluetooth broadcast of the microcomputer and publishing a specific identifier to identify and connect to the mobile device; Inputting or selecting a network configuration file instruction for modifying the microcomputer through a configuration program of the mobile device; sending the network profile instruction to the microcomputer via the Bluetooth broadcast; parsing the network configuration file instructions on the microcomputer to obtain parsed network configuration instructions; Modify the network configuration file according to the parsed network configuration instruction to obtain a modified network configuration file; The microcomputer is connected to the configured network through the modified network configuration file and the wireless network card.
4. The method for building a microservice architecture development environment according to claim 3, characterized in that: The network configuration file instructions include a restart request instruction; The microcomputer executes system restart according to the restart request instruction; Connect the restarted microcomputer to the configured network.
5. The method for building a microservice architecture development environment according to claim 3, characterized in that: The method further includes: saving the modified network configuration file in the memory.
6. The method for building a microservice architecture development environment according to claim 1, characterized in that: Downloading the ARM architecture container image of each component in the microservice component to the storage includes: Obtain keywords of each component in the microservice component regarding the ARM architecture container image; Searching for a corresponding ARM architecture container image on an image repository according to the keyword; Pull the ARM architecture container image and store it in the memory; Starting the container of the ARM architecture container image to verify whether the ARM architecture container image is available; If the container image is unavailable, delete or modify the container image.
7. A device for building a microservice architecture development environment, characterized in that: The method for building a microservice architecture development environment according to any one of claims 1 to 6; the device comprises: a mobile device and a microcomputer; The mobile device is provided with a configuration program and a Bluetooth module, the configuration program is used to input or select instructions for modifying the network configuration file of the microcomputer; the microcomputer is provided with a processor, a memory, a Bluetooth module and a wireless network card; the mobile device and the microcomputer are connected to each other through the Bluetooth module; the memory is used to store network configuration files, microserver components or ARM architecture container images; the wireless network card is used to connect to the configured network; the processor is configured as follows: Acquire an automation script based on the communication network, the automation script being used to build, push, pull and deploy an ARM architecture container image; during the execution of the automation script, determine whether a microservice component exists on the storage; If the microservice component does not exist, execute a microservice component download command to download the ARM architecture container image of each component in the microservice component to the memory; Determine whether the microservice component is started; If the microservice component is not started, execute a microservice component start command to start the ARM architecture container image; Publish the container management web service to access the visual container management page to monitor the container's operating status, performance indicators, and resource usage in real time.
8. The microservice architecture development environment construction device according to claim 7, characterized in that: The processor is further configured to: If the microservice component exists, determine whether the microservice component is started; If the microservice component is started, the container management web service is released to enter the visual container management page to monitor the container's operating status, performance indicators and resource usage in real time.
9. The microservice architecture development environment construction device according to claim 7, characterized in that: The processor is further configured to: Parsing the network configuration file instructions to obtain parsed network configuration instructions; Modify the network configuration file according to the parsed network configuration instruction to obtain a modified network configuration file; The microcomputer is connected to the configured network through the modified network configuration file and the wireless network card.
10. The microservice architecture development environment construction device according to claim 7, characterized in that: The processor is further configured to: Obtain keywords of each component in the microservice component regarding the ARM architecture container image; Searching for a corresponding ARM architecture container image on an image repository according to the keyword; Pull the ARM architecture container image and store it in the memory; Starting the container of the ARM architecture container image to verify whether the ARM architecture container image is available; If the container image is unavailable, delete or modify the container image.
