CN113590142A - Vehicle-mounted environment deployment method and device and electronic equipment - Google Patents

Vehicle-mounted environment deployment method and device and electronic equipment Download PDF

Info

Publication number
CN113590142A
CN113590142A CN202110876378.8A CN202110876378A CN113590142A CN 113590142 A CN113590142 A CN 113590142A CN 202110876378 A CN202110876378 A CN 202110876378A CN 113590142 A CN113590142 A CN 113590142A
Authority
CN
China
Prior art keywords
application
vehicle
deployed
environment deployment
environment
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.)
Pending
Application number
CN202110876378.8A
Other languages
Chinese (zh)
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.)
Zhidao Network Technology Beijing Co Ltd
Original Assignee
Zhidao Network Technology Beijing 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 Zhidao Network Technology Beijing Co Ltd filed Critical Zhidao Network Technology Beijing Co Ltd
Priority to CN202110876378.8A priority Critical patent/CN113590142A/en
Publication of CN113590142A publication Critical patent/CN113590142A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

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 vehicle-mounted environment deployment method and device and electronic equipment. The vehicle-mounted environment deployment method comprises the following steps: receiving a vehicle-mounted environment deployment instruction, wherein the vehicle-mounted environment deployment instruction indicates a vehicle-mounted environment to be deployed; determining an application to be deployed corresponding to the vehicle-mounted environment; and starting an environment deployment tool, and automatically deploying the application to be deployed on the vehicle machine through the environment deployment tool. The technical scheme of the application has the advantages that the operation is simple in the deployment process, the deployment efficiency can be obviously improved, and the labor cost can be reduced.

Description

Vehicle-mounted environment deployment method and device and electronic equipment
Technical Field
The application relates to the technical field of computers, in particular to a vehicle-mounted environment deployment method and device and electronic equipment.
Background
The car machine is a vehicle-mounted infotainment product installed in a vehicle for short, the car machine can realize information communication between people and the vehicle and between the vehicle and the outside (including the vehicle and the vehicle) in function, and along with the gradual progress of car machine tests, the installation and the deployment of the car machine environment are more and more frequent in the test work. The steps of setting up the test environment each time are very tedious, a series of packing, installation and restarting operations need to be manually executed, the efficiency is low, the manual operation is frequent, mistakes are easy to occur, and the maintenance and management cost is very high.
For example, if a plurality of car machines need to build the same environment, the same operation flow is executed by repeated labor. For example, there are many car machines tested at present, which are classified into D, C, E and other car machines, and if these car machines all need to switch environments, a series of operations such as packaging and installation need to be performed many times.
Disclosure of Invention
The present application aims to solve at least one of the above technical drawbacks, and particularly provides the following technical solution to enable deployment of a car-mounted device environment to be simple and efficient through an automated installation and deployment technology.
The embodiment of the application adopts the following technical scheme:
one aspect of the present application provides a vehicle-mounted device environment deployment method, including: receiving a vehicle-mounted environment deployment instruction, wherein the vehicle-mounted environment deployment instruction indicates a vehicle-mounted environment to be deployed; determining an application to be deployed corresponding to the vehicle-mounted environment; and starting an environment deployment tool, and automatically deploying the application to be deployed on the vehicle machine through the environment deployment tool.
In some embodiments, automatically deploying the application to be deployed on the in-vehicle machine through the environment deployment tool includes: triggering a packaging task through an environment deployment tool, and packaging an application to be deployed, which is issued on a target platform, through the packaging task to obtain a packaged application to be deployed; and downloading and installing the packaged application to be deployed through an environment deployment tool.
In some embodiments, before triggering the packaging task by the environment deployment tool, the method further comprises: detecting a connection state between a vehicle machine and a terminal through an environment deployment tool, wherein the terminal can access the target platform; and when the car machine is in a connection state with the terminal, triggering a packing task.
In some embodiments, downloading and installing the packaged application to be deployed by the environment deployment tool includes: downloading the packaged application to be deployed to a specified storage position of a terminal through an environment deployment tool; and installing the application to be deployed stored on the terminal according to the application type.
In some embodiments, the applications to be deployed include system applications and base applications; installing the application to be deployed stored on the terminal according to the application type, wherein the installing comprises the following steps: if the application to be deployed is a system application, deleting the system application on the vehicle machine, and then installing the system application on the vehicle machine based on a push installation command; and if the application to be deployed is the basic application, directly installing the basic application on the vehicle machine based on the install command.
In some embodiments, installing the application to be deployed stored on the terminal according to the application type further includes: and if the retry installation times of the application to be deployed reach or exceed the installation times set in the environment deployment tool, generating a notification of the installation failure of the application to be deployed.
In some embodiments, automatically deploying the application to be deployed on the in-vehicle machine through the environment deployment tool includes: and restarting the vehicle machine after all the applications to be deployed are installed on the vehicle machine by the environment deployment tool.
In some embodiments, automatically deploying the application to be deployed on the in-vehicle machine through the environment deployment tool includes: the environment deployment tool generating an installation log for a deployment process; acquiring the installation log; and detecting the deployment progress of the vehicle-mounted environment according to the installation log.
Another aspect of the present application provides a vehicle-mounted device environment deployment apparatus, which is used to implement the vehicle-mounted device environment deployment method.
In still another aspect of the present application, there is provided an electronic device including: a memory storing computer-executable instructions; and the processor, when the computer executable instruction is executed by the electronic equipment, enables the processor to execute the vehicle-mounted environment deployment method.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
according to the method and the device, the environment deployment tool is set up in advance, so that the environment deployment tool automatically executes application packaging, downloading, installing and restarting operations on the vehicle-mounted machine environment through a pre-compiled program script, a batch processing command and the like; therefore, when a test environment, an on-line environment and other vehicle-mounted environments need to be deployed on the vehicle-mounted device, the environment deployment tool can be quickly started in a one-click mode or an instruction response mode, the deployment of the vehicle-mounted environment is completed through the environment deployment tool, the whole deployment process is simple to operate, the deployment efficiency can be remarkably improved, and the labor cost can be reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of a vehicle-mounted device environment deployment method according to an embodiment of the present application;
FIG. 2 is a flowchart of an environment deployment tool automatic installation deployment application shown in an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a car-mounted device environment deployment apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The vehicle-mounted environment deployment tool is used for automatically packaging, installing, restarting and other installation deployment processes, labor payment is reduced, and vehicle-mounted environment construction efficiency is improved.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
An embodiment of the present application provides a vehicle-mounted device environment deployment method, and as shown in fig. 1, a flowchart of the vehicle-mounted device environment deployment method shown in the embodiment of the present application is provided, where as shown in fig. 1, the method of the embodiment at least includes the following steps:
step S110, a vehicle-mounted environment deployment instruction is received, and the vehicle-mounted environment deployment instruction indicates a vehicle-mounted environment to be deployed.
When environment deployment is carried out on a vehicle machine, a vehicle machine environment deployment instruction is received through a preset interface, when the vehicle machine needs to carry a test environment or needs to carry an on-line environment for testing, the vehicle machine environment deployment instruction for deploying the vehicle machine environment on the vehicle machine can be sent through the interface, and certainly, an operation instruction can be manually input on an interactive interface to trigger the vehicle machine environment deployment instruction. Specifically, how to deploy the instructions in the car connecting environment is a flexible setting by a person skilled in the art according to the actual situation, and is not limited specifically herein.
And step S120, determining the application to be deployed corresponding to the vehicle-mounted environment.
In practical applications, the in-vehicle environment includes a test environment and an online environment, and generally switching to the test environment or switching to the online environment requires downloading and installing a plurality of basic applications and system applications, so that the type of the in-vehicle environment to be deployed may be specified by an in-vehicle environment deployment instruction, for example, the type of the in-vehicle environment to be deployed is determined by a type identifier, so as to determine the application to be deployed corresponding to the type of the in-vehicle environment.
Step S130, starting an environment deployment tool, and automatically deploying the application to be deployed on the vehicle machine through the environment deployment tool.
The environment deployment tool is constructed in advance, and in order to improve the efficiency of the environment deployment tool, the environment deployment tool which supports continuous integration and can be automatically deployed can be set, for example, the environment deployment tool is constructed based on a Jenkins open source server, and the environment deployment tool can be an application program or a page plug-in and the like.
In practical application, the starting operation of the environment deployment tool may respond to the car machine environment deployment instruction, or the starting operation may be manually input on the interactive interface to start the environment deployment tool, and the environment deployment tool performs a series of operations such as application packaging, downloading, installation, and restarting on the car machine through a pre-programmed program script, a batch processing command, and the like.
As shown in fig. 1, in the embodiment, by pre-building an environment deployment tool, the environment deployment tool automatically executes application packaging, downloading, installing, and restarting operations on the in-vehicle environment through a pre-programmed program script, a batch processing command, and the like; therefore, when a test environment, an on-line environment and other vehicle-mounted environments need to be deployed on the vehicle-mounted device, the environment deployment tool can be quickly started in a one-click mode or an instruction response mode, the deployment of the vehicle-mounted environment is completed through the environment deployment tool, the whole deployment process is simple to operate, the deployment efficiency can be remarkably improved, and the labor cost can be reduced.
In an embodiment of the application, in step S130, automatically deploying the application to be deployed on the in-vehicle device through the environment deployment tool includes:
triggering a packaging task through an environment deployment tool, packaging the application to be deployed issued on the target platform through the packaging task to obtain the packaged application to be deployed, and downloading and installing the packaged application to be deployed through the environment deployment tool.
The car machine application is generally issued on a target platform, and for the car machine application issued on the target platform, the present embodiment may integrate a packing task in an environment deployment tool, after the environment deployment tool is started, a script of the environment deployment tool is executed, the packing task is triggered through the script, the packing task sequentially packs each application to be deployed, packs each application to be deployed issued on the target platform into an apk (android installation package) file suitable for being installed on a car machine, and downloads the apk file through the environment deployment tool.
During the downloading process of the application to be deployed, the packaged application to be deployed can be downloaded to a specified storage location of the terminal, and the application to be deployed stored on the terminal is installed according to the application type, where the terminal is a terminal capable of accessing a target platform. For example, the apk file is downloaded to a designated directory of a terminal such as a computer, after the download is completed, the environment deployment tool performs operations such as installation and replacement on the apk file through a batch processing command, so that the direct download of the apk file to a vehicle machine is avoided, and the influence on the running application of the vehicle machine is caused due to limited storage space of the vehicle machine.
Since the apk file is downloaded to the terminal instead of the car machine, the connection state between the car machine and the terminal is detected by the environment deployment tool before the packaging task is triggered by the environment deployment tool, and the packaging task is triggered when the car machine and the terminal are in the connection state.
After the application to be deployed is downloaded to the terminal, the application to be deployed is installed on the vehicle machine. Since the applications related to the car-machine environment generally include system applications and basic applications, the system applications include, for example, a press screen, a personal center, a desktop, an IoT service (internet of things service), a socket service (socket service), a passport service (authentication service), and the like, and the basic applications include, for example: radio applications, map applications, music-like applications, short video-like applications, search-like applications, and the like.
When the application to be deployed stored on the terminal is installed according to the application type, if the application to be deployed is a system application, the system application on the vehicle is deleted, and then the system application is installed on the vehicle based on the push installation command. For example, the script executes the adb uninstantall apk file name, executes the operation of deleting the system application, and then executes the script adb push/appointed path apk file name, and performs the system application type installation. And if the application to be deployed is the basic application, directly installing the basic application on the vehicle machine based on the install command.
It should be noted that, when the application to be deployed is installed on the in-vehicle device, if the installation frequency of the application to be deployed reaches or exceeds the installation frequency set in the environment deployment tool, a notification that the installation of the application to be deployed fails is generated. For example, if there is an application to be deployed that fails to be installed in the installation process, retry installation is performed, and if the number of retries is greater than or equal to 3, a notification of installation failure is generated to notify the user that the application to be deployed fails to be installed.
Therefore, after the environment deployment tool installs all the applications to be deployed on the vehicle machine, the vehicle machine is restarted, and after the vehicle machine is restarted, the new application program takes effect to complete deployment of the vehicle machine environment.
In practical application, the environment deployment tool generates installation logs aiming at the deployment process, namely the installation logs are generated in the packaging, downloading and installing processes of each application to be deployed, the installation logs are obtained, the deployment progress of the vehicle-mounted environment is detected according to the installation logs, and the vehicle-mounted environment deployment is convenient to manage.
Fig. 2 shows a flow of automatically installing and deploying an application program by an environment deployment tool, as shown in fig. 2, an application program written by python is taken as an example of the environment deployment tool, a user clicks the application program by one key, executes the application program, and determines whether a vehicle device is connected with a computer through a script of the application program, if not, the vehicle device is prompted to be connected with the computer, for example, the vehicle device and the computer are connected through a USB data line, and certainly, data connection may be performed through other methods, and a person skilled in the art may flexibly select the application program.
The method comprises the steps of checking the connection state between a vehicle machine and a computer through an adb devices command by script execution of an application program, triggering Jenkins packing tasks in an execution script after the vehicle machine is determined to be successfully connected with the computer, packing each application to be deployed through the Jenkins packing tasks, downloading a packed application apk file to a local appointed directory of the computer through the script after packing is completed, installing or replacing the apk file through a batch processing command, deleting the system application apk file first and then installing the push, and executing install common installation by basic application.
In the installation process, if an application which fails to be installed exists, the installation is retried, if the installation retries is more than or equal to 3 times, the installation failure notification is generated, the user is informed, and the installation retries can be set by the user. And if the plurality of basic applications and system applications related to the vehicle-mounted environment are all successfully installed, restarting the vehicle-mounted device, and after the vehicle-mounted device is restarted, finishing the deployment of the vehicle-mounted environment.
The vehicle-mounted environment deployment scheme is quick and effective, high in reusability, suitable for vehicle-mounted devices of any series, wide in applicability and capable of solving the problems of manual repeated operation and low efficiency.
Based on the same idea as the foregoing method, another embodiment of the present application further discloses a car-in-vehicle environment deployment apparatus, fig. 3 is a block diagram of a structure of the car-in-vehicle environment deployment apparatus shown in the embodiment of the present application, and as shown in fig. 3, the car-in-vehicle environment deployment apparatus 300 of the present embodiment at least includes:
a receiving unit 310, configured to receive a vehicle-mounted environment deployment instruction, where the vehicle-mounted environment deployment instruction indicates a vehicle-mounted environment to be deployed;
a determining unit 320, configured to determine an application to be deployed corresponding to the car-machine environment;
the deployment unit 330 is configured to start an environment deployment tool, and automatically deploy the application to be deployed on the in-vehicle machine through the environment deployment tool.
In some embodiments, the deployment unit 330 includes a packaging module, a download module;
the packaging module is used for triggering a packaging task through an environment deployment tool, and packaging the application to be deployed which is released on the target platform through the packaging task to obtain a packaged application to be deployed;
and the downloading module is used for downloading and installing the packaged application to be deployed through the environment deployment tool.
In some embodiments, the deployment unit 330 further comprises a connection module;
the connection module is used for detecting the connection state between the vehicle machine and the terminal through an environment deployment tool, and the terminal can access the target platform; and when the car machine is in a connection state with the terminal, triggering a packing task.
In some embodiments, the downloading module is configured to download the packaged application to be deployed to a specified storage location of the terminal through the environment deployment tool;
in some embodiments, the deployment unit 330 further comprises an installation module;
and the installation module is used for installing the application to be deployed stored on the terminal according to the application type.
In some embodiments, the installation module is further configured to, if the application to be deployed is a system application, delete the system application on the in-vehicle machine, and install the system application on the in-vehicle machine based on the push installation command; and if the application to be deployed is the basic application, directly installing the basic application on the vehicle machine based on the install command.
In some embodiments, the installation module is further configured to generate a notification that the installation of the application to be deployed fails if the number of times of retry installation of the application to be deployed reaches or exceeds the number of times of installation set in the environment deployment tool.
In some embodiments, deployment unit 330 further comprises a restart module;
and the restarting module is used for restarting the vehicle machine after the environment deployment tool installs all the applications to be deployed on the vehicle machine.
In some embodiments, the in-vehicle environment deployment apparatus 300 further includes a log processing unit;
and the log processing unit is used for generating an installation log aiming at the deployment process, acquiring the installation log and detecting the deployment progress of the vehicle-mounted environment according to the installation log.
It can be understood that, the in-vehicle environment deployment device can implement each step of the in-vehicle environment deployment method provided in the foregoing embodiment, and the relevant explanations about the in-vehicle environment deployment method are applicable to the in-vehicle environment deployment device, and are not described herein again.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to fig. 4, at a hardware level, the electronic device includes a processor, a memory, and optionally a network interface. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device also includes hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
And the processor reads the corresponding computer program from the nonvolatile memory to the memory and then runs the computer program to form the vehicle-mounted environment deployment device on a logic level. And the processor executes the program stored in the memory to realize the vehicle-mounted environment deployment method.
The car-machine environment deployment method disclosed in the embodiment shown in fig. 1 of the present application may be applied to a processor, or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory, and the processor reads information in the memory and completes the steps of the vehicle-mounted environment deployment method by combining hardware of the processor.
An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, where the one or more programs include instructions, and when the instructions are executed by an electronic device including a plurality of application programs, the in-vehicle environment deployment method shown in fig. 1 can be implemented.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A vehicle-mounted environment deployment method is characterized by comprising the following steps:
receiving a vehicle-mounted environment deployment instruction, wherein the vehicle-mounted environment deployment instruction indicates a vehicle-mounted environment to be deployed;
determining an application to be deployed corresponding to the vehicle-mounted environment;
and starting an environment deployment tool, and automatically deploying the application to be deployed on the vehicle machine through the environment deployment tool.
2. The method of claim 1, wherein automatically deploying the application to be deployed on a vehicle machine by the environment deployment tool comprises:
triggering a packaging task through an environment deployment tool, and packaging an application to be deployed, which is issued on a target platform, through the packaging task to obtain a packaged application to be deployed;
and downloading and installing the packaged application to be deployed through an environment deployment tool.
3. The method of claim 2, prior to triggering the packaging task via the environment deployment tool, further comprising:
detecting a connection state between a vehicle machine and a terminal through an environment deployment tool, wherein the terminal can access the target platform;
and when the car machine is in a connection state with the terminal, triggering a packing task.
4. The method of claim 3, wherein downloading and installing the packaged application to be deployed via the environment deployment tool comprises:
downloading the packaged application to be deployed to a specified storage position of a terminal through an environment deployment tool;
and installing the application to be deployed stored on the terminal according to the application type.
5. The method of claim 4, wherein the application to be deployed comprises a system application and a base application; installing the application to be deployed stored on the terminal according to the application type, wherein the installing comprises the following steps:
if the application to be deployed is a system application, deleting the system application on the vehicle machine, and then installing the system application on the vehicle machine based on a push installation command;
and if the application to be deployed is the basic application, directly installing the basic application on the vehicle machine based on the install command.
6. The method of claim 5, wherein the application to be deployed stored on the terminal is installed according to the application type, and further comprising:
and if the retry installation times of the application to be deployed reach or exceed the installation times set in the environment deployment tool, generating a notification of the installation failure of the application to be deployed.
7. The method of claim 1, wherein automatically deploying the application to be deployed on a vehicle machine by the environment deployment tool comprises:
and restarting the vehicle machine after all the applications to be deployed are installed on the vehicle machine by the environment deployment tool.
8. The method of claim 1, wherein automatically deploying the application to be deployed on a vehicle machine by the environment deployment tool comprises:
the environment deployment tool generating an installation log for a deployment process;
acquiring the installation log;
and detecting the deployment progress of the vehicle-mounted environment according to the installation log.
9. A vehicle-mounted environment deployment device is characterized by being used for realizing the vehicle-mounted environment deployment method according to any one of claims 1 to 8.
10. An electronic device, comprising:
a memory storing computer-executable instructions;
a processor, which when executed by an electronic device, causes the processor to perform the in-vehicle environment deployment method of any of claims 1-8.
CN202110876378.8A 2021-07-29 2021-07-29 Vehicle-mounted environment deployment method and device and electronic equipment Pending CN113590142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110876378.8A CN113590142A (en) 2021-07-29 2021-07-29 Vehicle-mounted environment deployment method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110876378.8A CN113590142A (en) 2021-07-29 2021-07-29 Vehicle-mounted environment deployment method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113590142A true CN113590142A (en) 2021-11-02

Family

ID=78253281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110876378.8A Pending CN113590142A (en) 2021-07-29 2021-07-29 Vehicle-mounted environment deployment method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113590142A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107315596A (en) * 2017-07-26 2017-11-03 郑州云海信息技术有限公司 A kind of code is packed dispositions method and device automatically
CN111078277A (en) * 2019-12-20 2020-04-28 上海米哈游天命科技有限公司 Packaging system, packaging method and storage medium
CN111290934A (en) * 2018-12-06 2020-06-16 中车株洲电力机车研究所有限公司 Jenkins-based vehicle-mounted network product cloud testing method and system
CN112099814A (en) * 2020-09-24 2020-12-18 智道网络科技(天津)有限公司 System and method for managing vehicle-mounted machine application software installation environment
CN112579099A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Code deployment method and device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107315596A (en) * 2017-07-26 2017-11-03 郑州云海信息技术有限公司 A kind of code is packed dispositions method and device automatically
CN111290934A (en) * 2018-12-06 2020-06-16 中车株洲电力机车研究所有限公司 Jenkins-based vehicle-mounted network product cloud testing method and system
CN112579099A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Code deployment method and device, storage medium and electronic equipment
CN111078277A (en) * 2019-12-20 2020-04-28 上海米哈游天命科技有限公司 Packaging system, packaging method and storage medium
CN112099814A (en) * 2020-09-24 2020-12-18 智道网络科技(天津)有限公司 System and method for managing vehicle-mounted machine application software installation environment

Similar Documents

Publication Publication Date Title
CN108847950B (en) Electronic device, cloud system software automatic deployment method and storage medium
CN108322490B (en) Method, device and server for configuring and deploying distributed cloud service system by virtual machine
CN109597626B (en) Component deployment method and device
CN107291510B (en) Rapid starting method for Linux vehicle-mounted information system
CN109933350B (en) Method and device for embedding codes in application and electronic equipment
CN109710286B (en) System upgrading method, device, equipment and storage medium
CN112148315A (en) Software deployment method, device, server and storage medium
CN110716845A (en) Method for reading log information of Android system
CN112579099A (en) Code deployment method and device, storage medium and electronic equipment
CN113656107A (en) Mobile application loading method and device and electronic equipment
CN112799778A (en) Container application starting method, device and medium
CN112564956A (en) Remote upgrading method, equipment and device for client and storage medium
CN116303099B (en) Cross-platform rapid deployment method, device, medium and equipment for automatic test environment
CN113485755A (en) Device driver verification method, device and storage medium
CN113590142A (en) Vehicle-mounted environment deployment method and device and electronic equipment
CN114546819A (en) Code processing method and device, electronic equipment and readable medium
CN110471828B (en) Operating system testing method, device and equipment thereof
CN108595292B (en) System optimization method, mobile terminal and computer storage medium
CN115510505A (en) Application file packaging method and device, electronic equipment and readable storage medium
CN113276788B (en) Vehicle-mounted application upgrading method and device, vehicle-mounted terminal and storage medium
CN115827024A (en) Vehicle-mounted program updating method and system
CN112148597B (en) Method for eliminating iOS device authorization dialog box, test method and storage medium
CN106648788B (en) Application program installation method and device
CN114880244A (en) Application testing method and device, storage medium and electronic equipment
CN111026502B (en) Business debugging architecture creating method and device, electronic equipment and storage 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