CN117270896A - Automatic application program identification and installation method, system, device and storage medium - Google Patents
Automatic application program identification and installation method, system, device and storage medium Download PDFInfo
- Publication number
- CN117270896A CN117270896A CN202311514363.2A CN202311514363A CN117270896A CN 117270896 A CN117270896 A CN 117270896A CN 202311514363 A CN202311514363 A CN 202311514363A CN 117270896 A CN117270896 A CN 117270896A
- Authority
- CN
- China
- Prior art keywords
- installation
- package
- downloading
- application program
- configuration file
- 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
Links
- 238000009434 installation Methods 0.000 title claims abstract description 266
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000004891 communication Methods 0.000 claims abstract description 100
- 238000011900 installation process Methods 0.000 claims abstract description 13
- 238000012544 monitoring process Methods 0.000 claims abstract description 10
- 230000008569 process Effects 0.000 claims description 10
- 230000003993 interaction Effects 0.000 claims description 4
- 238000004806 packaging method and process Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000008713 feedback mechanism Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000007474 system interaction Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a method, a system, a device and a storage medium for automatically identifying and installing an application program, and belongs to the technical field of computers. The method comprises the following steps: uploading an installation package, an application installation package and a communication configuration file of the installation director; accessing an installation package management interface of the server, identifying the architecture information of the current terminal, and determining an installation guide downloading link according to the architecture information; downloading an installation guide program package and a corresponding communication configuration file by using an installation guide downloading link, and operating the installation guide; acquiring operating system information of a current terminal, and downloading an application program installation package corresponding to the current terminal by using a communication configuration file; monitoring the installation process of an application installation package; after the installation is completed, communication is established with the business server. According to the invention, the installation guide is used for acquiring the information of the operating system, and the application program installation package corresponding to the terminal environment is automatically generated by combining the communication configuration file, so that the automatic identification, automatic downloading and automatic installation of the application program are realized.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, a system, an apparatus, and a storage medium for automatically identifying and installing an application program.
Background
With the continued development of computer technology, operating systems are also evolving and updating. Application programs developed based on different types of operating systems are more and more, and the combined terminal system has various environments due to various types and architectures of the operating systems, so that various inconveniences are brought to the installation of the application programs. Two main terminal application program installation means exist at present, one is to manually judge the current terminal system environment (operating system and CPU architecture), and then select and download the corresponding installation package for manual installation; and the other is to package the application program according to the requirements of operating system manufacturers, put the application program into an application store, and download and install the application program through the application store according to the requirements of users.
The scheme of manual intervention installation is the most important in judging the system type and architecture of the current terminal environment, selecting and downloading an installation package matched with the current terminal environment, and the judging process is complex and difficult to operate for most common users; on the other hand, the installation of an application may have multiple installation packages and have dependencies, which is more user-unfriendly. The scheme of the on-shelf application store needs to adapt to the on-shelf conditions, and if the operating system is upgraded, the on-shelf conditions may change, so that uncertainty is increased; meanwhile, the follow-up release and upgrade of the application program all need to go on the shelf, so that the maintenance cost is increased, the release period is prolonged, and the service during the installation is newly increased and maintained in an inflexible manner.
Disclosure of Invention
In view of the above problems, the present invention aims to provide a method, a system, a device and a storage medium for automatically identifying and installing an application program, wherein an installation director obtains operating system information and automatically generates an application program installation package corresponding to a terminal environment in combination with a communication configuration file, thereby realizing automatic identification, automatic downloading and automatic installation of the application program.
The invention aims to achieve the aim, and the aim is achieved by the following technical scheme: an application program automatic identification installation method comprises the following steps:
uploading an installation package of the installation guide, an application program installation package and a communication configuration file to an installation package management interface of the server;
accessing an installation package management interface of a server through a browser, identifying CPU architecture information of a current terminal, and determining a corresponding installation guide downloading link according to the CPU architecture information;
downloading an installation guide program package and a corresponding communication configuration file by using an installation guide downloading link, and operating the installation guide;
acquiring operating system information of a current terminal, and downloading an application program installation package corresponding to the current terminal by using a communication configuration file;
monitoring the installation process of an application installation package;
after the installation is completed, communication is established with the business server.
Further, the uploading the installation package, the application installation package and the communication configuration file of the installation director to the installation package management interface of the server side includes:
uploading installation guide installation packages generated by cross compiling of different architectures and application program installation packages generated by compiling of various operating systems to an installation package management interface of a server;
and configuring communication information and downloading information according to the deployment environment, generating a communication configuration file, and uploading the communication configuration file.
Further, the accessing, through the browser, the installation package management interface of the server, identifying CPU architecture information of the current terminal, and determining a corresponding installation director download link according to the CPU architecture information, including:
accessing an installation package management interface of the server through a browser according to a specific URL, analyzing access request parameters by the server, and acquiring CPU architecture information of the current terminal through a user-agent; and inquiring a corresponding download link of the installation guide in the data list according to the CPU architecture information of the current terminal.
Further, the downloading the installation director package and the corresponding communication configuration file using the installation director download link, and running the installation director, includes:
packaging and downloading an installation guide program package and a communication configuration file by using an installation guide download link; after the downloading is completed, decompressing and operating the installation guide, and presenting an installation interface.
Further, the obtaining the operating system information of the current terminal and downloading the application program installation package corresponding to the current terminal by using the communication configuration file includes:
acquiring the operating system information of the current terminal, generating a contracted architecture and a contracted system code, and generating an application program installation package downloading request URL by combining the downloading information in the communication configuration file;
downloading an application program installation package corresponding to the current terminal according to the download request URL;
and displaying the downloading progress through the installation interface, and prompting related information if the downloading is overtime or fails.
Further, the monitoring the installation process of the application installation package includes:
after the application installation package is downloaded, automatically executing a preset installation script;
identifying the dependency relationship of the application installation package, determining the installation sequence according to the dependency relationship, and executing installation; and displaying the installation progress value through the installation interface, and prompting related information if the installation failure condition exists.
Further, after the installation is completed, communication is established with the service server, including:
after the installation is completed, establishing communication with a service server according to the communication information in the communication configuration file so as to perform service interaction;
and presenting the communication initialization progress through the installation interface.
Correspondingly, the invention also discloses an automatic identification and installation system for the application program, which comprises the following steps:
an uploading unit configured to upload an installation package, an application installation package and a communication configuration file of the installation director to an installation package management interface of the server;
the identification unit is configured to access an installation package management interface of the server through the browser, identify CPU architecture information of the current terminal, and determine a corresponding installation guide downloading link according to the CPU architecture information;
a package download unit configured to download the installation director package and the corresponding communication configuration file using the installation director download link, and to run the installation director;
the installation package downloading unit is configured to acquire the operating system information of the current terminal, and download the application program installation package corresponding to the current terminal by using the communication configuration file;
the process monitoring unit is configured to monitor the installation process of the application installation package;
and the automatic link establishment unit is configured to establish communication with the service server after the installation is completed.
Correspondingly, the invention discloses an automatic identification and installation device for application programs, which comprises the following components:
a memory for storing an application program automatic identification installer;
a processor, configured to implement the method for automatically identifying and installing an application program according to any one of the above steps when the application program automatically identifying and installing program is executed.
Accordingly, the invention discloses a readable storage medium, wherein the readable storage medium is stored with an application program automatic identification installation program, and the application program automatic identification installation program realizes the steps of the application program automatic identification installation method when being executed by a processor.
Compared with the prior art, the invention has the beneficial effects that: the invention discloses an automatic identification and installation method, a system, a device and a storage medium for an application program.
By the method and the device, the user only needs to access a specific URL address to download and run an installation guide, the operating system and the architecture of the terminal do not need to be judged by the user, and the corresponding application program installation package does not need to be selected by the user to execute the installation.
The invention combines the automatic establishment mechanism of communication connection to realize the establishment of the service system, basically without manual intervention, realizes easy installation and use of the application program, and simultaneously, the progress feedback mechanism can enable the user to clearly know the current installation progress and stage result, thereby improving the interactivity and the installation efficiency.
It can be seen that the present invention has outstanding substantial features and significant advances over the prior art, as well as the benefits of its implementation.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for automatically identifying an installation method for an application according to an embodiment of the present invention.
FIG. 2 is a flow chart of another method for automatically identifying installation of an application program according to an embodiment of the present invention.
FIG. 3 is a system architecture diagram of an application automatic identification installation system in accordance with an embodiment of the present invention.
In the figure, 1, an uploading unit; 2. an identification unit; 3. a package downloading unit; 4. an installation package downloading unit; 5. a process monitoring unit; 6. and (5) automatically building a chain unit.
Detailed Description
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Embodiment one:
as shown in fig. 1, the present embodiment provides an automatic application program identification and installation method, which includes the following steps:
s1: and uploading the installation package, the application program installation package and the communication configuration file of the installation guide to an installation package management interface of the server.
In a specific embodiment, firstly, uploading an installation guide installation package generated by cross compiling of different architectures and application program installation packages generated by compiling of various operating systems to an installation package management interface of a server. Meanwhile, according to the deployment environment configuration communication information and download information, such as communication and download addresses and ports, a communication configuration file is generated and uploaded to the installation package management interface.
The communication address and the port number which are required by the establishment of the link and are stored in the communication configuration file are mainly used for reading related information to establish communication connection after the installation of the application program is completed, so that an automatic establishment mechanism of the communication connection is realized.
It should be noted that, the installation package management interface of the server is a system interaction interface based on the installation package management system. The installation package management system mainly comprises an installation guide and application installation package management, wherein the installation guide is realized through QT, has an interface presentation function, and provides a main stream architecture installation package by utilizing a cross compiling technology; the application program installation packages are classified according to CPU architecture, are managed according to operating system classification under different architectures, and simultaneously provide configuration files required for automatically establishing communication.
S2: and accessing an installation package management interface of the server through the browser, identifying CPU architecture information of the current terminal, and determining a corresponding installation guide downloading link according to the CPU architecture information.
In the specific implementation mode, firstly, an installation package management interface of a server is accessed through a browser according to a specific URL, access request parameters are analyzed by the server, and CPU architecture information of a current terminal is obtained through a user-agent; and then, inquiring a corresponding download link of the installation guide in the data list according to the CPU architecture information of the current terminal, and presenting in real time.
S3: and downloading the installation guide program package and the corresponding communication configuration file by using the installation guide download link, and running the installation guide.
In a specific embodiment, the installation director package and the communication configuration file are packaged and downloaded by using an installation director download link; after the downloading is completed, decompressing and running the installation guide, and presenting an installation interface. Wherein the installation director package may be in deb format or rpm format.
S4: and acquiring the operating system information of the current terminal, and downloading an application program installation package corresponding to the current terminal by using the communication configuration file.
In the specific embodiment, firstly, the operating system information of the current terminal is acquired, a contracted architecture and a contracted system code are generated, and an application program installation package downloading request URL is generated by combining the downloading information in a communication configuration file; and then downloading the application program installation package corresponding to the current terminal according to the download request URL.
At this time, the downloading progress is displayed through the installation interface, and if the downloading is overtime or fails, relevant information is prompted.
S5: the installation process of the application installation package is monitored.
In a specific embodiment, after the application installation package is downloaded, automatically executing a preset installation script; and identifying the dependency relationship of the application installation package through the installation script, determining the installation sequence according to the dependency relationship, and executing the installation. At this time, the installation progress value is displayed through the installation interface, and if the installation failure condition exists, related information is prompted.
Through the steps, an automatic installation and progress feedback mechanism is realized, specifically, an installation script is executed mainly through an installation guide, the dependency relationship among installation packages is judged, and the installation is orderly carried out; and the progress weights of the processes of downloading, installing, configuring, initializing and the like are agreed, and the installation progress and the staged results are presented through the installation director.
S6: after the installation is completed, communication is established with the business server.
In a specific embodiment, after the installation is completed, communication is established with the service server according to the communication information in the communication configuration file so as to perform service interaction. At this time, the communication initialization progress is presented in real time through the installation interface.
The embodiment provides an automatic identification and installation method for an application program, which comprises the steps of configuring a server installation package management system, installing a guide, automatically downloading and orderly installing an application installation package, feeding back an installation progress, and automatically establishing a communication connection. According to the method, the installation guide is used for acquiring the information of the operating system, and the application program installation package corresponding to the terminal environment is automatically generated by combining the communication configuration file, so that the automatic identification, automatic downloading and automatic installation of the application program are realized.
Embodiment two:
based on the first embodiment, as shown in fig. 2, the invention also discloses an automatic application program identification and installation method, which specifically comprises the following steps:
step 1: and uploading installation guide installation packages generated by cross compiling of different frameworks and application program installation packages generated by compiling of different frameworks and different operating systems to an installation package management interface of the server.
Step 2: the communication establishment is configured according to the deployment environment, the required information (mainly including communication and download addresses and ports) is configured, and the communication configuration file is uploaded.
Step 3: the terminal needing to install the application program accesses the server installation package management interface through the browser, the server analyzes the access request parameters, acquires CPU architecture information of the request terminal through the user-agent, and directly presents a corresponding installation director downloading link according to the architecture information.
The specific URL of the server installation package management interface: http:// ip: port/install/download.
Step 4: the user clicks the download link, packages the download installation director package (deb or rpm) and the communication configuration file, decompresses, double clicks the installation director, and presents the installation interface.
It should be noted that, the individual legacy systems do not support double-click running of the installation package, and the command line is required to execute the installation command (dpkg-i, etc.).
Step 5: after the installation guider operates, acquiring the operating system information of the current terminal, generating a contracted architecture and a system code, and generating an application program installation package downloading request URL by combining the downloading related information in the downloading communication configuration file in the step 4, so as to download the application program installation package corresponding to the current terminal; at this time, the interface presents the configuration and displays a certain progress value, and if the downloading is overtime or fails, the relevant information is prompted.
The application program installation package downloading request URL is as follows: http:// ip port/software/downloados=kylin 10& cpu=arm.
Step 6: and automatically executing the installation script after the installation package is downloaded, judging the dependency relationship to perform orderly installation, displaying a certain progress value in the installation process on the interface at the moment, and prompting related information if the installation failure condition exists.
Step 7: entering an automatic communication establishment stage after the installation is completed, and establishing communication with a service server according to the communication information in the communication configuration file downloaded in the step 4 to realize service interaction; at this time, the interface is initialized and displays a certain progress value.
Step 8: and (5) ending.
The embodiment provides an automatic identification and installation method for application programs, which automatically acquires a terminal CPU architecture through a user-agent parameter in a downloading request, automatically acquires operating system information by using an installation director and downloads corresponding application program installation packages, thereby realizing classification and unified management of the application program installation packages, automatically identifying and automatically installing terminal environments, and avoiding excessive manual operation.
Embodiment III:
based on the first embodiment, as shown in fig. 3, the invention also discloses an automatic application program identification and installation system, which comprises: the system comprises an uploading unit 1, an identification unit 2, a program package downloading unit 3, an installation package downloading unit 4, a process monitoring unit 5 and an automatic link building unit 6.
And the uploading unit 1 is configured to upload the installation package, the application program installation package and the communication configuration file of the installation director to the installation package management interface of the server.
The identifying unit 2 is configured to access the installation package management interface of the server through the browser, identify the CPU architecture information of the current terminal, and determine the corresponding installation guide downloading link according to the CPU architecture information.
And a package download unit 3 configured to download the installation director package and the corresponding communication configuration file using the installation director download link, and to run the installation director.
And the installation package downloading unit 4 is configured to acquire the operating system information of the current terminal and download the application program installation package corresponding to the current terminal by using the communication configuration file.
And a process monitoring unit 5 configured to monitor an installation process of the application installation package.
And the automatic link establishment unit 6 is configured to establish communication with the service server after the installation is completed.
The embodiment provides an automatic identification and installation system for application programs, which obtains operating system information through an installation director, and automatically generates an application program installation package corresponding to a terminal environment by combining a communication configuration file, thereby realizing automatic identification, automatic downloading and automatic installation of the application programs.
Embodiment four:
the embodiment discloses an automatic identification and installation device for an application program, which comprises a processor and a memory; the processor executes the application program automatic identification installation program stored in the memory to realize the following steps:
1. and uploading the installation package, the application program installation package and the communication configuration file of the installation guide to an installation package management interface of the server.
2. And accessing an installation package management interface of the server through the browser, identifying CPU architecture information of the current terminal, and determining a corresponding installation guide downloading link according to the CPU architecture information.
3. And downloading the installation guide program package and the corresponding communication configuration file by using the installation guide download link, and running the installation guide.
4. And acquiring the operating system information of the current terminal, and downloading an application program installation package corresponding to the current terminal by using the communication configuration file.
5. The installation process of the application installation package is monitored.
6. After the installation is completed, communication is established with the business server.
Further, the application program automatic identification installation device in this embodiment may further include:
the input interface is used for acquiring an externally imported application program automatic identification installation program, storing the acquired application program automatic identification installation program into the memory, and acquiring various instructions and parameters transmitted by external terminal equipment and transmitting the various instructions and parameters into the processor so that the processor can develop corresponding processing by utilizing the various instructions and parameters. In this embodiment, the input interface may specifically include, but is not limited to, a USB interface, a serial interface, a voice input interface, a fingerprint input interface, a hard disk reading interface, and the like.
And the output interface is used for outputting various data generated by the processor to the terminal equipment connected with the output interface so that other terminal equipment connected with the output interface can acquire various data generated by the processor. In this embodiment, the output interface may specifically include, but is not limited to, a USB interface, a serial interface, and the like.
And the communication unit is used for establishing remote communication connection between the automatic application program identification and installation device and the external server so that the automatic application program identification and installation device can mount the image file to the external server. In this embodiment, the communication unit may specifically include, but is not limited to, a remote communication unit based on a wireless communication technology or a wired communication technology.
And the keyboard is used for acquiring various parameter data or instructions input by a user by knocking the key cap in real time.
And the display is used for running the related information of the automatic identification and installation process of the application program and displaying the related information in real time.
A mouse may be used to assist a user in inputting data and to simplify user operations.
Fifth embodiment:
the present embodiment also discloses a readable storage medium, where the readable storage medium includes Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art. The readable storage medium stores an application program automatic identification installation program, and the application program automatic identification installation program realizes the following steps when being executed by a processor:
1. and uploading the installation package, the application program installation package and the communication configuration file of the installation guide to an installation package management interface of the server.
2. And accessing an installation package management interface of the server through the browser, identifying CPU architecture information of the current terminal, and determining a corresponding installation guide downloading link according to the CPU architecture information.
3. And downloading the installation guide program package and the corresponding communication configuration file by using the installation guide download link, and running the installation guide.
4. And acquiring the operating system information of the current terminal, and downloading an application program installation package corresponding to the current terminal by using the communication configuration file.
5. The installation process of the application installation package is monitored.
6. After the installation is completed, communication is established with the business server.
In summary, the invention obtains the operating system information through the installation director, and automatically generates the application program installation package corresponding to the terminal environment by combining the communication configuration file, thereby realizing the automatic identification, automatic downloading and automatic installation of the application program.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems, and methods may be implemented in other ways. For example, the system embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, system or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit.
Similarly, each processing unit in the embodiments of the present invention may be integrated in one functional module, or each processing unit may exist physically, or two or more processing units may be integrated in one functional module.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The method, the system, the device and the readable storage medium for automatically identifying and installing the application program provided by the invention are described in detail above. The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the method of the present invention and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
Claims (10)
1. An automatic application program identification and installation method, comprising the following steps:
uploading an installation package of the installation guide, an application program installation package and a communication configuration file to an installation package management interface of the server;
accessing an installation package management interface of a server through a browser, identifying CPU architecture information of a current terminal, and determining a corresponding installation guide downloading link according to the CPU architecture information;
downloading an installation guide program package and a corresponding communication configuration file by using an installation guide downloading link, and operating the installation guide;
acquiring operating system information of a current terminal, and downloading an application program installation package corresponding to the current terminal by using a communication configuration file;
monitoring the installation process of an application installation package;
after the installation is completed, communication is established with the business server.
2. The method for automatically identifying and installing an application according to claim 1, wherein uploading the installation package of the installation director, the application installation package and the communication configuration file to the installation package management interface of the server comprises:
uploading installation guide installation packages generated by cross compiling of different architectures and application program installation packages generated by compiling of various operating systems to an installation package management interface of a server;
and configuring communication information and downloading information according to the deployment environment, generating a communication configuration file, and uploading the communication configuration file.
3. The method for automatically identifying and installing an application program according to claim 1, wherein the step of identifying CPU architecture information of a current terminal by accessing an installation package management interface of a server through a browser, and determining a corresponding installation director download link according to the CPU architecture information, comprises:
accessing an installation package management interface of the server through a browser according to a specific URL, analyzing access request parameters by the server, and acquiring CPU architecture information of the current terminal through a user-agent; and inquiring a corresponding download link of the installation guide in the data list according to the CPU architecture information of the current terminal.
4. The method for automatically recognizing and installing an application according to claim 1, wherein the downloading the installation director package and the corresponding communication profile using the installation director download link and running the installation director comprises:
packaging and downloading an installation guide program package and a communication configuration file by using an installation guide download link;
after the downloading is completed, decompressing and operating the installation guide, and presenting an installation interface.
5. The method for automatically identifying and installing an application program according to claim 4, wherein the step of obtaining the operating system information of the current terminal and downloading the application program installation package corresponding to the current terminal using the communication configuration file comprises the steps of:
acquiring the operating system information of the current terminal, generating a contracted architecture and a contracted system code, and generating an application program installation package downloading request URL by combining the downloading information in the communication configuration file;
downloading an application program installation package corresponding to the current terminal according to the download request URL;
and displaying the downloading progress through the installation interface, and prompting related information if the downloading is overtime or fails.
6. The method for automatically identifying and installing an application program according to claim 5, wherein the monitoring the installation process of the application installation package comprises:
after the application installation package is downloaded, automatically executing a preset installation script;
identifying the dependency relationship of the application installation package, determining the installation sequence according to the dependency relationship, and executing installation; and displaying the installation progress value through the installation interface, and prompting related information if the installation failure condition exists.
7. The method for automatically identifying and installing an application program according to claim 6, wherein after the installation is completed, establishing communication with a service server comprises:
after the installation is completed, establishing communication with a service server according to the communication information in the communication configuration file so as to perform service interaction;
and presenting the communication initialization progress through the installation interface.
8. An application automatic identification installation system, comprising:
an uploading unit configured to upload an installation package, an application installation package and a communication configuration file of the installation director to an installation package management interface of the server;
the identification unit is configured to access an installation package management interface of the server through the browser, identify CPU architecture information of the current terminal, and determine a corresponding installation guide downloading link according to the CPU architecture information;
a package download unit configured to download the installation director package and the corresponding communication configuration file using the installation director download link, and to run the installation director;
the installation package downloading unit is configured to acquire the operating system information of the current terminal, and download the application program installation package corresponding to the current terminal by using the communication configuration file;
the process monitoring unit is configured to monitor the installation process of the application installation package;
and the automatic link establishment unit is configured to establish communication with the service server after the installation is completed.
9. An application program automatic identification installation apparatus, comprising:
a memory for storing an application program automatic identification installer;
a processor for implementing the steps of the application automatic identification installation method according to any one of claims 1 to 7 when executing the application automatic identification installation program.
10. A readable storage medium, characterized by: the readable storage medium has stored thereon an application automatic identification installer, which when executed by a processor, implements the steps of the application automatic identification installation method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311514363.2A CN117270896A (en) | 2023-11-15 | 2023-11-15 | Automatic application program identification and installation method, system, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311514363.2A CN117270896A (en) | 2023-11-15 | 2023-11-15 | Automatic application program identification and installation method, system, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117270896A true CN117270896A (en) | 2023-12-22 |
Family
ID=89210743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311514363.2A Pending CN117270896A (en) | 2023-11-15 | 2023-11-15 | Automatic application program identification and installation method, system, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117270896A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2779580A1 (en) * | 2013-03-12 | 2014-09-17 | Deutsche Telekom AG | Method and apparatus for installing applications on mobile terminals |
CN105335173A (en) * | 2014-07-01 | 2016-02-17 | 北京奇虎科技有限公司 | Method, apparatus and system for initializing intelligent terminal device |
CN113961220A (en) * | 2021-10-19 | 2022-01-21 | 稿定(厦门)科技有限公司 | Automatic program updating method and device |
CN114489690A (en) * | 2021-12-09 | 2022-05-13 | 航天信息股份有限公司 | Distributed system deployment method and device, electronic equipment and storage medium |
CN115469894A (en) * | 2022-09-21 | 2022-12-13 | 中国建设银行股份有限公司 | Application program installation control method, device, equipment and storage medium |
CN116450165A (en) * | 2023-04-28 | 2023-07-18 | 广西辰隙网络科技有限公司 | Method, system, terminal and storage medium for quickly building environment and deploying program |
CN116775087A (en) * | 2023-06-08 | 2023-09-19 | 北京字跳网络技术有限公司 | Thermal repair method, device, electronic equipment and storage medium |
-
2023
- 2023-11-15 CN CN202311514363.2A patent/CN117270896A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2779580A1 (en) * | 2013-03-12 | 2014-09-17 | Deutsche Telekom AG | Method and apparatus for installing applications on mobile terminals |
CN105335173A (en) * | 2014-07-01 | 2016-02-17 | 北京奇虎科技有限公司 | Method, apparatus and system for initializing intelligent terminal device |
CN113961220A (en) * | 2021-10-19 | 2022-01-21 | 稿定(厦门)科技有限公司 | Automatic program updating method and device |
CN114489690A (en) * | 2021-12-09 | 2022-05-13 | 航天信息股份有限公司 | Distributed system deployment method and device, electronic equipment and storage medium |
CN115469894A (en) * | 2022-09-21 | 2022-12-13 | 中国建设银行股份有限公司 | Application program installation control method, device, equipment and storage medium |
CN116450165A (en) * | 2023-04-28 | 2023-07-18 | 广西辰隙网络科技有限公司 | Method, system, terminal and storage medium for quickly building environment and deploying program |
CN116775087A (en) * | 2023-06-08 | 2023-09-19 | 北京字跳网络技术有限公司 | Thermal repair method, device, electronic equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
田春尧: "《数据库应用 MySQL》", 31 August 2021, 北京理工大学出版社, pages: 2 - 3 * |
陈本彬: "《嵌入式系统及其实践教程》", 31 July 2020, 西安电子科技大学出版社, pages: 43 - 46 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101453469B (en) | System and method for dynamically generating user interfaces for network client devices | |
CN102063316B (en) | Information-processing device, communication system, and information-processing method | |
US9092243B2 (en) | Managing a software appliance | |
US8458658B2 (en) | Methods and systems for dynamically building a software appliance | |
US20230308504A9 (en) | Method and system of application development for multiple device client platforms | |
KR20110004650A (en) | Method and apparatus for installation of application using application identifier | |
CN103607502B (en) | Method and apparatus for upgrading applications of mobile device | |
US8046757B2 (en) | Method for installing ActiveX control | |
CN110297776B (en) | Detection report generation and reception methods, devices, equipment and storage medium | |
CN111737073B (en) | Automatic testing method, device, equipment and medium | |
CN100583038C (en) | Method, system and apparatus for launching an interface with an electronic device | |
CN113992514B (en) | Method for rapidly realizing data acquisition instrument protocol by zero code and data acquisition instrument terminal | |
US20170262263A1 (en) | Process and system for the generation of an operating program in the form of a mobile application that is capable of operating on a mobile device | |
CN110795181A (en) | Application program interface display method and device based on skip protocol and electronic equipment | |
CN103561082B (en) | Compressing request processing method and server | |
CN110989986A (en) | Software template-based software generation method and device and computer equipment | |
KR101437943B1 (en) | Smart platform apparatus, system and contol method | |
CN111045695A (en) | WebLogic middleware deployment device, method, equipment and medium | |
CN117270896A (en) | Automatic application program identification and installation method, system, device and storage medium | |
US12026503B2 (en) | Device of updating library required by testing program for testing and method thereof | |
CN113467772B (en) | Project template generation method and device, electronic equipment and storage medium | |
US20230136504A1 (en) | Method for generating application for controlling external electronic device and electronic apparatus for supporting the same | |
CN116009893A (en) | Method, device, equipment and storage medium for upgrading software | |
CN118259922B (en) | Compiling method, compiling device, compiling product, compiling device, compiling equipment and compiling medium for application program | |
CN112639730A (en) | Method, device and system for writing and running processing of program file |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20231222 |
|
RJ01 | Rejection of invention patent application after publication |