CN110912963A - Cloud configuration silent preassembly method and device - Google Patents

Cloud configuration silent preassembly method and device Download PDF

Info

Publication number
CN110912963A
CN110912963A CN201910966462.1A CN201910966462A CN110912963A CN 110912963 A CN110912963 A CN 110912963A CN 201910966462 A CN201910966462 A CN 201910966462A CN 110912963 A CN110912963 A CN 110912963A
Authority
CN
China
Prior art keywords
application
cloud
terminal
silent
preassembly
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
CN201910966462.1A
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.)
Shanghai Sunmi Technology Group Co Ltd
Shanghai Sunmi Technology Co Ltd
Original Assignee
Shanghai Sunmi Technology Group 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 Shanghai Sunmi Technology Group Co Ltd filed Critical Shanghai Sunmi Technology Group Co Ltd
Priority to CN201910966462.1A priority Critical patent/CN110912963A/en
Publication of CN110912963A publication Critical patent/CN110912963A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and a device for silent preassembly of cloud configuration, wherein the method comprises the following steps: the method comprises the steps that a terminal receives a push command and a pre-installed application list from a server, the server is provided with pre-installed applications at a cloud end, and the pre-installed application list is correspondingly set; the terminal downloads each application in the pre-installed application list from the cloud, and after downloading is completed, the downloaded applications are verified; and after the verification is passed, the terminal silently installs the preinstalled application. The terminal can automatically replace the pre-installed application without flashing and any user intervention.

Description

Cloud configuration silent preassembly method and device
Technical Field
The embodiment of the invention relates to the technical field of terminal application, in particular to a method and a device for silent preassembly of cloud configuration.
Background
When installing the application on the traditional android terminal, the user can be prompted to pop up the window for confirmation and installation. If the administrator or distributor of the terminal wants to pre-install an application on the terminal in bulk, it may not be installed because of user rejection.
In addition, when the terminal is initialized, a pre-installed APK (Android installation package) is usually packaged into a ROM (Read-Only Memory), and then the system is reloaded into the terminal, and the terminal is bootstrapped into the terminal. However, this method is inflexible and not customized.
It should be noted that the above background description is only for the sake of clarity and complete description of the technical solutions of the present invention and for the understanding of those skilled in the art. Such solutions are not considered to be known to the person skilled in the art merely because they have been set forth in the background section of the invention. .
Disclosure of Invention
In view of the above problems, an object of embodiments of the present invention is to provide a method and an apparatus for cloud-configured silent pre-installation, in which a terminal can automatically replace a pre-installed application, so as to meet a customizable requirement of a manager or a distributor, and without any user intervention.
In order to achieve the above object, an embodiment of the present invention provides a method for preloading cloud configuration in a silent manner, including: the method comprises the steps that a terminal receives a push command and a pre-installed application list from a server, the server is provided with pre-installed applications at a cloud end, and the pre-installed application list is correspondingly set; after the terminal passes the cloud verification, downloading each application in the pre-installed application list from the cloud, and after the downloading is completed, verifying the downloaded application; and after the verification is passed, the terminal silently installs the preinstalled application.
Further, the pre-installed application list includes download address, size, and MD5 information of the application; and after the cloud verification is passed, the terminal downloads each application in the pre-installed application list from the cloud according to the downloading address of the application.
Further, the terminal sets a timing task, when timing is reached, the network state of the terminal is checked, if WIFI is connected, each application in the pre-installed application list is downloaded from the cloud, and if WIFI is not connected, a popup window reminds a terminal user whether to download the application; and if the user agrees to download, downloading each application in the pre-installed application list from the cloud, and if the user does not agree to download, starting timing to wait for checking the network state again.
Further, after the application is downloaded, the terminal checks whether the MD5 delivered by the server is consistent with the MD5 generated by the downloaded application; if the verification is successful, the terminal silently installs the preinstalled application; if the verification is unsuccessful, returning to check the network state again and downloading again. The method comprises the steps that a terminal system ROM bottom layer is provided with a self-defined PackageManager program, and pre-installed applications are installed in a silent mode through the PackageManager program; or the terminal actively sends out startup broadcast when restarting the startup, and actively pulls the pre-installed task to actively execute downloading silent installation.
The embodiment of the present invention further provides a silent preassembling device for end configuration, including: the system comprises a first module, a second module and a third module, wherein the first module is used for receiving a push command and a pre-installed application list from a server, the server is provided with a pre-installed application at a cloud end, and the pre-installed application list is correspondingly set; the second module is used for downloading each application in the pre-installed application list from a cloud after passing the cloud verification, and verifying the downloaded application after the downloading is finished; and the third module is used for silently installing the preinstalled application after the verification is passed.
In an embodiment of the present invention, there is also provided a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method of the above-described embodiment.
In an embodiment of the present invention, there is also provided a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method of the above-mentioned embodiment.
As can be seen from the above, the cloud configuration silent preassembly method and device provided by the embodiments of the present invention actively issue applications and perform silent installation by self-defining preassembly applications at the cloud, and do not require a user to actively click to install, thereby implementing application customization. If the pre-installed application is required to be replaced, the machine does not need to be refreshed again, the pre-installed application only needs to be replaced at the cloud end and is sent, the terminal can automatically replace the pre-installed application, and a user is completely insensitive.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a flowchart illustrating a method for preloading cloud configuration in a silent manner according to an embodiment of the present invention.
Fig. 2 is a detailed flowchart of a method for preloading a cloud configuration in a silent manner according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a cloud-configured silence preassembling apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings of the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention. Furthermore, as used in the examples of the invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
An embodiment of the present invention provides a cloud configuration silent preassembly method, as shown in fig. 1, which includes the following steps:
and S101, a terminal receives a push command and a pre-installed application list from a server, the server is configured with a pre-installed application at a cloud end, and the pre-installed application list is correspondingly set.
In this step, according to the customized requirements of a manager or a channel, pre-installed applications are configured at the cloud, and a corresponding pre-installed application list is set, where the pre-installed application list includes information such as a download address, a size, and MD5 of each application.
The method comprises the steps that terminals needing to push pre-installed applications are determined, a server sends push commands and pre-installed application lists to the terminals, and the server issues the pre-installed application lists to the terminals in an interface mode.
And S102, after the terminal passes the cloud verification, downloading each application in the pre-installed application list from the cloud, and after the downloading is finished, verifying the downloaded application.
In this step, each terminal has its own device serial number as a unique device identifier, encrypts the device identifier and uploads the encrypted device identifier and a signature to the cloud together, where the signature is an encryption key formed according to a parameter of an encryption algorithm (e.g., DES/CBC/PKCS5 Padding), a timestamp, a 6-bit random number, and MD5, and then performs MD5 encryption on the encryption key to generate a final encryption signature. And after receiving the encrypted equipment identification and the signature, the cloud end carries out signature decryption and verifies the equipment identification.
After the terminal passes through the cloud verification, the terminal can download each application in the pre-installed application list from the cloud according to the download address in the application list. Downloading an application from a cloud, as shown in fig. 2, may specifically include: the terminal sets a timing task, for example, a 1 hour countdown task is cleared. And when the timing is reached, checking the network state of the terminal, downloading each application in the pre-installed application list from the cloud if WIFI is connected, and reminding a terminal user of downloading if the WIFI is not connected (for example, under 3G) by a popup window. If the user agrees to download, downloading each application in the pre-installed application list from the cloud, and if the user does not agree to download, starting to count time and wait for checking the network state again.
Specifically, as shown in fig. 2, after the application download is completed, the terminal checks whether the MD5 sent by the server is consistent with the MD5 generated by the downloaded application, so as to ensure that the application download transmission is not tampered. If the verification is successful, the following step S103 is performed, and if the verification is unsuccessful, the network status is checked again, and the download is performed again.
And step S103, after the verification is passed, the terminal installs the preinstalled application in a silent mode.
In this step, silent installation refers to installation without any user intervention, and is directly installed according to default settings. There are two different ways for the silent installation of the pre-installed application by the terminal.
One is to quiesce the pre-installed application through a custom program. Specifically, the ROM bottom layer of the terminal system is provided with a self-defined PackageManager program, and the judgment logic selected by a user can be skipped through the PackageManager program, so that the silent installation and the preassembly of the application are realized. Compared with the original system which needs to call an installation interface to enable a user to actively install, the method and the system have the advantages that the user is skipped through the self-defined PackageManager to achieve automatic and non-inductive installation, namely, the user does not need to operate in the period.
And the other is that the terminal actively sends out startup broadcast when restarting the startup, actively pulls the preinstalled application list interface, and actively executes downloading silent installation. Abandoning the step that the native system application needs to wait for the system to send out the installation completion broadcast when the installation is completed.
The ROM bottom layer of the terminal system is also provided with a custom PackageInstallObserver program. And after the pre-installed application is installed on the terminal, quickly calling back an installation result through the packageInstallObserver, and reporting the installation result to the cloud end.
Further referring to fig. 3, an embodiment of the present invention further provides a cloud-configured silence preassembling apparatus, including:
a first module 301, configured to receive a push command and a pre-installed application list from a server, where the server configures a pre-installed application in a cloud and sets a corresponding pre-installed application list;
a second module 302, configured to download, after passing cloud verification, each application in the pre-installed application list from a cloud, and check the downloaded application after the downloading is completed;
a third module 303, configured to install the pre-installed application silently after the verification passes.
The above-mentioned specific technical details of the cloud-configured silence preassembly apparatus and the cloud-configured silence preassembly method are similar, and the technical effect that can be achieved in the implementation of the cloud-configured silence preassembly apparatus can also be achieved in the implementation of the cloud-configured silence preassembly method, and is not described here again in order to reduce repetition. Accordingly, the related technical details mentioned in the embodiment of the cloud-configured silence preassembly apparatus can also be applied in the embodiment of the cloud-configured silence preassembly method.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method described in the above embodiments.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the steps of the method described in the above embodiments are 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.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A cloud-configured silent preassembly method, comprising:
the method comprises the steps that a terminal receives a push command and a pre-installed application list from a server, the server is provided with pre-installed applications at a cloud end, and the pre-installed application list is correspondingly set;
after the terminal passes the cloud verification, downloading each application in the pre-installed application list from the cloud, and after the downloading is completed, verifying the downloaded application;
and after the verification is passed, the terminal silently installs the preinstalled application.
2. The cloud-configured silent preassembly method according to claim 1, wherein the preassembly application list includes a download address, a size, and MD5 information of each application;
the downloading, by the terminal, each application in the pre-installed application list from the cloud includes:
and after the cloud end verification is passed, the terminal downloads each application in the pre-installed application list from the cloud end according to the download address of the application.
3. The cloud-configured silent preassembly method according to claim 2, wherein the terminal downloads each application in the preassembly application list from a cloud according to an application download address, and specifically comprises:
the terminal sets a timing task, when the timing is reached, the network state of the terminal is checked, if WIFI is connected, each application in the pre-installed application list is downloaded from the cloud, and if the WIFI is not connected, a popup window reminds a terminal user whether to download the application; and if the user agrees to download, downloading each application in the pre-installed application list from the cloud, and if the user does not agree to download, starting timing to wait for checking the network state again.
4. The cloud-configured silent preassembly method according to claim 1, wherein the verifying the downloaded application specifically comprises:
after the application is downloaded, the terminal checks whether the MD5 issued by the server is consistent with the MD5 generated by the downloaded application; if the two are consistent, the verification is successful, and the terminal is silent and installs the preinstalled application; if the network state is inconsistent with the network state, the verification is unsuccessful, and the network state is returned to check again to wait for downloading again.
5. The cloud-configured silent preassembly method according to claim 1, wherein the terminal installs the preassembly application in a silent manner, specifically comprising:
the ROM bottom layer of the terminal system is provided with a self-defined PackageManager program, and the PackageManager program skips judgment logic selected by a user, so that the preinstalled application is installed in a silent mode.
6. The cloud-configured silent preassembly method according to claim 1, wherein the terminal installs the preassembly application in a silent manner, specifically comprising:
and when the terminal is restarted, the terminal actively sends out startup broadcast, actively pulls the preinstalled application list interface, and actively executes downloading silent installation.
7. The cloud-configured quiesce preloading method according to claim 5 or 6, further comprising: and the bottom layer of the ROM of the terminal system is also provided with a self-defined PackageInstallObserver program, and after the pre-installed application is installed on the terminal, the installation result is quickly called back through the PackageInstallObserver program, and the installation result is reported.
8. A cloud-configured silence preassembly apparatus, comprising:
the system comprises a first module, a second module and a third module, wherein the first module is used for receiving a push command and a pre-installed application list from a server, the server is provided with a pre-installed application at a cloud end, and the pre-installed application list is correspondingly set;
the second module is used for downloading each application in the pre-installed application list from a cloud after passing the cloud verification, and verifying the downloaded application after the downloading is finished;
and the third module is used for silently installing the preinstalled application after the verification is passed.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of claims 1 to 8.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of claims 1 to 8 are implemented when the processor executes the program.
CN201910966462.1A 2019-10-12 2019-10-12 Cloud configuration silent preassembly method and device Pending CN110912963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910966462.1A CN110912963A (en) 2019-10-12 2019-10-12 Cloud configuration silent preassembly method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910966462.1A CN110912963A (en) 2019-10-12 2019-10-12 Cloud configuration silent preassembly method and device

Publications (1)

Publication Number Publication Date
CN110912963A true CN110912963A (en) 2020-03-24

Family

ID=69815476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910966462.1A Pending CN110912963A (en) 2019-10-12 2019-10-12 Cloud configuration silent preassembly method and device

Country Status (1)

Country Link
CN (1) CN110912963A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021238954A1 (en) * 2020-05-27 2021-12-02 支付宝(杭州)信息技术有限公司 Installation management of applet applications

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021238954A1 (en) * 2020-05-27 2021-12-02 支付宝(杭州)信息技术有限公司 Installation management of applet applications

Similar Documents

Publication Publication Date Title
CN109214168B (en) Firmware upgrading method and device
US10911939B2 (en) Embedded universal integrated circuit card profile management method and apparatus
US10127057B2 (en) Method and apparatus for dynamically implementing application function
CN110597538B (en) Software upgrading method and OTA upgrading system based on OTA upgrading system
CN111343064A (en) System and method for upgrading software of automobile control system
WO2015058574A1 (en) Method and apparatus for implementing push notification of extensive application program
CN106131612B (en) The method and system of Android app dynamically load resource function module
CN104052818A (en) Version upgrade method and device for mobile terminal
CN105574414B (en) Method of loading a file into a random access memory in an electronic device and associated electronic device
CN103513998A (en) Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode
CN102830992A (en) Plug-in loading method and system
CA2575331A1 (en) Methods and apparatus for subscribing to multimedia delivery services in a data network
WO2017049550A1 (en) Adapter and adapter upgrade method
CN104702631A (en) Method and system for upgrading client software
CN107844306B (en) Application program repairing method and device, storage medium and terminal
WO2018103217A1 (en) Method for upgrading application, and server and user equipment
CN106911500B (en) Physical machine configuration method and device and physical machine
CN104077160A (en) Android software upgrading method, device and system
CN105468395A (en) Updating method, device and system
CN107203379B (en) A kind of preset, the installation method of Android customized application APP
CN111078245A (en) Application silence updating method and device
CN108322540A (en) Customized data lead-in method, terminal and computer readable storage medium
CN113703813A (en) Kernel upgrading method, device, equipment and computer readable storage medium
CN110912963A (en) Cloud configuration silent preassembly method and device
CN113608802A (en) Method and system for operating RPA flow without installation

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