Map point of interest environment deployment method, device, electronic device and storage medium

Through the automated deployment method of the environment platform, using easyenv and intelligent allocation services, the problem of inefficient deployment of map point of interest environments was solved, stable deployment of baseline environments and efficient reuse of feature environments were achieved, and processing efficiency and security were improved.

CN115061696BActive Publication Date: 2025-09-16BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210523118.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-13
Publication Date
2025-09-16
Estimated Expiration
2042-05-13

AI Technical Summary

Technical Problem

The deployment of existing map point of interest environments is inefficient and relies on manual methods, resulting in high manpower and time costs.

Method used

By adopting the environment platform, through the automated baseline environment and feature environment deployment method, and utilizing the easyenv environment platform and intelligent allocation service, stable deployment of the baseline environment and efficient reuse of the feature environment can be achieved.

Benefits of technology

Save manpower and time costs, improve processing efficiency, implement permission management, and support various user operation needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115061696B_ABST
    Figure CN115061696B_ABST
Patent Text Reader

Abstract

This disclosure provides a method, device, electronic device, and storage medium for deploying a map point of interest environment, relating to artificial intelligence fields such as intelligent transportation and cloud computing. The method may include: an environment platform obtaining a first deployment request for a baseline environment and completing deployment of the baseline environment based on the baseline environment parameters and middleware information corresponding to the first deployment request; and the environment platform obtaining a second deployment request for any specific environment and, based on the baseline environment, completing deployment of the specific environment based on the specific environment parameters and middleware information corresponding to the second deployment request. Application of the disclosed solution can save manpower and time costs and improve processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to a method, device, electronic device, and storage medium for deploying point-of-interest (POI) environments on maps in fields such as intelligent transportation and cloud computing. Background Art

[0002] The map point of interest (POI) service is a service system with many modules. To complete the relevant tests, the map point of interest environment deployment is required. Summary of the Invention

[0003] The present disclosure provides a method, device, electronic device and storage medium for deploying a map point of interest environment.

[0004] A method for deploying a map point of interest environment, comprising:

[0005] The environment platform obtains a first deployment request for a reference environment, and completes deployment of the reference environment according to reference environment parameters and middleware information corresponding to the first deployment request;

[0006] The environment platform obtains a second deployment request for any characteristic environment, and completes deployment of the characteristic environment based on the baseline environment and characteristic environment parameters and middleware information corresponding to the second deployment request.

[0007] A map point of interest environment deployment device, comprising: a first deployment module and a second deployment module;

[0008] The first deployment module is configured to obtain a first deployment request for a reference environment, and complete deployment of the reference environment according to reference environment parameters and middleware information corresponding to the first deployment request;

[0009] The second deployment module is configured to obtain a second deployment request for any characteristic environment, and complete the deployment of the characteristic environment based on the baseline environment and characteristic environment parameters and middleware information corresponding to the second deployment request.

[0010] An electronic device, comprising:

[0011] at least one processor; and

[0012] a memory communicatively connected to the at least one processor; wherein,

[0013] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the method as described above.

[0014] A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method as described above.

[0015] A computer program product comprises a computer program / instruction, which implements the above method when the computer program / instruction is executed by a processor.

[0016] One embodiment disclosed above has the following advantages or beneficial effects: the environment platform can be used to automatically deploy the baseline environment and the characteristic environment, thereby saving manpower and time costs and improving processing efficiency.

[0017] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings are provided to facilitate a better understanding of the present invention and do not constitute a limitation of the present disclosure.

[0019] Figure 1 This is a flow chart of an embodiment of the method for deploying a map point of interest environment according to the present disclosure;

[0020] Figure 2 A flowchart of an embodiment of the benchmark environment deployment method described in the present disclosure;

[0021] Figure 3 A schematic diagram of setting baseline environmental parameters through the Agile pipeline method described in this disclosure;

[0022] Figure 4 A flowchart of an embodiment of the characteristic environment deployment method described in the present disclosure;

[0023] Figure 5 A schematic diagram of the environment reuse method described in the present disclosure;

[0024] Figure 6 This is a schematic diagram of the overall implementation process of the map point of interest environment deployment method disclosed in the present invention;

[0025] Figure 7 Schematic diagram of the structure of the first embodiment 700 of the device for deploying a map point of interest environment according to the present disclosure;

[0026] Figure 8 Schematic diagram of the structure of the second embodiment 800 of the device for deploying a map point of interest environment according to the present disclosure;

[0027] Figure 9 A schematic block diagram of an electronic device 900 that can be used to implement an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0028] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0029] Furthermore, it should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " as used herein generally indicates that the associated objects are in an "or" relationship.

[0030] Figure 1 This is a flow chart of an embodiment of the method for deploying a map point of interest environment according to the present disclosure. Figure 1 As shown, the following specific implementation methods are included.

[0031] In step 101, the environment platform obtains a first deployment request for a reference environment, and completes deployment of the reference environment according to the reference environment parameters and middleware information corresponding to the first deployment request.

[0032] In step 102 , the environment platform obtains a second deployment request for any characteristic environment, and completes the deployment of the characteristic environment based on the baseline environment, characteristic environment parameters corresponding to the second deployment request, and middleware information.

[0033] Currently, the deployment of map point of interest environments mostly relies on manual deployment, which is inefficient. However, by adopting the solution described in the above method embodiment, the environment platform can be used to achieve automatic deployment of baseline environments and feature environments, thereby saving manpower and time costs and improving processing efficiency.

[0034] In one embodiment of the present disclosure, the environment platform may be an easyenv environment platform.

[0035] In actual applications, the platforms that can be used include the easyenv environment platform and the xSpanning-tree Protocol (XSTP) platform. Considering that the environment deployment method based on the latter platform has problems such as high access cost and long environment deployment time, the easyenv environment platform is selected in the solution described in this disclosure.

[0036] In actual applications, for any product line, such as the quality assurance (QA) product line or the research and development engineer (RD) product line, a baseline environment can be deployed first, and then a feature environment can be deployed based on the baseline environment.

[0037] The environment platform receives a first deployment request for the baseline environment and completes its deployment based on the baseline environment parameters and middleware information corresponding to the first deployment request. The baseline environment is a stable and fully modular environment that can be used for local debugging dependency calls, joint debugging environment dependency calls, and dependency calls in other functional testing environments.

[0038] The feature environment can be used to perform specified functional tests. For the feature environment, the idea of ​​environment reuse can be adopted, that is, to maximize the reuse of existing modules in the benchmark environment instead of completely rebuilding it.

[0039] The following details the deployment methods for the baseline environment and feature environment.

[0040] 1) Benchmark environment

[0041] Figure 2 This is a flow chart of an embodiment of the benchmark environment deployment method described in this disclosure. Figure 2 As shown, the following specific implementation methods are included.

[0042] In step 201, a first environment configuration file is generated according to baseline environment parameters.

[0043] In step 202, the compilation output is repackaged according to the compilation output address in the first environment configuration file.

[0044] In step 203, the first environment configuration file is updated according to the compilation output repackaging result.

[0045] In step 204, the deployment of the baseline environment is completed according to the updated first environment configuration file and the middleware information corresponding to the first deployment request.

[0046] Through the above processing, the deployment of the benchmark environment can be completed efficiently and accurately, thus laying a good foundation for subsequent processing.

[0047] In one embodiment of the present disclosure, the user who initiated the first deployment request may be authenticated first. In response to determining that the authentication is successful, a first environment configuration file may be generated according to the baseline environment parameters.

[0048] There is no restriction on how to perform permission verification. For example, if the current corresponding product line is the QA product line, then it can be verified whether the user who initiated the first deployment request is a QA user. If so, it can be determined that the verification is successful. Otherwise, it can be determined that the verification is unsuccessful.

[0049] By performing permission verification, effective permission management can be achieved, ensuring the legality and security of user operations.

[0050] There is no restriction on how to obtain the baseline environment parameters. For example, the baseline environment parameters carried in the first deployment request can be obtained. In actual applications, users can set the baseline environment parameters through an agile pipeline. Figure 3 As shown, Figure 3 This is a schematic diagram of setting the baseline environment parameters through the Agile pipeline method described in this disclosure. The contents of the baseline environment parameters can be determined according to actual needs, such as the environment name, the product line where the environment is located, the compilation output address, etc. Figure 3 After setting the baseline environment parameters on the interface shown, you can click "Confirm", and accordingly, it can be considered that the user has issued the first deployment request.

[0051] In the solution described in the present disclosure, the following processing can also be performed for the above-mentioned benchmark environment parameters: determine whether the compilation output exists (such as whether it is expired), determine whether the parameters meet the specifications, etc. If the results are all yes, subsequent processing can continue.

[0052] According to the baseline environment parameters, a first environment configuration file may be generated, for example, a Yet Another Markup Language (YAML) file may be generated in an existing manner.

[0053] In addition, the compilation output can be repackaged according to the compilation output address in the first environment configuration file, that is, the compilation output can be obtained according to the compilation output address, and it can be unpacked and configured, and then the processing result can be repackaged.

[0054] Furthermore, the first environment configuration file may be updated according to the compilation output repackaging result. For example, the compilation output repackaging result may be used to replace the corresponding content in the first environment configuration file.

[0055] Accordingly, the deployment of the baseline environment can be completed according to the updated first environment configuration file and the middleware information corresponding to the first deployment request. For example, the middleware information can be used as an input environment variable to deploy the baseline environment.

[0056] In one embodiment of the present disclosure, the environment platform may send a middleware acquisition request to the intelligent allocation service. The intelligent allocation service may access the environment platform in the form of a plug-in and may obtain the middleware information returned by the intelligent allocation service. The middleware information is the middleware information corresponding to the module in the benchmark environment determined by the intelligent allocation service according to a pre-set correspondence.

[0057] The middleware generally refers to the basic dynamic web page service system (bigpipe) middleware, and the following description will be made using the bigpipe middleware as an example.

[0058] The map point of interest service chain requires a lot of BigPipe middleware, but the EasyEnv environment platform does not support the allocation and recycling of BigPipe resources. Therefore, the solution described in this disclosure has developed an intelligent allocation service. The intelligent allocation service can be connected to the environment platform as a plug-in to manage all BigPipe middleware in the chain. In addition, through the corresponding relationship, the required BigPipe middleware information can be easily and quickly obtained. The BigPipe middleware information may include the name of the BigPipe middleware and resource configuration.

[0059] The intelligent allocation service can be connected to the environment platform through a webhook. In addition, multiple (e.g., 40+) bigpipe instances can be pre-defined, and the instance details can be written to the Baidu Distributed Redis Platform (BDRP). Each bigpipe instance is a bigpipe middleware.

[0060] In practical applications, it can be understood that multiple bigpipe middleware are divided into two sets, which are called the first set and the second set for the convenience of expression. The first set corresponds to the baseline environment, and the second set corresponds to the feature environment. The bigpipe middleware in the first set is fixed, that is, the correspondence between the bigpipe middleware in the first set and the modules in the baseline environment is pre-set. For example, the baseline environment module 1 in the baseline environment corresponds to the bigpipe middleware 1 in the first set, and the baseline environment module 2 in the baseline environment corresponds to the bigpipe middleware 2 in the first set, etc.

[0061] In actual applications, some modules may require the BigPipe middleware while others may not. Furthermore, a module may correspond to one or more BigPipe middlewares, depending on actual needs. For example, if module A has two downstream modules, then module A can correspond to two BigPipe middlewares, each used to dispatch module A's output to the corresponding downstream module.

[0062] After the baseline environment is deployed, the deployment success information can be automatically recorded in the database and returned to the user who initiated the first deployment request. For example, an email can be sent to inform the user who initiated the first deployment request that the deployment was successful, along with deployment details such as the environment address. If the deployment fails, the deployment failure information can also be automatically recorded in the database and returned to the user who initiated the first deployment request. For example, an email can be sent to inform the user who initiated the first deployment request that the deployment failed, along with the reason for the failure.

[0063] 2) Feature Environment

[0064] Figure 4 This is a flow chart of an embodiment of the characteristic environment deployment method described in this disclosure. Figure 4 As shown, the following specific implementation methods are included.

[0065] In step 401, a second environment configuration file is generated according to characteristic environment parameters.

[0066] In step 402, the compilation output is repackaged according to the compilation output address in the second environment configuration file.

[0067] In step 403, the second environment configuration file is updated according to the compilation output repackaging result.

[0068] In step 404, based on the baseline environment, the deployment of the characteristic environment is completed according to the updated second environment configuration file and the middleware information corresponding to the second deployment request.

[0069] Through the above processing, the deployment of the feature environment can be completed efficiently and accurately, thereby meeting various testing requirements.

[0070] In one embodiment of the present disclosure, the user who initiated the second deployment request may be authenticated first. In response to determining that the authentication is successful, a second environment configuration file may be generated according to the characteristic environment parameters.

[0071] There is no restriction on how to perform permission verification. For example, if the current corresponding product line is the QA product line, then it can be verified whether the user who initiated the first deployment request is a QA user. If so, it can be determined that the verification is successful. Otherwise, it can be determined that the verification is unsuccessful.

[0072] By performing permission verification, effective permission management can be achieved, ensuring the legality and security of user operations.

[0073] There is no restriction on how to obtain the feature environment parameters. For example, the feature environment parameters carried in the second deployment request can be obtained. The specific content of the feature environment parameters can be determined according to actual needs, such as the environment name, the topology to which the environment belongs, the compilation output address, etc. In actual applications, users can set feature environment parameters through the Agile pipeline method, such as in Figure 3 Set the characteristic environment parameters on the interface shown, and then click "Confirm". Accordingly, it can be considered that the user has issued a second deployment request.

[0074] In the solution described in the present disclosure, the following processing can be performed on the characteristic environment parameters: determining whether the compilation output exists, determining whether the parameters meet the specifications, etc. If the results are all yes, subsequent processing can be continued.

[0075] According to the characteristic environment parameters, a second environment configuration file may be generated, such as a YAML file.

[0076] In addition, the compilation output can be repackaged according to the compilation output address in the second environment configuration file, that is, the compilation output can be obtained according to the compilation output address, and it can be unpacked and configured, and then the processing result can be repackaged.

[0077] Furthermore, the second environment configuration file may be updated according to the compilation output repackaging result. For example, the compilation output repackaging result may be used to replace the corresponding content in the second environment configuration file.

[0078] Accordingly, the deployment of the characteristic environment can be completed based on the reference environment and the updated second environment configuration file and the middleware information corresponding to the second deployment request. For example, the middleware information can be used as an environment variable to deploy the characteristic environment.

[0079] In one embodiment of the present disclosure, the environment platform may send a middleware acquisition request to the intelligent allocation service, and may obtain the middleware information returned by the intelligent allocation service, wherein the middleware information is the idle middleware information selected by the intelligent allocation service from the set of candidate middleware for the module in the characteristic environment.

[0080] The following description still uses the bigpipe middleware as an example.

[0081] The set of middleware to be selected is the aforementioned second set. The second set may include multiple bigpipe middlewares. The resource configurations of the bigpipe middlewares may be the same, but the names and the like may be different.

[0082] The intelligent allocation service can query the status of each BigPipe middleware in the second set, which may include an occupied state and an idle state. For any characteristic environment, the module that needs to be configured with BigPipe middleware and the number of configured BigPipe middleware can be determined, and the number of idle BigPipe middleware can be allocated accordingly.

[0083] That is, the idle bigpipe middleware can be assigned to any module in any feature environment, which is very flexible and convenient.

[0084] In addition, in one embodiment of the present disclosure, when the environment platform determines that any feature environment is released, it can also release the bigpipe middleware occupied by the feature environment, and can change the middleware corresponding to the feature environment in the selected middleware set (i.e., the second set) from an occupied state to an idle state through an intelligent allocation service.

[0085] Through the above processing, the bigpipe resources can be recycled in a timely manner with the help of intelligent allocation services.

[0086] In actual applications, the intelligent allocation service can also be used to implement some other functions, such as querying the bigpipe middleware occupied by the feature environment, querying the bigpipe environment variables passed in the feature environment, etc. Generally speaking, various functions related to the management of the bigpipe middleware can be completed by the intelligent allocation service.

[0087] In one embodiment of the present disclosure, environment reuse can also be performed, that is, the deployment of the characteristic environment can be completed by reusing some modules in the baseline environment. The said some modules are modules in the characteristic environment that do not need to be modified compared with the baseline environment, thereby further improving deployment efficiency and reducing resource consumption.

[0088] Figure 5 Schematic diagram of the environment reuse method described in this disclosure. Figure 5 As shown, assuming that the baseline environment includes baseline environment module A, baseline environment module B, baseline environment module C, and baseline environment module D, the feature environment module B is changed in the feature environment, and the upstream feature environment module A depends on the feature environment module B. Therefore, the feature environment module A and the feature environment module B can be redeployed, and the baseline environment module C and the baseline environment module D can be reused. Figure 5 The "inlet" shown in the figure refers to the entrance of the traffic.

[0089] After the feature environment is deployed, the deployment success information can be automatically recorded in the database and returned to the user who initiated the second deployment request. For example, an email can be sent to inform the user who initiated the second deployment request that the deployment was successful, and deployment details such as the environment address can be provided. If the deployment fails, the deployment failure information can also be automatically recorded in the database and returned to the user who initiated the second deployment request. For example, an email can be sent to inform the user who initiated the second deployment request that the deployment failed, and the reason for the failure can be provided.

[0090] In one embodiment of the present disclosure, the environment platform can also support users in managing and maintaining the environment through the provided predetermined interface, such as supporting users to perform one or any combination of the following operations: querying idle bigpipe middleware, querying the environment address, querying topology details, renewing the feature environment, releasing the feature environment, querying the name of the environment under name, and renewing the environment under name.

[0091] The default release time for a feature environment is usually 2 days, and can be set to a maximum of 5 days. You can renew the feature environment in advance by performing the above-mentioned feature environment renewal operation.

[0092] Releasing a feature environment means that users can proactively release a deployed feature environment.

[0093] In addition, a user can create (ie, deploy) multiple feature environments, for example, 10. Then, the environment names of these 10 feature environments can be queried by querying the environment names under the name.

[0094] In actual applications, users can directly send corresponding operation requests to the environment platform in some way to complete the corresponding operation, or they can use robots to complete the corresponding operation, such as sending operation requests to robots, and the robot will interact with the environment platform on behalf of the user to complete the corresponding operation. There is no restriction on the specific method used.

[0095] Combined with the above introduction, Figure 6 This is a schematic diagram of the overall implementation process of the method for deploying the map point of interest environment described in this disclosure. Figure 6 As shown, taking the QA product line as an example, a baseline environment can be deployed and synchronized with the online environment. Synchronization can be automatic or manually triggered. Based on the baseline environment, one or more feature environments can be deployed. Furthermore, multiple feature environments can be deployed in parallel without interfering with each other. Feature environment deployment can include both creating and updating new feature environments. All of these operations can be completed within the environment platform, and intelligent allocation services can be used to obtain the BigPipe middleware information required for baseline and feature environment deployment.

[0096] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited by the order of the actions described, because according to the present disclosure, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present disclosure. In addition, for parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0097] In summary, by adopting the solution described in the embodiment of the method disclosed herein, one-click automatic deployment of the baseline environment and the feature environment can be achieved based on the environment platform, thereby saving manpower and time costs, improving processing efficiency, and realizing permission management and supporting various user operations, thereby meeting various user needs. In addition, it can be applied to various product lines such as QA and RD, and has wide applicability.

[0098] The above is an introduction to the method embodiment. The following is a further explanation of the solution disclosed in the present disclosure through an apparatus embodiment.

[0099] Figure 7 Schematic diagram of the structure of the first embodiment 700 of the device for deploying a map point of interest environment according to the present disclosure. Figure 7 As shown, it includes: a first deployment module 701 and a second deployment module 702.

[0100] The first deployment module 701 is configured to obtain a first deployment request for a reference environment, and complete deployment of the reference environment according to reference environment parameters and middleware information corresponding to the first deployment request.

[0101] The second deployment module 702 is configured to obtain a second deployment request for any characteristic environment, and complete the deployment of the characteristic environment based on the reference environment, characteristic environment parameters corresponding to the second deployment request, and middleware information.

[0102] By adopting the solution described in the above device embodiment, the automatic deployment of the baseline environment and the characteristic environment can be achieved with the help of the environment platform, thereby saving manpower and time costs and improving processing efficiency.

[0103] In one embodiment of the present disclosure, the first deployment module 701 can send a middleware acquisition request to the intelligent allocation service. The intelligent allocation service is accessed in the form of a plug-in and can obtain the middleware information returned by the intelligent allocation service. The middleware information is the middleware information corresponding to the module in the benchmark environment determined by the intelligent allocation service according to a pre-set correspondence.

[0104] In addition, in one embodiment of the present disclosure, the first deployment module 701 can generate a first environment configuration file based on the baseline environment parameters, and can repackage the compilation output according to the compilation output address in the first environment configuration file. The first environment configuration file can then be updated based on the compilation output repackaging result, and the deployment of the baseline environment can be completed based on the updated first environment configuration file and the middleware information corresponding to the first deployment request.

[0105] In one embodiment of the present disclosure, the first deployment module 701 may further perform authority verification on the user who initiated the first deployment request, and in response to determining that the verification is passed, generate a first environment configuration file according to the baseline environment parameters.

[0106] In one embodiment of the present disclosure, the second deployment module 702 may send a middleware acquisition request to the intelligent allocation service, and may obtain the middleware information returned by the intelligent allocation service, wherein the middleware information is the idle middleware information selected by the intelligent allocation service for the module in the characteristic environment from the set of candidate middleware.

[0107] In one embodiment of the present disclosure, in response to determining that any feature environment is released, the second deployment module 702 may also release the middleware occupied by the feature environment, and may modify the middleware corresponding to the feature environment in the set of candidate middleware from an occupied state to an idle state through an intelligent allocation service.

[0108] In addition, in one embodiment of the present disclosure, the second deployment module 702 can generate a second environment configuration file based on the characteristic environment parameters, and can repackage the compilation output according to the compilation output address in the second environment configuration file, and then can update the second environment configuration file according to the compilation output repackaging result, and then can complete the deployment of the characteristic environment based on the baseline environment and the updated second environment configuration file and the middleware information corresponding to the second deployment request.

[0109] In one embodiment of the present disclosure, the second deployment module 702 may further perform authority verification on the user who initiated the second deployment request, and in response to determining that the verification is passed, generate a second environment configuration file according to the characteristic environment parameters.

[0110] In addition, when deploying the characteristic environment, the environment reuse method can be adopted, that is, the second deployment module 702 can complete the deployment of the characteristic environment by reusing some modules in the baseline environment. The said some modules are modules in the characteristic environment that do not need to be modified compared with the baseline environment.

[0111] Figure 8 This is a schematic diagram of the structure of the second embodiment 800 of the device for deploying a map point of interest environment according to the present disclosure. Figure 8As shown, it includes: a first deployment module 701, a second deployment module 702 and an environment management module 703.

[0112] Among them, the first deployment module 701 and the second deployment module 702 are Figure 7 The environment management module 703 is used to support the user to manage and maintain the environment through a predetermined interface.

[0113] For example, users can perform one or any combination of the following operations: query idle bigpipe middleware, query environment address, query topology details, renew feature environment, release feature environment, query the name of the environment under name, and renew the environment under name.

[0114] in addition, Figure 7 and Figure 8 The devices shown can all be applied to the easyenv environment platform.

[0115] Figure 7 and Figure 8 The specific working process of the device embodiment shown can refer to the relevant description in the aforementioned method embodiment and will not be repeated here.

[0116] In summary, by adopting the solution described in the embodiment of the device disclosed herein, one-click automatic deployment of the baseline environment and the feature environment can be achieved based on the environment platform, thereby saving manpower and time costs, improving processing efficiency, and realizing permission management and supporting various user operations, thereby meeting various user needs. In addition, it can be applied to various product lines such as QA and RD, and has wide applicability.

[0117] The solutions described in this disclosure can be applied to the field of artificial intelligence, particularly in areas such as intelligent transportation and cloud computing. Artificial intelligence is the study of how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). It involves both hardware- and software-level technologies. Artificial intelligence hardware technologies generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing. Artificial intelligence software technologies primarily include computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graphs.

[0118] In the technical solutions disclosed herein, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0119] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0120] Figure 9 A schematic block diagram of an electronic device 900 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0121] like Figure 9 As shown, the device 900 includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. Various programs and data required for the operation of the device 900 can also be stored in the RAM 903. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0122] Various components in the device 900 are connected to the I / O interface 905, including an input unit 906, such as a keyboard, a mouse, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a magnetic disk, an optical disk, etc.; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 909 allows the device 900 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0123] The computing unit 901 can be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 901 performs the various methods and processes described above, such as the methods described in the present disclosure. For example, in some embodiments, the methods described in the present disclosure can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 900 via the ROM 902 and / or the communication unit 909. When the computer program is loaded into the RAM 903 and executed by the computing unit 901, one or more steps of the method described in the present disclosure can be performed. Alternatively, in other embodiments, the computing unit 901 can be configured to perform the method described in the present disclosure in any other appropriate manner (e.g., by means of firmware).

[0124] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0125] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0126] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0127] To provide interaction with a user, the systems and techniques described herein 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 the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0128] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, 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 a local area network (LAN), a wide area network (WAN), and the Internet.

[0129] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship arises through computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain.

[0130] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not a limitation herein.

[0131] The above specific embodiments do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the scope of protection of this disclosure.

Claims

1. A method for deploying a map point of interest environment, comprising: The environment platform obtains a first deployment request for a baseline environment and completes deployment of the baseline environment based on baseline environment parameters and first middleware information corresponding to the first deployment request, wherein the first middleware information includes middleware information corresponding to modules in the baseline environment determined by an intelligent allocation service according to a pre-defined correspondence; the intelligent allocation service is connected to the environment platform in the form of a plug-in to manage middleware in a map point of interest business chain; The environment platform obtains a second deployment request for any characteristic environment, and completes the deployment of the characteristic environment based on the baseline environment, according to the characteristic environment parameters corresponding to the second deployment request and the second middleware information, including: completing the deployment of the characteristic environment by reusing some modules in the baseline environment, the some modules being modules in the characteristic environment that do not need to be modified compared to the baseline environment, and the second middleware information including: the middleware information in an idle state selected by the intelligent allocation service for the modules in the characteristic environment from the set of candidate middleware.

2. The method according to claim 1, wherein Acquiring the first middleware information includes: The environment platform sends a first middleware acquisition request to the intelligent allocation service; The environment platform obtains the first middleware information returned by the intelligent allocation service.

3. The method according to claim 1 or 2, wherein: Completing the deployment of the benchmark environment includes: generating a first environment configuration file according to the baseline environment parameters; Repackaging the compiled output according to the compiled output address in the first environment configuration file; Updating the first environment configuration file according to the compilation output repackaging result; The deployment of the benchmark environment is completed according to the updated first environment configuration file and the first middleware information.

4. The method according to claim 3, wherein: Generating a first environment configuration file according to the reference environment parameters includes: Performing authority verification on the user who initiated the first deployment request; In response to determining that the verification is passed, the first environment configuration file is generated according to the baseline environment parameters.

5. The method according to claim 1, wherein Obtaining the second middleware information includes: The environment platform sends a second middleware acquisition request to the intelligent allocation service; The environment platform obtains the second middleware information returned by the intelligent allocation service.

6. The method according to claim 5, further comprising: The environment platform determines that any characteristic environment is released, releases the middleware occupied by the characteristic environment, and changes the middleware corresponding to the characteristic environment in the set of candidate middleware from an occupied state to an idle state through the intelligent allocation service.

7. The method according to claim 1, 2, 5 or 6, wherein The completion of the deployment of the feature environment includes: generating a second environment configuration file according to the characteristic environment parameters; Repackaging the compiled output according to the compiled output address in the second environment configuration file; Updating the second environment configuration file according to the compilation output repackaging result; Based on the baseline environment, the deployment of the characteristic environment is completed according to the updated second environment configuration file and the second middleware information.

8. The method according to claim 7, wherein: Generating a second environment configuration file according to the characteristic environment parameters includes: Performing authority verification on the user who initiated the second deployment request; In response to determining that the verification is passed, the second environment configuration file is generated according to the characteristic environment parameters.

9. The method according to claim 1, 2, 5 or 6, further comprising: The environment platform supports users in managing and maintaining the environment by providing predetermined interfaces.

10. The method according to claim 1, 2, 5 or 6, wherein The environmental platform includes: easyenv environmental platform.

11. A device for deploying a map point of interest environment, applied to an environment platform, comprising: a first deployment module and a second deployment module; The first deployment module is configured to obtain a first deployment request for a reference environment and complete deployment of the reference environment based on reference environment parameters and first middleware information corresponding to the first deployment request, wherein the first middleware information includes middleware information corresponding to modules in the reference environment determined by an intelligent allocation service according to a pre-defined correspondence; the intelligent allocation service is connected to the environment platform in the form of a plug-in to manage middleware in a map point of interest service chain; The second deployment module is used to obtain a second deployment request for any characteristic environment, and complete the deployment of the characteristic environment based on the baseline environment, according to the characteristic environment parameters corresponding to the second deployment request and the second middleware information, including: completing the deployment of the characteristic environment by reusing some modules in the baseline environment, the some modules are modules in the characteristic environment that do not need to be modified compared to the baseline environment, and the second middleware information includes: the middleware information in an idle state selected by the intelligent allocation service for the modules in the characteristic environment from the set of candidate middleware.

12. The device according to claim 11, wherein The first deployment module sends a first middleware acquisition request to the intelligent allocation service to acquire the first middleware information returned by the intelligent allocation service.

13. The device according to claim 11 or 12, wherein: The first deployment module generates a first environment configuration file based on the baseline environment parameters, repackages the compilation output according to the compilation output address in the first environment configuration file, updates the first environment configuration file according to the compilation output repackaging result, and completes the deployment of the baseline environment based on the updated first environment configuration file and the first middleware information.

14. The device according to claim 13, wherein The first deployment module is further configured to perform permission verification on the user who initiated the first deployment request, and in response to determining that the verification is passed, generate the first environment configuration file according to the baseline environment parameters.

15. The device according to claim 11, wherein The second deployment module sends a second middleware acquisition request to the intelligent allocation service to acquire the second middleware information returned by the intelligent allocation service.

16. The device according to claim 15, wherein The second deployment module is further configured to, in response to determining that any feature environment is released, release the middleware occupied by the feature environment, and change the middleware corresponding to the feature environment in the set of candidate middleware from an occupied state to an idle state through the intelligent allocation service.

17. The apparatus of claim 11, 12, 15 or 16, wherein: The second deployment module generates a second environment configuration file according to the characteristic environment parameters, repackages the compilation output according to the compilation output address in the second environment configuration file, updates the second environment configuration file according to the compilation output repackaging result, and completes the deployment of the characteristic environment based on the baseline environment and the updated second environment configuration file and the second middleware information.

18. The device according to claim 17, wherein The second deployment module is further configured to perform authority verification on the user who initiated the second deployment request, and in response to determining that the verification is passed, generate the second environment configuration file according to the characteristic environment parameters.

19. The apparatus of claim 11, 12, 15, or 16, further comprising: The environment management module is used to support users in managing and maintaining the environment through the provided predetermined interfaces.

20. The apparatus of claim 11, 12, 15 or 16, wherein The environmental platform includes: easyenv environmental platform.

21. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 10.

22. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 10.

23. A computer program product comprising a computer program / instructions, which implement the method according to any one of claims 1 to 10 when executed by a processor.

Citation Information

Patent Citations

  • Program testing method and program testing device

    CN113360379A

  • Application environment delivery method and device

    CN113485726A