CN108733382B - Application software installation method, device and system - Google Patents

Application software installation method, device and system Download PDF

Info

Publication number
CN108733382B
CN108733382B CN201710270083.XA CN201710270083A CN108733382B CN 108733382 B CN108733382 B CN 108733382B CN 201710270083 A CN201710270083 A CN 201710270083A CN 108733382 B CN108733382 B CN 108733382B
Authority
CN
China
Prior art keywords
user terminal
installation
target
protocol
application software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710270083.XA
Other languages
Chinese (zh)
Other versions
CN108733382A (en
Inventor
陈慧明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710270083.XA priority Critical patent/CN108733382B/en
Publication of CN108733382A publication Critical patent/CN108733382A/en
Application granted granted Critical
Publication of CN108733382B publication Critical patent/CN108733382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an application software installation method, device and system, wherein the method comprises the following steps: acquiring an installation strategy for each user terminal; the installation strategy comprises the following steps: the corresponding relation between each user terminal and the installation mode; determining the current application software to be installed and a target user terminal for installing the application software; determining an installation mode corresponding to the target user terminal according to the corresponding relation between each user terminal and the installation mode in the installation strategy; and installing the application software to the target user terminal according to the installation mode corresponding to the target user terminal. The technical scheme of the invention can conveniently and rapidly realize the installation of the application software on the user terminal.

Description

Application software installation method, device and system
Technical Field
The invention relates to the technical field of Internet, in particular to an application software installation method, device and system.
Background
With the development of technology, various intelligent terminals such as intelligent televisions, intelligent boxes, intelligent projectors, intelligent refrigerators and the like are continuously emerging. The intelligent terminal is a device terminal with a full open platform and an operating system. Taking intelligent electricity as an example, a user can install and uninstall various application software by himself while enjoying common television content, and continuously expand and upgrade functions. The intelligent television can continuously bring rich personalized experience to users, which is different from the use of a cable digital television receiver (set top box).
However, these intelligent terminals lack a browser and an open application store for various reasons, so if a user wants to install new application software on the intelligent terminal, the user needs to download the application software on a website by using a computer, store the downloaded application software on a usb disk, plug the usb disk into the intelligent terminal, and then install the application software on the intelligent terminal, which makes it inconvenient for the user to install various applications on the intelligent terminal.
In addition, there are some user terminals, such as smartphones and PCs, which have browsers and application stores, but the user using the user terminal does not perform installation operations, for example, some elderly people who use smartphones, if want to install new application software thereon, usually need to ask a child or other people to operate on the smartphones instead of himself, so that on one hand, people are familiar with the smartphones, and on the other hand, there is also concern about information leakage of themselves. Even if a PC machine which can accept remote control is adopted, if other people are required to install software required by themselves through remote control, software which can respond to remote control instructions of the other party, such as QQ software and the like, needs to be firstly installed on the PC machine, and the operation has the potential safety hazard of information leakage.
Disclosure of Invention
In the embodiment of the invention, on one hand, an application software installation method is provided, and on the other hand, an application software installation device and an application software installation system are provided, so that the application software can be conveniently and rapidly installed on a target user terminal.
The application software installation method provided by the embodiment of the invention comprises the following steps:
acquiring an installation strategy for each user terminal; the installation strategy comprises the following steps: the corresponding relation between each user terminal and the installation mode;
determining the current application software to be installed and a target user terminal for installing the application software;
determining an installation mode corresponding to the target user terminal according to the corresponding relation between each user terminal and the installation mode in the installation strategy;
and installing the application software to the target user terminal according to the installation mode corresponding to the target user terminal.
The application software installation method provided by the embodiment of the invention comprises the following steps:
setting an installation mode corresponding to each first user terminal for each first user terminal, and forming an installation strategy for each first user terminal;
and issuing the installation strategy aiming at each first user terminal to a second user terminal so that the second user terminal installs the determined application software to be installed on the target first user terminal according to the installation mode of the corresponding target first user terminal in the installation strategy.
The application software installation device provided by the embodiment of the invention comprises:
the installation strategy acquisition module is used for acquiring the installation strategy for each user terminal; the installation strategy comprises the corresponding relation between each user terminal and the installation mode;
the application determining module is used for determining the application software to be installed currently;
the user terminal determining module is used for determining a target user terminal for installing the application software;
the installation mode determining module is used for determining the installation mode corresponding to the target user terminal according to the corresponding relation between each user terminal and the installation mode in the installation strategy acquired by the installation strategy acquiring module;
and the installation execution module is used for installing the application software determined by the application determination module on the target user terminal according to the installation mode corresponding to the target user terminal determined by the installation mode determination module.
The application software installation device provided in the embodiment of the invention comprises:
the installation strategy generation module is used for setting an installation mode corresponding to each first user terminal and forming an installation strategy for each first user terminal;
and the installation strategy issuing module is used for issuing the installation strategy aiming at each first user terminal to a second user terminal so that the second user terminal installs the determined application software to be installed on the target first user terminal according to the installation mode of the corresponding target first user terminal in the installation strategy.
The application software installation system provided in the embodiment of the invention comprises:
the system comprises a server, a second user terminal and at least one first user terminal; wherein,,
the second user terminal comprises the first application software installation device;
the server comprises the second application software installation device.
In the embodiment of the invention, the installation strategy of each first user terminal is obtained by means of the second user terminal and the first user terminal is actively installed according to the installation mode corresponding to the target first user terminal in the installation strategy, so that the first user terminal is released from the complex application software installation process, the application software installation process of the first user terminal is simplified, and the installation efficiency of the application software is improved.
Drawings
For a clearer description of the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described, it will be apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art. Wherein,,
FIG. 1 is a schematic diagram of an implementation environment in accordance with various embodiments of the present invention;
FIG. 2 is an exemplary flowchart of an application software installation method in an embodiment of the present invention;
FIG. 3 is an exemplary flow chart of yet another method for installing application software in accordance with an embodiment of the present invention;
FIG. 4 is a flow chart of an application software installation method in an application example of the present invention;
FIG. 5 is an exemplary block diagram of an application software installation apparatus in an embodiment of the present invention;
FIG. 6 is an exemplary block diagram of yet another application software installation apparatus in accordance with an embodiment of the present invention;
FIG. 7 is a schematic diagram of an application software installation system in an application example of the present invention;
fig. 8 is a schematic structural diagram of a server device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a ue according to an embodiment of the present invention.
Detailed Description
The present invention will be further described in detail with reference to the following examples, in order to make the objects, technical solutions and advantages of the present invention more apparent.
Fig. 1 is a schematic structural diagram of an implementation environment according to various embodiments of the present invention. As shown in fig. 1, the implementation environment includes at least one first user terminal 110, a server 120, and a second user terminal 130.
The first user terminal 110 may be an intelligent terminal such as an intelligent television, an intelligent box, an intelligent projector, an intelligent refrigerator, and an intelligent mobile phone, or may be a tablet computer, a laptop, a desktop computer, and the like.
The server 120 may be a server, a server cluster formed by a plurality of servers, or a cloud computing service center. The server 120 is configured to set, for each first user terminal 110, an installation manner corresponding to the first user terminal 110, thereby forming an installation policy for each first user terminal 110. The first user terminals 110 may have the same installation mode or different installation modes, and may be installed in one installation mode or a combination of multiple installation modes. That is, the installation policy stored in the server 120 includes: correspondence between the first user terminal 110 and the installation mode.
The installation modes can be various, and three types of installation modes are listed below:
1) Based on the installation mode of the debugging interface protocol. For example, an installation mode based on an Android debug bridge (ADB, android Debug Bridge) protocol. The ADB is a general command line tool, through which communication with the Android device can be performed, that is, as long as the first user terminal 110 is an Android device with an Android operating system installed, an installation mode based on an ADB protocol can be adopted. As another example, the installation of the debug interface protocol is based on device reservations. Such as transmission control protocol/user datagram protocol (TCP/UDP, transmission Control Protocol/User Datagram Protocol) installations based on TCL device reservations.
2) And (5) an installation mode based on a multi-screen interaction protocol. For example, the installation of a service discovery protocol (DNS-SD, DNS Service Discovery) based on a domain name resolution system (DNS, domain Name System).
3) Installation modes based on Http or WebSocket protocols. Http and WebSocket are a communication protocol based on which instructions and files can be sent. The WebSocket protocol is a new application layer protocol based on TCP, only needs one connection, and the later data can be directly sent without reestablishing the connection. That is, the Websocket protocol can be divided into two phases, one being a handshake phase and one being a data transfer phase. After the TCP connection is established, first is a WebSocket layer handshake. This stage is very simple, the client sends a request message, such as an http request, to the server, and the server returns a response message, such as an http response, to the client. After the handshake is successful, the data flow stage is entered. This stage is not relevant to the http protocol, and is to divide data into frames (frames) for transmission on the basis of TCP flows.
The second user terminal 130 may be a terminal capable of network communication, such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, an intelligent remote controller, etc. The second user terminal 130 may have an installation assistant software (APP) or an installation assistant module running therein, for obtaining the latest installation policy for each first user terminal 110 from the server 120 after the installation assistant APP or the installation assistant module is started; determining the current application software to be installed, establishing connection with a target first user terminal 110 for installing the application software, determining an installation mode corresponding to the target first user terminal 110 according to the corresponding relation between each first user terminal 110 and the installation mode in the installation strategy, and installing the application software to be installed on the target first user terminal 110 according to the installation mode corresponding to the target first user terminal 110.
The second user terminal 130 and the server 120 may be connected through a wireless network or a wired network, and the second user terminal 130 and the first user terminal 110 may be connected through a wireless network or a wired network.
Fig. 2 is an exemplary flowchart of an application software installation method in an embodiment of the present invention. The method is mainly applied to the second user terminal 130 as shown in fig. 1. As shown in fig. 2, the method may include the steps of:
in step 201, an installation policy for each first user terminal 110 is acquired. The installation policy includes a correspondence between each first user terminal 110 and an installation mode.
In this step 201, the installation policy may be the latest installation policy currently acquired from the server 120, that is, the latest installation policy acquired each time is only cached on the second user terminal 130, and the installation policy is deleted after exiting the flow of the method shown in fig. 2. Alternatively, the latest installation policy locally stored and updated according to the installation policy issued by the server 120 may be stored locally after the latest installation policy is obtained from the server 120 for the first time, and then the locally stored installation policy may be updated according to the latest installation policy issued by the server 120.
There are various installation modes, for example, 1) an installation mode based on a debug interface protocol. Such as an ADB protocol-based installation mode, a device reservation-based installation mode of a debug interface protocol, etc., such as a TCL device reservation-based installation mode of a TCP/UDP interface protocol. 2) Installation modes based on multi-screen interaction protocols, such as installation modes based on DNS-SD protocols. 3) Installation modes based on Http or WebSocket protocols.
The different first user terminals 110 may have the same installation mode or different installation modes, and may use only one installation mode or a combination of multiple installation modes. For example, for a millet box/television, the corresponding installation mode can be an installation mode based on an Http protocol or an installation mode based on a multi-screen interaction protocol; aiming at the TCL intelligent television, the corresponding installation mode can be an installation mode based on a TCP/UDP protocol or an installation mode based on an ADB protocol; for standard Andoid devices, such as Google Nexus, an installation mode based on an ADB protocol can be adopted; for a kitten box, the installation mode based on the Http or WebSocket protocol can be adopted.
Step 202, determining the target first user terminal 110 where the application software is currently to be installed.
In this step 202, there may be various ways to determine the target first user terminal 110 to install the application software. For example, each first user terminal online in the nearby area can be searched by sending a broadcast packet for polling, polling results containing the polled first user terminals are presented, and the first user terminal selected from the polling results is determined as a target first user terminal; or determining the target user terminal according to the received IP address or the identification of the target user terminal; or searching for each user terminal on line in the nearby area by sending a broadcast packet for polling, and if polling is successful, presenting polling results containing the polled user terminals; and if the polling result does not have the target user terminal, determining the target user terminal according to the received IP address or identification of the target user terminal. For the user, wifi is turned on to poll and find each first user terminal 110 online in the nearby local area network, and then a target first user terminal 110 is selected from the polled first user terminals 110. Alternatively, the IP address or the identification of the target first user terminal 110 may be directly input. Alternatively, after the searching for the target first user terminal 110 by the wifi network polling method fails, the IP address or the identifier of the target first user terminal 110 may be input.
In addition, other connection methods are possible, which are not listed here.
Step 203, determining an installation mode corresponding to the target first user terminal 110 according to the corresponding relation between each first user device 110 and the installation mode in the installation policy.
And 204, installing the application software to be installed on the target first user terminal 110 according to the installation mode corresponding to the target first user terminal 110.
The installation process corresponding to the installation mode based on the ADB protocol may be, for example: the connection is performed using the ADB protocol, then the application software is pushed to the target first user terminal by means of a push (ADB push) command, and finally an install (ADB install) command is performed to install the application software that has been pushed to the target first user terminal in the previous step.
Corresponding to the installation mode based on the TCP/UDP protocol, the installation process can be as follows: the ADB protocol is started through TCP, and then the installation flow based on the ADB protocol is executed.
Corresponding to the installation mode based on the multi-screen interaction protocol, the installation process can be, for example: the multi-screen interaction protocol is divided into a device discovery command and an upper command control command, a target first user terminal is discovered firstly based on a DNS-SD protocol, and then the application software to be installed is uploaded through an Http or WebSocket upper protocol for installation.
Corresponding to the installation mode based on Http or WebSocket protocol, the installation process may be, for example: in a target first user terminal supporting the installation mode of the Http protocol, such as a millet box/television, the application software is uploaded to the target first user terminal, and then the target user terminal is triggered to execute the installation. And on a target first user terminal supporting an installation mode based on a WebSocket protocol, such as a heaven box, writing the application software into the target user terminal by using the WebSocket mode, and triggering the target user terminal to execute installation.
In this embodiment, if the second user terminal 130 has installed the installation assistant software (APP) or the installation assistant module that performs the steps 201 to 204, the steps 201 to 204 may be directly performed, and if the installation assistant APP or the installation assistant module that performs the steps 201 to 204 is not installed, the step 201 may be preceded by the following steps: downloading and installing an installation assistant APP or an installation assistant module, and starting the installation assistant APP or the installation assistant module.
FIG. 3 is an exemplary flow chart of yet another method for installing application software in an embodiment of the invention. The method is mainly applied to the server 120 as shown in fig. 1. As shown in fig. 3, the method may include the steps of:
in step 301, an installation mode corresponding to each first user terminal 110 is set for each first user terminal 110, so as to form an installation policy for each first user terminal 110. That is, the installation policy includes a correspondence relationship between each first user terminal 110 and an installation manner.
The installation manner corresponding to each first user terminal 110 may include any one or a combination of the following installation manners: an installation mode based on a debugging interface protocol; an installation mode based on a multi-screen interaction protocol; installation modes based on Http or WebSocket protocols; the installation mode based on the debug interface protocol comprises the following steps: an ADB protocol based installation and/or a TCP/UDP protocol based installation.
Step 302, issuing the installation policy for each first user terminal 110 to the second user terminal 130, so that the second user terminal 130 installs the determined application software to be installed on the target first user terminal 110 according to the installation mode of the corresponding target first user terminal 110 in the installation policy.
Fig. 4 is a flow chart of an application software installation method in an application example of the present invention. As shown in fig. 4, the method comprises the steps of:
in step 401, the server 120 enters and updates the installation policy for each first user device 110. The installation policy includes a correspondence between the first user terminal 110 and an installation manner.
In step 402, the server 120 stores the installation policy in the cloud storage.
Step 403, starting an installation assistant APP or an installation assistant module on the second user terminal 130.
In step 404, the second user terminal 130 requests the latest installation policy from the server 120.
In step 405, the second user terminal 130 starts device scanning to acquire each first user terminal 130 online in the nearby area.
Step 406, the second user terminal 130 determines whether each first user terminal 130 is found, and if found, step 407 is executed; otherwise, step 409 is performed.
In step 407, the second user terminal 130 lists the found first user terminals 130.
Step 408, the second user terminal 130 takes the first user terminal 130 selected by the user from the listed first user terminals 130 as the target first user terminal, and then step 410 is performed.
Step 409, the second user terminal 130 determines whether the user has inputted the IP address of the target first user terminal, if so, determines the target first user terminal according to the IP address of the first user terminal inputted by the user, and then performs step 410; otherwise, ending.
In step 410, the second user terminal 130 connects to the target first user terminal.
In step 411, the second user terminal 130 installs the determined application software to be installed on the target first user terminal, and then ends.
The method for installing the application software in the embodiment of the present invention is described in detail above, and the device for installing the application software in the embodiment of the present invention is described in detail below, and details not disclosed in the embodiment of the device of the present invention can be referred to the description in the corresponding method embodiment.
Fig. 5 is an exemplary configuration diagram of an application software installation apparatus according to an embodiment of the present invention. The apparatus may be located on a second user terminal 130 as shown in fig. 1. As shown in fig. 5, the apparatus may include: an installation policy obtaining module 501, an application determining module 502, a user terminal determining module 503, an installation mode determining module 504, and an installation executing module 505.
The installation policy obtaining module 501 is configured to obtain an installation policy for each first user terminal 110. The installation policy includes a correspondence between each first user terminal 110 and an installation mode. The installation manner corresponding to each first user terminal 110 may include any one or a combination of the following installation manners: an installation mode based on a debugging interface protocol; an installation mode based on a multi-screen interaction protocol; installation modes based on Http or WebSocket protocols; the installation mode based on the debug interface protocol comprises the following steps: an ADB protocol based installation and/or a TCP/UDP protocol based installation.
The application determination module 502 is configured to determine application software to be currently installed.
The user terminal determining module 503 is configured to determine a target first user terminal 110 for installing the application software. For example, the user terminal determining module 503 may search for each first user terminal online in the nearby area by sending a broadcast packet for polling, present a polling result including each first user terminal that is polled, and determine a first user terminal selected from the polling result as a target first user terminal; alternatively, the target first user terminal may be determined based on the received IP address or identification of the target first user terminal.
The installation mode determining module 504 is configured to determine an installation mode corresponding to the target first user terminal 110 according to the corresponding relationship between each first user terminal 110 and the installation mode in the installation policy acquired by the installation policy acquiring module 501.
The installation execution module 505 is configured to install the application software to be installed determined by the application determination module 502 onto the target first user terminal 110 according to the installation mode corresponding to the target first user terminal 110 determined by the installation mode determination module 504.
Corresponding to the method shown in fig. 2, the installation execution module 505 may include: at least one or any combination of the following modules: a first module 5051, a second module 5052, a third module 5053 fourth module 5054 and fifth module 5055.
The first module 5051 is configured to establish a connection with the target user terminal using an ADB protocol when the installation mode corresponding to the target user terminal is an installation mode based on the ADB protocol, push the application software to the target user terminal through a push command of the ADB protocol, and then execute the installation command of the ADB protocol to install the application software pushed to the target user terminal on the target user terminal.
The second module 5052 is configured to start an ADB protocol through a TCP/UDP protocol when the installation mode corresponding to the target user terminal is an installation mode based on the TCP/UDP protocol, push the application software to the target user terminal through a push command of the ADB protocol, and then execute the installation command of the ADB protocol to install the application software pushed to the target user terminal on the target user terminal.
And a third module 5053, configured to upload the application software to the target ue when the installation mode corresponding to the target ue is an installation mode based on Http protocol, and then trigger the target ue to execute installation.
The fourth module 5054 is configured to write the application software to the target user terminal by using a WebSocket protocol mode when the installation mode corresponding to the target user terminal is an installation mode based on the WebSocket protocol, and then trigger the target user terminal to execute installation.
The fifth module 5055 is configured to, when the installation mode corresponding to the target user terminal is an installation mode based on a multi-screen interaction protocol, first discover the target user terminal based on a DNS service discovery protocol, then upload or write the application software into the target user terminal through an Http or WebSocket upper layer protocol, and trigger the target user terminal to install.
Fig. 6 is an exemplary structural diagram of still another application software installation apparatus in an embodiment of the present invention. The device may be located on a server 120 as shown in fig. 1. As shown in fig. 6, the apparatus may include: an installation policy generation module 601 and an installation policy issuing module 602.
The installation policy generation module 601 is configured to set an installation manner corresponding to each first user terminal for each first user terminal, and form an installation policy for each first user terminal. The installation manner corresponding to each first user terminal 110 may include any one or a combination of the following installation manners: an installation mode based on a debugging interface protocol; an installation mode based on a multi-screen interaction protocol; installation modes based on Http or WebSocket protocols; the installation mode based on the debug interface protocol comprises the following steps: an ADB protocol based installation and/or a TCP/UDP protocol based installation.
The installation policy issuing module 602 is configured to issue the installation policy for each first user terminal to a second user terminal, so that the second user terminal installs the determined application software to be installed on the target first user terminal according to the installation mode of the corresponding target first user terminal in the installation policy.
An application software installation system in an embodiment of the present invention may include, as shown in fig. 1: the system comprises a server, a second user terminal and at least one first user terminal; wherein the server may comprise an application software installation device as shown in fig. 6 and the second user terminal may comprise an application software installation device as shown in fig. 5.
Fig. 7 is a schematic diagram of the structure of an application software installation system in an application example of the present invention. As shown in fig. 7, this application example includes: server 701, smart phone 702, and smart terminal 703. In this application example, the smart terminal 703 may include a TCL television, a millet box, and the like.
In this embodiment, the server 701 is configured to set respective corresponding installation manners for each intelligent terminal 703, such as a TCL television, a millet box, and so on, so as to form an installation policy for each intelligent terminal 603. For example, the installation mode for TCL televisions may be: an installation mode based on TCP/UDP protocol or an installation mode based on ADB protocol; the mounting mode for the millet box can be as follows: an installation mode based on an Http protocol or an installation mode based on a multi-screen interaction protocol.
The smart phone 702 is configured to acquire an installation policy for each smart terminal 703 from the server 701. As shown in fig. 7, in this example, the smart phone 702 may first request the latest installation policy from the server 701, and then the server 701 issues the latest installation policy. In this example, the server 701 and the smart phone 702 may employ a cloud network for information interaction. The smart phone 702 determines the application software to be currently installed and the target smart terminal 703 to which the application software is installed. When determining the target smart terminal 703, the smart phone 702 may search for each smart terminal 703 that is online in the nearby area (i.e., first scans the devices that are online around) by sending a broadcast packet in a polling manner, where the polling result shown in fig. 7 includes a TCL television and a millet box, and if the smart terminal selected by the user is a TCL television, the smart phone 702 determines the TCL television as the target smart terminal 703. The smart phone 702 determines the installation mode corresponding to the target smart terminal, such as the TCL television, according to the corresponding relationship between each smart terminal 703 and the installation mode in the installation policy, and then installs the application software to be installed on the target smart terminal 703, such as the TCL television, according to the installation mode corresponding to the target smart terminal 703, such as the TCL television.
In addition, each of the embodiments of the present invention can be realized by a data processing program executed by a data processing apparatus such as a computer. Obviously, the data processing program constitutes the invention. In addition, a data processing program typically stored in one storage medium is executed by directly reading the program out of the storage medium or by installing or copying the program into a storage device (such as a hard disk and/or a memory) of the data processing apparatus. Therefore, such a storage medium also constitutes the present invention. The storage medium may use any type of recording means, such as paper storage medium (e.g., paper tape, etc.), magnetic storage medium (e.g., floppy disk, hard disk, flash memory, etc.), optical storage medium (e.g., CD-ROM, etc.), magneto-optical storage medium (e.g., MO, etc.), etc.
Further, it is understood that the program code read out by the storage medium is written into a memory provided in an expansion board inserted into a computer or into a memory provided in an expansion unit connected to the computer, and then a processor or the like mounted on the expansion board or the expansion unit is caused to perform part and all of actual operations based on instructions of the program code, thereby realizing the functions of any of the above embodiments. Wherein the processor may include one or more processing cores.
For example, fig. 8 is a schematic structural diagram of a server device in an embodiment of the present invention. The server may be used to implement the method shown in fig. 3 as well as the apparatus shown in fig. 6. As shown in fig. 8, the server apparatus may include: a processor 801, a non-volatile computer readable memory 802, an input output controller 803, and a network communication interface 804. These components communicate via a bus 805.
In the present embodiment, a plurality of program modules, such as an operating system 806, a network communication module 807, and an application 808, are stored in the memory 802.
The processor 801 may read various modules (not shown) in the application programs 808 in the memory 802 to perform various functional applications and data processing of the server device. The number of the processors 801 in this embodiment may be one or more, and may be a CPU, a processing unit/module, an ASIC, a logic module, a programmable gate array, or the like.
The input/output controller 803 has a display and an input device for performing input, output, display, and the like of the related data. Comprising the following steps: and inputting and displaying the installation strategy and the like corresponding to each first user equipment.
Operating system 806 includes, but is not limited to: android operating system, symbian operating system, windows operating system, linux operating system, etc.
The application 808 may include various functional modules in the device shown in fig. 6. These functional modules may be a set of computer-executable instructions 809 and corresponding metadata and heuristics 810 that are executed by the processor 801.
In this embodiment, the network communication interface 804 and the network communication module 806 cooperate to complete the transmission and reception of various network signals of the server device, including the transmission of the installation policy between the second user terminal and the network data interaction.
As another example, fig. 9 is a schematic structural diagram of a user terminal according to an embodiment of the present invention. The user terminal may be used to implement the method shown in fig. 2 and the apparatus shown in fig. 5. As shown in fig. 9, the user terminal may include: a processor 901, a non-volatile computer readable memory 902, a display unit 903, and a network communication interface 904. These components communicate via a bus 905.
In the present embodiment, the memory 902 stores a plurality of program modules, for example: an operating system 906, network communication modules 907, and application programs 908.
The processor 901 may read various modules included in the application program 908 in the memory 902 to perform various functional applications of the user terminal and data processing. The number of the processors 901 in this embodiment may be one or more, and may be a CPU, a processing unit/module, an ASIC, a logic module, a programmable gate array, or the like.
Operating system 906 includes, among other things: android operating system, symbian operating system, windows mobile operating system, apple iPhone OS operating system, etc.
Application 908 may include the various functional modules in the device shown in fig. 5 and form a corresponding set of computer-executable instructions 909 and corresponding metadata and heuristics 910. These sets of computer executable instructions may be executed by the processor 901 and perform the functions of the method of fig. 2 or the apparatus of fig. 5.
In this embodiment, the network communication interface 904 and the network communication module 908 cooperate to complete the transceiving of various network signals of the user terminal, including the installation policy with the server, the discovery with the first user terminal, the transmission of application software data, the interaction of network data, and the like.
The display unit 903 has a display panel for completing input and display of related information, including receiving a selection instruction of a user or an IP address or identification of a target first user terminal input by the user, and the like.
In the embodiment of the invention, the installation strategy of each first user terminal is obtained by means of the second user terminal and the first user terminal is actively installed according to the installation mode corresponding to the target first user terminal in the installation strategy, so that the first user terminal is released from the complex application software installation process, the application software installation process of the first user terminal is simplified, and the installation efficiency of the application software is improved.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (13)

1. An application software installation method, comprising:
the second user terminal obtains the installation strategy aiming at each first user terminal from a server side or obtains the installation strategy aiming at each first user terminal, which is issued and updated by the server side, from a local storage; the installation strategy comprises the following steps: the corresponding relation between each first user terminal and the installation mode set by the server; wherein the installation mode comprises any one or combination of the following installation modes: an installation mode based on a debugging interface protocol; an installation mode based on a multi-screen interaction protocol; installation modes based on Http or WebSocket protocols;
determining the current application software to be installed and a target first user terminal for installing the application software;
determining an installation mode corresponding to the target first user terminal according to the corresponding relation between each first user terminal and the installation mode in the installation strategy;
and installing the application software to the target first user terminal according to the installation mode corresponding to the target first user terminal.
2. The method according to claim 1, wherein the installation manner based on the debug interface protocol comprises: an ADB protocol based installation and/or a TCP/UDP protocol based installation.
3. The method according to claim 2, wherein the installing the application software on the target first user terminal according to the installation mode corresponding to the target first user terminal includes:
if the installation mode corresponding to the target first user terminal is an installation mode based on an ADB protocol, establishing connection with the target first user terminal by using the ADB protocol, pushing the application software to the target first user terminal through a pushing command of the ADB protocol, and then executing the installation command of the ADB protocol to install the application software pushed to the target first user terminal on the target first user terminal;
if the installation mode corresponding to the target first user terminal is an installation mode based on a TCP/UDP protocol, an ADB protocol is started through the TCP/UDP protocol, then the application software is pushed to the target first user terminal through a push command of the ADB protocol, and then the installation command of the ADB protocol is executed to install the application software pushed to the target first user terminal on the target first user terminal.
4. The method of claim 1, wherein installing the application software on the target first user terminal according to the installation mode corresponding to the target first user terminal comprises:
if the installation mode corresponding to the target first user terminal is an installation mode based on an Http protocol, uploading the application software to the target first user terminal, and triggering the target first user terminal to execute installation;
if the installation mode corresponding to the target first user terminal is an installation mode based on a WebSocket protocol, writing the application software into the target first user terminal by using the WebSocket protocol mode, and triggering the target first user terminal to execute installation;
if the installation mode corresponding to the target first user terminal is an installation mode based on a multi-screen interaction protocol, the target first user terminal is found out firstly based on a DNS service discovery protocol, then the application software is uploaded or written into the target first user terminal through an Http or WebSocket upper layer protocol, and the target first user terminal is triggered to be installed.
5. The method of claim 1, wherein the determining the target first user terminal to install the application software comprises: searching for each first user terminal on line in a nearby area by sending a broadcast packet to carry out polling, presenting polling results containing the polled first user terminals, and determining the first user terminal selected from the polling results as a target first user terminal; or,
determining a target first user terminal according to the received IP address or the identification of the target first user terminal; or,
searching for each first user terminal on line in the nearby area by sending a broadcast packet to carry out polling, and presenting polling results containing the polled first user terminals; and if the polling result does not have the target first user terminal, determining the target first user terminal according to the received IP address or identification of the target first user terminal.
6. The method of claim 1, wherein prior to obtaining the installation policy for each first user terminal, the method further comprises: pre-installing an installation assistant application program APP or an installation assistant module, and starting the installation assistant application program APP or the installation assistant module.
7. An application software installation method, comprising:
the method comprises the steps that a server sets an installation mode corresponding to each first user terminal for each first user terminal, and an installation strategy for each first user terminal is formed; wherein the installation mode comprises any one or combination of the following installation modes: an installation mode based on a debugging interface protocol; an installation mode based on a multi-screen interaction protocol; installation modes based on Http or WebSocket protocols;
and the server issues the installation strategy for each first user terminal to a second user terminal, so that the second user terminal installs the determined application software to be installed on the target first user terminal according to the installation mode of the corresponding target first user terminal in the installation strategy.
8. An application software installation apparatus, comprising:
the installation strategy acquisition module is used for acquiring the installation strategy for each first user terminal from the server side or acquiring the installation strategy for each user terminal issued and updated by the server side from the local storage; the installation strategy comprises the corresponding relation between each user terminal and the installation mode, which are set by the server; wherein the installation mode comprises any one or combination of the following installation modes: an installation mode based on a debugging interface protocol; an installation mode based on a multi-screen interaction protocol; installation modes based on Http or WebSocket protocols;
the application determining module is used for determining the application software to be installed currently;
the user terminal determining module is used for determining a target user terminal for installing the application software;
the installation mode determining module is used for determining the installation mode corresponding to the target user terminal according to the corresponding relation between each user terminal and the installation mode in the installation strategy acquired by the installation strategy acquiring module;
and the installation execution module is used for installing the application software determined by the application determination module on the target user terminal according to the installation mode corresponding to the target user terminal determined by the installation mode determination module.
9. The apparatus of claim 8, wherein the user terminal determining module searches for each user terminal online in the nearby area by polling by transmitting a broadcast packet, presents a polling result including each polled user terminal, and determines a user terminal selected from the polling result as a target user terminal; or determining the target user terminal according to the received IP address or the identification of the target user terminal.
10. The apparatus of claim 9, wherein the mounting means comprises any one or a combination of the following mounting means: an installation mode based on a debugging interface protocol; an installation mode based on a multi-screen interaction protocol; installation modes based on Http or WebSocket protocols; the installation mode based on the debug interface protocol comprises the following steps: an ADB protocol based installation and/or a TCP/UDP protocol based installation.
11. The apparatus of claim 10, wherein the installation execution module comprises at least one or any combination of the following modules:
the first module is used for establishing a connection with the target user terminal by using an ADB protocol when the installation mode corresponding to the target user terminal is an installation mode based on the ADB protocol, pushing the application software to the target user terminal through a pushing command of the ADB protocol, and then executing the installation command of the ADB protocol to install the application software pushed to the target user terminal on the target user terminal;
the second module is used for starting an ADB protocol through the TCP/UDP protocol when the installation mode corresponding to the target user terminal is an installation mode based on the TCP/UDP protocol, pushing the application software to the target user terminal through a pushing command of the ADB protocol, and executing the installation command of the ADB protocol to install the application software pushed to the target user terminal on the target user terminal;
a third module, configured to upload the application software to the target user terminal when the installation mode corresponding to the target user terminal is an installation mode based on an Http protocol, and then trigger the target user terminal to execute installation;
a fourth module, configured to, when the installation mode corresponding to the target user terminal is an installation mode based on a WebSocket protocol, write the application software into the target user terminal by using the WebSocket protocol mode, and then trigger the target user terminal to execute installation;
and a fifth module, configured to, when the installation mode corresponding to the target user terminal is an installation mode based on a multi-screen interaction protocol, first discover the target user terminal based on a DNS service discovery protocol, then upload or write the application software into the target user terminal through an Http or WebSocket upper layer protocol, and trigger the target user terminal to install.
12. An application software installation apparatus, comprising:
the installation strategy generation module is used for setting an installation mode corresponding to each first user terminal and forming an installation strategy for each first user terminal; wherein the installation mode comprises any one or combination of the following installation modes: an installation mode based on a debugging interface protocol; an installation mode based on a multi-screen interaction protocol; installation modes based on Http or WebSocket protocols;
and the installation strategy issuing module is used for issuing the installation strategy aiming at each first user terminal to a second user terminal so that the second user terminal installs the determined application software to be installed on the target first user terminal according to the installation mode of the corresponding target first user terminal in the installation strategy.
13. An application software installation system, comprising: the system comprises a server, a second user terminal and at least one first user terminal; wherein,,
said server comprising an application software installation device as claimed in claim 12;
the second user terminal comprising an application software installation device as claimed in any one of claims 8 to 11.
CN201710270083.XA 2017-04-24 2017-04-24 Application software installation method, device and system Active CN108733382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710270083.XA CN108733382B (en) 2017-04-24 2017-04-24 Application software installation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710270083.XA CN108733382B (en) 2017-04-24 2017-04-24 Application software installation method, device and system

Publications (2)

Publication Number Publication Date
CN108733382A CN108733382A (en) 2018-11-02
CN108733382B true CN108733382B (en) 2023-04-28

Family

ID=63934342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710270083.XA Active CN108733382B (en) 2017-04-24 2017-04-24 Application software installation method, device and system

Country Status (1)

Country Link
CN (1) CN108733382B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111200739A (en) * 2020-01-03 2020-05-26 上海小麦互动企业发展有限公司 Method for infinitely installing apk
CN112732282A (en) * 2021-01-20 2021-04-30 腾讯科技(深圳)有限公司 Installation package downloading method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095076A (en) * 2015-07-17 2015-11-25 北京金山安全软件有限公司 Method and device for testing compatibility between application software versions
CN106302470A (en) * 2016-08-18 2017-01-04 优地技术有限公司 The method that Based Intelligent Control TV box transfers data to television
CN106293734A (en) * 2016-08-05 2017-01-04 佛山绿怡信息科技有限公司 The method and device of detection android terminal information

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629935A (en) * 2012-03-07 2012-08-08 中兴通讯股份有限公司 Method for installing application software based on cloud service, device thereof and system thereof
CN103517110B (en) * 2012-06-29 2016-08-17 深圳市快播科技有限公司 A kind of multi-screen interaction communication system and method
CN103581706B (en) * 2013-10-11 2017-03-29 聚好看科技股份有限公司 The application installation method of intelligent television and system
CN103634689A (en) * 2013-12-06 2014-03-12 乐视致新电子科技(天津)有限公司 Method and device for installing application program into smart television through mobile communication terminal
CN105578288A (en) * 2015-12-15 2016-05-11 四川长虹电器股份有限公司 System for self-adaptive remote installation of applications to intelligent television side through mobile terminal and method thereof
CN105578310A (en) * 2016-02-03 2016-05-11 青岛海信传媒网络技术有限公司 Smart TV remote control method and device based on websocket protocol
CN105760204A (en) * 2016-04-05 2016-07-13 青岛海信电器股份有限公司 Method and equipment for installing application program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095076A (en) * 2015-07-17 2015-11-25 北京金山安全软件有限公司 Method and device for testing compatibility between application software versions
CN106293734A (en) * 2016-08-05 2017-01-04 佛山绿怡信息科技有限公司 The method and device of detection android terminal information
CN106302470A (en) * 2016-08-18 2017-01-04 优地技术有限公司 The method that Based Intelligent Control TV box transfers data to television

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭昆.指挥信息系统高效部署平台研究.《2014第二届中国指挥控制大会论文集(上)》.2014,第209-212页. *

Also Published As

Publication number Publication date
CN108733382A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
RU2595632C1 (en) Systems and methods for sharing files among multiple terminals
EP2696559B1 (en) Method and Device for Resource Sharing Between Devices
CN110032512B (en) Debugging method of small program, related equipment and terminal
WO2014012449A1 (en) Method, device, processing center and system for desktop synchronization
WO2017107542A1 (en) Video program obtaining method, device and system
KR20130135134A (en) Installing application remotely
CN113507517A (en) Screen projection equipment discovery method and device, electronic equipment and storage medium
CN106028106A (en) Television control method and device
WO2018107719A1 (en) Data sharing method, apparatus, terminal device and server
US9363623B2 (en) Communication system, communication method, and non-transitory computer-readable medium
KR20120089000A (en) Apparatus and method for providing application auto install function in digital device
JP2011066485A (en) Projector, projector system, control method, and control program
CN104767767A (en) Method, device and system for sharing Internet access data and network equipment
TW201310947A (en) File download system
US20130151672A1 (en) Cloud computing method, computing apparatus and server using the same
CN108733382B (en) Application software installation method, device and system
WO2015074391A1 (en) Method and apparatus for mounting peripheral components on multiple virtual machines
CN111479250A (en) File sharing method, device and system and terminal equipment
US10805427B1 (en) Backup and restore of customer devices
CN105872794A (en) Video sharing method and device
US10382607B2 (en) Switching TV channels using a mobile device and a set-top box
US10674022B2 (en) Server, server system, non-transitory computer-readable recording medium storing computer-readable instructions for server, and method performed by server
JP2017130197A (en) Method and system for managing application of set-top box
CN103634936A (en) File downloading method, device and system
CN103631621A (en) Method and device for prompting information

Legal Events

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