CN110908675B - Method and device for acquiring running environment and electronic equipment - Google Patents

Method and device for acquiring running environment and electronic equipment Download PDF

Info

Publication number
CN110908675B
CN110908675B CN201911119543.4A CN201911119543A CN110908675B CN 110908675 B CN110908675 B CN 110908675B CN 201911119543 A CN201911119543 A CN 201911119543A CN 110908675 B CN110908675 B CN 110908675B
Authority
CN
China
Prior art keywords
target
input
user
environment
mirror image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911119543.4A
Other languages
Chinese (zh)
Other versions
CN110908675A (en
Inventor
陈凯
韩荟
于晓宁
刘迟
李子恒
杨嘉义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201911119543.4A priority Critical patent/CN110908675B/en
Publication of CN110908675A publication Critical patent/CN110908675A/en
Application granted granted Critical
Publication of CN110908675B publication Critical patent/CN110908675B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method and a device for acquiring an operating environment and electronic equipment, and relates to the field of computer display. The specific implementation scheme is as follows: by allocating environmental resources to users; displaying a mirror image interface, wherein the mirror image interface comprises a pre-acquired mirror image identifier; receiving a first input for the mirrored interface; and installing the mirror image corresponding to the first target identifier in the environment resource according to the first target identifier determined by the first input, so as to obtain a target running environment of the user. The running environment obtaining device can set a target running environment for a user by receiving a first input of the user, can provide diversified running environments for the user, and can customize the target running environment according to own requirements so as to ensure optimization of development efficiency.

Description

Method and device for acquiring running environment and electronic equipment
Technical Field
The present application relates to a data management technology in the field of computer technology, and in particular, to a method, an apparatus, and an electronic device for acquiring an operating environment.
Background
With the development of intelligent technology, development based on machine learning is increasing. If the machine learning developer deploys the development environment by himself, the deployment process is time-consuming and labor-consuming from a graphics card driver, a graphics processor (Graphics Processing Unit, GPU for short), and the like, and economic pressure is also caused to the developer. Currently, machine learning platforms can provide a development environment for users based on machine learning to simplify the process of users deploying the development environment by themselves. However, the development environment provided for the user by the current machine learning platform is relatively single, so that the development efficiency of the user by using the development environment is low.
Disclosure of Invention
The embodiment of the application provides a method, a device and electronic equipment for acquiring an operating environment, which are used for solving the problem that the development environment of the existing machine learning platform is single, so that the development efficiency of a user by using the development environment is low.
In order to solve the technical problems, the application is realized as follows:
the first aspect of the present application provides an operating environment obtaining method, including:
allocating environmental resources for users;
displaying a mirror image interface, wherein the mirror image interface comprises a pre-acquired mirror image identifier;
receiving a first input for the mirrored interface;
and installing the mirror image corresponding to the first target identifier in the environment resource according to the first target identifier determined by the first input, so as to obtain a target running environment of the user.
Further, after the first target identifier determined according to the first input installs the image corresponding to the first target identifier in the environment resource to obtain the target operating environment of the user, the method further includes:
displaying an application program identification interface in the target running environment, wherein the application program identification interface comprises an identification of an application program;
receiving a second input for the application identification interface;
and installing a target application program corresponding to the second target identifier according to the second target identifier determined by the second input.
Further, after the second target identifier determined according to the second input installs the target application program corresponding to the second target identifier, the method further includes:
and storing the data generated by the target application program into a storage space.
Further, the image includes at least one of a hardware image, a driver version image, and a language environment image.
A second aspect of the present application provides an operating environment acquisition apparatus, including:
the distribution module is used for distributing environmental resources for users;
the first display module is used for displaying a mirror image interface, wherein the mirror image interface comprises a pre-acquired mirror image identifier;
a first receiving module for receiving a first input for the mirrored interface;
and the first installation module is used for installing the mirror image corresponding to the first target identifier in the environment resource according to the first target identifier determined by the first input, so as to obtain the target running environment of the user.
Further, the device further comprises:
the second display module is used for displaying an application program identification interface in the target running environment, wherein the application program identification interface comprises an identification of an application program;
a second receiving module for receiving a second input for the application identification interface;
and the second installation module is used for installing the target application program corresponding to the second target identifier according to the second target identifier determined by the second input.
Further, the device further comprises:
and the storage module is used for storing the data generated by the target application program into a storage space.
Further, the image includes at least one of a hardware image, a driver version image, and a language environment image.
A third aspect of the present application provides an electronic apparatus, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect.
A fourth aspect of the application provides a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of the first aspect.
One embodiment of the above application has the following advantages or benefits:
by allocating environmental resources to users; displaying a mirror image interface, wherein the mirror image interface comprises a pre-acquired mirror image identifier; receiving a first input for the mirrored interface; and installing the mirror image corresponding to the first target identifier in the environment resource according to the first target identifier determined by the first input, so as to obtain a target running environment of the user. The running environment obtaining device can set a target running environment for a user by receiving a first input of the user, can provide diversified running environments for the user, and can customize the target running environment according to own requirements so as to ensure optimization of development efficiency.
In addition, by receiving the second input of the user and installing the application program corresponding to the second target identifier according to the second target identifier determined by the second input, the user can install the user layer application program in the target running environment in a self-defined manner, and more use convenience is provided for the user.
The data generated by the target application program is stored in the storage space, so that the use of the target application program of the user can be effective all the time in the whole development process, the influence of the development shutdown destruction can not be caused, and the consistency and consistency of the development of the user are ensured.
The application provides at least one of hardware mirror image, driving version mirror image and language environment mirror image, provides more various selection schemes for users, and allows users to customize a target running environment based on user requirements, so that the users do not need to worry about running environment problems and underlying library problems, and the user development efficiency is improved.
Other effects of the above alternative will be described below in connection with specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present application and are not to be construed as limiting the application. Wherein:
FIG. 1 is a flow chart of a method of operating environment acquisition provided in accordance with an embodiment;
FIG. 2 is a schematic diagram of a target runtime of multiple users according to an embodiment;
FIG. 3 is a layered schematic of the mirror image provided in this embodiment;
FIG. 4 is a block diagram of a runtime environment acquisition device provided in accordance with an embodiment;
FIG. 5 is a block diagram of an electronic device for implementing a method of operating environment acquisition in accordance with an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present application are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Referring to fig. 1, fig. 1 is a flowchart of an operation environment obtaining method provided in an embodiment of the present application, and as shown in fig. 1, the embodiment provides an operation environment obtaining method applied to an operation environment obtaining device, including the following steps:
step 101, environmental resources are allocated to users.
The running environment acquisition device can be a machine learning platform, and the machine learning platform can provide a development environment based on machine learning for a user so as to simplify the process of self-deployment of the development environment by the user.
The machine learning platform allocates an environment resource for each user, the environment resources of different users are not mutually interfered, and the isolation of the environment resources can be realized by adopting a container technology.
Step 102, displaying a mirror image interface, wherein the mirror image interface comprises an identification of a pre-acquired mirror image.
The running environment acquisition device displays a mirror image interface, wherein the mirror image interface comprises a mirror image identifier, and the mirror images are mirror images obtained in advance by the running environment acquisition device and are provided for a user to select by oneself. The image includes at least one of a hardware image, a driver version image, and a language environment image. Hardware images include central processing unit (Central Processing Unit, CPU) images, graphics processing unit (Graphics Processing Unit, GPU) images, field programmable gate array (Field Programmable Gate Array, FPGA) images, and the like. The driving version images comprise Intel data analysis acceleration library (Intel Data Analytics Acceleration Library, intel DAAL) images, unified computing device architecture (Compute Unified Device Architecture, CUDA) 9.2 images, cuDNN7.1 (CUDA Deep Neural Network, GPU acceleration library for deep neural network) and the like. Language environment images include R software images, python2 software images, python3.6 software images, and the like.
The image interface may include at least one of a hardware image identifier, a drive version image identifier, and a language environment image identifier. When displayed in the mirror interface, the identifications may be displayed in the form of a list. When the mirroring interface includes at least two of a hardware mirroring identifier, a driving version mirroring identifier, and a language environment mirroring identifier, the identifiers of different classes of mirrors may be displayed in a packet form, for example, the hardware mirroring identifier is displayed in one packet, the driving version mirroring identifier is displayed in another packet, and the language environment mirroring identifier is displayed in yet another packet, so as to facilitate selection by a user.
Step 103, receiving a first input for the mirror interface.
The first input may be a click input, or a touch input, or a voice input, etc., without limitation. The user selects the identification in the mirror image interface, and the running environment acquisition device determines the identification of one or more mirror images selected by the user according to the first input.
And 104, installing the mirror image corresponding to the first target identifier in the environment resource according to the first target identifier determined by the first input, and obtaining the target running environment of the user.
The identification of the image determined by the first input is determined as a first target identification, and the first target identification can comprise at least one of a hardware image identification, a driving version image identification and a language environment image identification. After the first target identifier is determined, installing the mirror image corresponding to the first target identifier in the environment resource allocated to the user, and obtaining the target running environment of the user after the installation is completed.
And if the first target identifier does not comprise the hardware image identifier, adopting the default hardware image identifier set by the running environment acquisition device for the user. And if the first target identifier does not comprise the driving version image identifier, adopting the running environment acquisition device to set a default driving version image identifier for the user. And if the first target identifier does not comprise the language environment mirror image identifier, adopting the default language environment mirror image identifier set by the running environment acquisition device for the user.
In this embodiment, environmental resources are allocated to users; displaying a mirror image interface, wherein the mirror image interface comprises a pre-acquired mirror image identifier; receiving a first input for the mirrored interface; and installing the mirror image corresponding to the first target identifier in the environment resource according to the first target identifier determined by the first input, so as to obtain a target running environment of the user. The running environment obtaining device can set a target running environment for a user by receiving a first input of the user, can provide diversified running environments for the user, and can customize the target running environment according to own requirements so as to ensure optimization of development efficiency.
FIG. 2 is a schematic diagram of a configuration of the operation environment acquisition device when the target operation environments of a plurality of users are operated. As shown in fig. 2, three containers (which can be understood as environmental resources) are shown in fig. 2, corresponding to three users. The first container includes a first task (User Data Science Task), a first user-Defined database (User Defined Library 1), and a Platform Pre-Defined Image A. The second container includes a second task (User Data Science Task), a second user-Defined database (User Defined Library 2), and a Platform Pre-Defined Image A. The third container includes a third task (User Data Science Task), a third user-Defined database (User Defined Library 2), and a Platform Pre-Defined Image B.
Reference numeral 11 in the figure is the layer where the Host OS and the doceker engines are located.
As shown in fig. 3, fig. 3 is a hierarchical schematic diagram of a mirror image. In fig. 3, 5 layers are shown, from the bottom layer to the top layer: a container operating system user space (Container OS User Space), a hardware toolkit (Hardware Toolkit In Container), a programming language (Programming Language), a programming framework (Programming Framework), and a programming application (Programming Utilities). Each layer comprises a plurality of mirror image identifiers for users to select, and the users can select the mirror image identifiers so as to install the mirror images corresponding to the mirror image identifiers into the environment resource.
In one embodiment of the present application, after the target identifier determined according to the first input installs the image corresponding to the target identifier in the environment resource to obtain the target operating environment of the user, the method further includes:
displaying an application program identification interface in the target running environment, wherein the application program identification interface comprises an identification of an application program;
receiving a second input for the application identification interface;
and installing the application program corresponding to the second target identifier according to the second target identifier determined by the second input.
Specifically, after the mirror image corresponding to the target identifier is installed and the target running environment is obtained, the user can install the application program of the user layer, such as a social application program, an audio application program, or a video application program, according to the actual requirement.
An application identification interface is displayed in the target operating environment, the application identification interface including an identification of an application, such as an identification of a social application, an identification of an audio application, or an identification of a video application, and so forth. The user determines the identity of the application by a second input, which may be a click input, a touch input, a voice input, or the like, to select the identity of the application. And after the second target identifier is determined, installing the application program corresponding to the second target identifier. The application program corresponding to the second target identifier can be displayed and stored on the running environment acquisition device, so that the application program is directly installed according to the acquired image file during installation; in addition, the application program corresponding to the second target identifier may also be downloaded from the network in real time, which is not limited herein.
In this embodiment, the running environment obtaining device receives the second input of the user, and installs the application program corresponding to the second target identifier according to the second target identifier determined by the second input, so that the user can install the user layer application program in the target running environment in a self-defined manner, and more use convenience is provided for the user.
In one embodiment of the present application, after the target application identifier determined according to the second input installs the target application program corresponding to the target application identifier, the method further includes:
and storing the data generated by the target application program into a storage space.
Specifically, the storage space may be a space selected by the user, or may be a storage space corresponding to an environmental resource of the user. Data generated by the target application program (which can be understood as user data) is stored in the storage space, and system data generated by the target running environment (which can be understood as data generated in the running process after the mirror image corresponding to the first target identifier is installed) is stored in the mirror image warehouse. Therefore, the target running environment of the user can be enabled to be effective all the time in the whole development process, the influence of the shutdown destruction of the development is avoided, and the consistency and consistency of the development of the user are ensured.
Compared with the mode that the user completely deploys the operation environment (can be understood as a development environment) by himself, the method of the application can save the time of the user for environment deployment, such as the deployment and maintenance of the user on the bottom environment, so that the user can use the latest and best environment quickly.
The application provides at least one of hardware mirror image, driving version mirror image and language environment mirror image, provides more various predefined selection schemes for users, custom packages (packages can be understood as target running environments) based on user requirements, and keeps the whole package to meet the requirements of users in the whole period of user development, so that the users do not need to worry about environmental problems and bottom library problems, and the optimization of user development efficiency is ensured as much as possible.
Referring to fig. 4, fig. 4 is a block diagram of an operating environment obtaining apparatus according to an embodiment of the present application, and as shown in fig. 4, this embodiment provides an operating environment obtaining apparatus 400, including:
an allocation module 401, configured to allocate environmental resources for a user;
a first display module 402, configured to display a mirror interface, where the mirror interface includes an identifier of a pre-acquired mirror;
a first receiving module 403, configured to receive a first input for the mirror interface;
and a first installation module 404, configured to install, in the environment resource, a mirror image corresponding to the first target identifier according to the first target identifier determined by the first input, so as to obtain a target operating environment of the user.
Further, the running environment obtaining apparatus 400 further includes:
the second display module is used for displaying an application program identification interface in the target running environment, wherein the application program identification interface comprises an identification of an application program;
a second receiving module for receiving a second input for the application identification interface;
and the second installation module is used for installing the target application program corresponding to the second target identifier according to the second target identifier determined by the second input.
Further, the running environment obtaining apparatus 400 further includes:
and the storage module is used for storing the data generated by the target application program into a storage space.
Further, the image includes at least one of a hardware image, a driver version image, and a language environment image.
The running environment obtaining apparatus 400 is capable of implementing each process implemented by the running environment obtaining apparatus in the method embodiment shown in fig. 1, and will not be described herein again for avoiding repetition.
The running environment obtaining device 400 of the embodiment of the application distributes environment resources for users; displaying a mirror image interface, wherein the mirror image interface comprises a pre-acquired mirror image identifier; receiving a first input for the mirrored interface; and installing the mirror image corresponding to the first target identifier in the environment resource according to the first target identifier determined by the first input, so as to obtain a target running environment of the user. The running environment obtaining device can set a target running environment for a user by receiving a first input of the user, can provide diversified running environments for the user, and can customize the target running environment according to own requirements so as to ensure optimization of development efficiency.
According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
As shown in fig. 5, a block diagram of an electronic device of a method for acquiring a running environment according to an embodiment of the present application is shown. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 5, the electronic device includes: one or more processors 501, memory 502, and interfaces for connecting components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 501 is illustrated in fig. 5.
Memory 502 is a non-transitory computer readable storage medium provided by the present application. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the operating environment acquisition method provided by the present application. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to execute the execution environment acquisition method provided by the present application.
The memory 502 is used as a non-transitory computer readable storage medium, and may be used to store a non-transitory software program, a non-transitory computer executable program, and program instructions/modules (e.g., the allocation module 401, the first display module 402, the first receiving module 403, and the first installation module 404 shown in fig. 4) corresponding to the execution environment acquisition method in the embodiment of the present application. The processor 501 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 502, that is, implements the execution environment acquisition method in the above-described method embodiments.
Memory 502 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the electronic device implementing the running environment acquisition method, and the like. In addition, memory 502 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 502 may optionally include memory located remotely from processor 501, which may be connected via a network to an electronic device implementing the operating environment acquisition method. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device implementing the operating environment acquisition method may further include: an input device 505 and an output device 504. The processor 501, memory 502, input device 505 and output device 504 may be connected by a bus or other means, for example in fig. 5.
The input device 505 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of an electronic device implementing the run environment acquisition method, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a joystick, one or more mouse buttons, a track ball, a joystick, and the like. The output devices 504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, environmental resources are allocated for users; displaying a mirror image interface, wherein the mirror image interface comprises a pre-acquired mirror image identifier; receiving a first input for the mirrored interface; and installing the mirror image corresponding to the first target identifier in the environment resource according to the first target identifier determined by the first input, so as to obtain a target running environment of the user. The running environment obtaining device can set a target running environment for a user by receiving a first input of the user, can provide diversified running environments for the user, and can customize the target running environment according to own requirements so as to ensure optimization of development efficiency.
In addition, the running environment acquisition device receives a second input of the user, and installs the application program corresponding to the second target identifier according to the second target identifier determined by the second input, so that the user can install the user layer application program in the target running environment in a self-defined manner, and more use convenience is provided for the user.
The data (which can be understood as user data) generated by the target application program is stored in the storage space, so that the target running environment of the user can be enabled to be effective all the time in the whole development process, the influence of the development shutdown destruction can be avoided, and the consistency and consistency of the development of the user are ensured.
The application provides at least one of hardware mirror image, driving version mirror image and language environment mirror image, provides more various predefined selection schemes for users, custom packages (packages can be understood as target running environments) based on user requirements, and keeps the whole package to meet the requirements of users in the whole period of user development, so that the users do not need to worry about environmental problems and bottom library problems, and the optimization of user development efficiency is ensured as much as possible.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed embodiments are achieved, and are not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (8)

1. An operating environment acquisition method, comprising:
allocating environmental resources for users;
displaying a mirror image interface, wherein the mirror image interface comprises a pre-acquired mirror image identifier; the identification is displayed in a list form when displayed in the mirror image interface;
receiving a first input for the mirrored interface;
installing a mirror image corresponding to the first target identifier in the environment resource according to the first target identifier determined by the first input to obtain a target running environment of the user;
after the first target identifier determined according to the first input installs the image corresponding to the first target identifier in the environment resource to obtain the target running environment of the user, the method further includes:
displaying an application program identification interface in the target running environment, wherein the application program identification interface comprises an identification of an application program;
receiving a second input for the application identification interface;
and installing a target application program corresponding to the second target identifier according to the second target identifier determined by the second input.
2. The method according to claim 1, further comprising, after the second target identifier determined according to the second input is installed, after installing the target application corresponding to the second target identifier:
and storing the data generated by the target application program into a storage space.
3. The method of claim 1, wherein the image comprises at least one of a hardware image, a drive version image, and a language environment image.
4. An operating environment acquisition device, comprising:
the distribution module is used for distributing environmental resources for users;
the first display module is used for displaying a mirror image interface, wherein the mirror image interface comprises a pre-acquired mirror image identifier; the identification is displayed in a list form when displayed in the mirror image interface;
a first receiving module for receiving a first input for the mirrored interface;
a first installation module for determining a first target identifier according to the first input,
installing the mirror image corresponding to the first target identifier in the environment resource to obtain a target running environment of the user;
the second display module is used for displaying an application program identification interface in the target running environment, wherein the application program identification interface comprises an identification of an application program;
a second receiving module for receiving a second input for the application identification interface;
and the second installation module is used for installing the target application program corresponding to the second target identifier according to the second target identifier determined by the second input.
5. The apparatus as recited in claim 4, further comprising:
and the storage module is used for storing the data generated by the target application program into a storage space.
6. The apparatus of claim 4, wherein the image comprises at least one of a hardware image, a drive version image, and a language environment image.
7. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3.
8. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-3.
CN201911119543.4A 2019-11-15 2019-11-15 Method and device for acquiring running environment and electronic equipment Active CN110908675B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911119543.4A CN110908675B (en) 2019-11-15 2019-11-15 Method and device for acquiring running environment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911119543.4A CN110908675B (en) 2019-11-15 2019-11-15 Method and device for acquiring running environment and electronic equipment

Publications (2)

Publication Number Publication Date
CN110908675A CN110908675A (en) 2020-03-24
CN110908675B true CN110908675B (en) 2023-10-24

Family

ID=69817438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911119543.4A Active CN110908675B (en) 2019-11-15 2019-11-15 Method and device for acquiring running environment and electronic equipment

Country Status (1)

Country Link
CN (1) CN110908675B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113608803A (en) * 2021-08-16 2021-11-05 上海万物新生环保科技集团有限公司 Method and equipment for realizing functional operation in multi-operation environment
CN114201701B (en) * 2022-02-18 2022-05-03 成都鲁易科技有限公司 Method and device for identifying operating environment, storage medium, server and client
CN116192670A (en) * 2023-02-02 2023-05-30 北京百度网讯科技有限公司 Environment deployment method, device, equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201648A (en) * 2016-06-27 2016-12-07 浪潮电子信息产业股份有限公司 A kind of virtual machine creation method and device
CN106911500A (en) * 2017-02-20 2017-06-30 北京百度网讯科技有限公司 The collocation method of physical machine, device and physical machine
CN107220100A (en) * 2016-03-22 2017-09-29 中国移动(深圳)有限公司 One kind exploitation O&M method, device and cloud computing PaaS platform
CN107463432A (en) * 2017-08-17 2017-12-12 福建中金在线信息科技有限公司 Server production environment dispositions method, device, electronic equipment and storage medium
CN107797806A (en) * 2016-08-29 2018-03-13 北京雪球信息科技有限公司 A kind of dispositions method of program
CN108376061A (en) * 2016-10-13 2018-08-07 北京百度网讯科技有限公司 Method and apparatus for developing automatic driving vehicle application
CN110083366A (en) * 2018-01-24 2019-08-02 腾讯科技(深圳)有限公司 The generation method of application runtime environment, calculates equipment and storage medium at device
CN110347389A (en) * 2019-07-19 2019-10-18 中国工商银行股份有限公司 Processing method, the device and system of algorithm file

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080201705A1 (en) * 2007-02-15 2008-08-21 Sun Microsystems, Inc. Apparatus and method for generating a software dependency map

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220100A (en) * 2016-03-22 2017-09-29 中国移动(深圳)有限公司 One kind exploitation O&M method, device and cloud computing PaaS platform
CN106201648A (en) * 2016-06-27 2016-12-07 浪潮电子信息产业股份有限公司 A kind of virtual machine creation method and device
CN107797806A (en) * 2016-08-29 2018-03-13 北京雪球信息科技有限公司 A kind of dispositions method of program
CN108376061A (en) * 2016-10-13 2018-08-07 北京百度网讯科技有限公司 Method and apparatus for developing automatic driving vehicle application
CN106911500A (en) * 2017-02-20 2017-06-30 北京百度网讯科技有限公司 The collocation method of physical machine, device and physical machine
CN107463432A (en) * 2017-08-17 2017-12-12 福建中金在线信息科技有限公司 Server production environment dispositions method, device, electronic equipment and storage medium
CN110083366A (en) * 2018-01-24 2019-08-02 腾讯科技(深圳)有限公司 The generation method of application runtime environment, calculates equipment and storage medium at device
CN110347389A (en) * 2019-07-19 2019-10-18 中国工商银行股份有限公司 Processing method, the device and system of algorithm file

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HADAB: Enabling Fault Tolerance in Parallel Applications Running in Distributed Environments;Vania Boccia 等;《International Conference on Parallel Processing and Applied Mathematics》;第7203卷;700–709 *
服务创新平台中环境部署和应用部署的研究与实现;黄玲;《中国优秀硕士学位论文全文数据库 信息科技辑》(第4期);I139-485 *
移动服务端运行环境搭建的研发与应用;冯小宸;《中国优秀硕士学位论文全文数据库 信息科技辑》(第2期);I138-1922 *

Also Published As

Publication number Publication date
CN110908675A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
US20210208951A1 (en) Method and apparatus for sharing gpu, electronic device and readable storage medium
CN110795195B (en) Webpage rendering method and device, electronic equipment and storage medium
CN110908675B (en) Method and device for acquiring running environment and electronic equipment
EP3869336A1 (en) Method and apparatus for processing development machine operation task, device and storage medium
CN112015521B (en) Configuration method and device of reasoning service, electronic equipment and storage medium
JP5352890B2 (en) Computer system operation management method, computer system, and computer-readable medium storing program
CN111767090A (en) Method and device for starting small program, electronic equipment and storage medium
CN111586128A (en) Method, device and equipment for acquiring applet data and storage medium
CN111782181A (en) Code generation method and device, electronic equipment and storage medium
KR20210124543A (en) MANAGING MULTI-SINGLE-TENANT SaaS SERVICES
CN112328328B (en) Method, device, equipment and storage medium for equipment driving reload
CN112328301A (en) Method and device for maintaining consistency of operating environments, storage medium and electronic equipment
CN111966939A (en) Page skipping method and device
CN111767059B (en) Deployment method and device of deep learning model, electronic equipment and storage medium
US20240143350A1 (en) Rules Based User Interface Generation
CN110688327B (en) Video memory management method and device, electronic equipment and computer readable storage medium
CN115576565A (en) Application program deployment method and device, electronic equipment and storage medium
CN112035210B (en) Method, apparatus, device and medium for outputting color information
CN114661274A (en) Method and device for generating intelligent contract
JP7266556B2 (en) AR navigation display method, device, electronic device and storage medium
CN111651229A (en) Font changing method, device and equipment
CN115686293A (en) Page configuration method and device
CN113127135B (en) Container starting method, container starting device and electronic equipment
CN110851187B (en) Video memory processing method, device, equipment and medium
CN113946331A (en) View layout method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant