CN110502248A - A kind of application program installation method and terminal - Google Patents

A kind of application program installation method and terminal Download PDF

Info

Publication number
CN110502248A
CN110502248A CN201910586366.4A CN201910586366A CN110502248A CN 110502248 A CN110502248 A CN 110502248A CN 201910586366 A CN201910586366 A CN 201910586366A CN 110502248 A CN110502248 A CN 110502248A
Authority
CN
China
Prior art keywords
terminal
input
application program
desktop
user
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
CN201910586366.4A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910586366.4A priority Critical patent/CN110502248A/en
Publication of CN110502248A publication Critical patent/CN110502248A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例公开了一种应用程序安装方法及终端,涉及通信技术领域,用以解决现有技术下载并安装应用程序的过程比较繁琐耗时。该方法包括:在第一终端与第二终端建立通信连接的情况下,接收用户的第一输入,第一输入用于控制第一终端和第二终端相对运动;响应于第一输入,显示N个目标标识,每个目标标识分别用于指示N个目标应用程序图标中的不同应用程序图标,N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中或者第二终端的桌面当前显示的页面中与第一终端的桌面当前显示的页面中不同的应用程序图标;接收用户的第二输入;响应于第二输入,在第一终端中安装N个目标应用程序图标中的M个应用程序图标对应的M个应用程序。

The embodiment of the invention discloses an application program installation method and a terminal, which relate to the field of communication technology and are used to solve the cumbersome and time-consuming process of downloading and installing application programs in the prior art. The method includes: when the first terminal establishes a communication connection with the second terminal, receiving a first input from the user, the first input is used to control the relative movement of the first terminal and the second terminal; in response to the first input, displaying N target identifiers, each target identifier is used to indicate a different application program icon in the N target application program icons, and the N target application program icons are the desktop of the second terminal and the desktop of the first terminal or the second terminal An application program icon different from the page currently displayed on the desktop of the first terminal in the page currently displayed on the desktop; receiving a second input from the user; in response to the second input, installing one of the N target application program icons in the first terminal M application programs corresponding to the M application program icons.

Description

一种应用程序安装方法及终端Application program installation method and terminal

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种应用程序安装方法及终端。Embodiments of the present invention relate to the field of communication technologies, and in particular, to an application program installation method and a terminal.

背景技术Background technique

随着终端技术的不断发展,终端的应用程序越来越广泛,终端支持的应用程序(以下称为应用程序)也越来越多。With the continuous development of terminal technology, the application programs of the terminal are more and more extensive, and the application programs (hereinafter referred to as application programs) supported by the terminal are also more and more.

目前,当朋友向用户推荐一些比较好的应用程序(以下以应用程序A为例,进行示例性说明)时,用户通常需要下载并安装应用程序A。下载并安装应用程序A的过程具体如下:用户先触发第一终端打开可以下载应用程序A的应用程序B,其次触发第一终端在应用程序B中搜索应用程序A,然后再触发第一终端下载搜索到的应用程序A,最后在应用程序A下载完成后,再触发第一终端安装应用程序A。然而,上述下载并安装应用程序的过程比较繁琐耗时。At present, when a friend recommends some good application programs to the user (the application program A is used as an example for illustration below), the user usually needs to download and install the application program A. The process of downloading and installing application A is as follows: the user first triggers the first terminal to open application B that can download application A, then triggers the first terminal to search for application A in application B, and then triggers the first terminal to download After the searched application program A is finally downloaded, the first terminal is triggered to install the application program A. However, the above-mentioned process of downloading and installing an application program is cumbersome and time-consuming.

发明内容Contents of the invention

本发明实施例提供一种应用程序安装方法及终端,以解决现有技术下载并安装应用程序的过程比较繁琐耗时的问题。Embodiments of the present invention provide an application program installation method and a terminal to solve the problem in the prior art that the process of downloading and installing application programs is cumbersome and time-consuming.

为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,本发明实施例提供了一种应用程序安装方法,应用于第一终端,该方法包括:在第一终端与第二终端建立通信连接的情况下,接收用户的第一输入,第一输入用于控制第一终端和第二终端相对运动;响应于第一输入,显示N个目标标识,其中,每个目标标识分别用于指示N个目标应用程序图标中的不同应用程序图标,该N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中不同的应用程序图标;或者,该N个目标应用程序图标为第二终端的桌面当前显示的页面中与第一终端的桌面当前显示的页面中不同的应用程序图标;接收用户的第二输入;响应于第二输入,在第一终端中安装M个应用程序,该M个应用程序为该N个目标应用程序图标中的M个应用程序图标对应的应用程序;其中,N、M均为正整数。In a first aspect, an embodiment of the present invention provides a method for installing an application program, which is applied to a first terminal, and the method includes: receiving a first input from a user when a communication connection is established between the first terminal and a second terminal, and the second An input is used to control the relative movement of the first terminal and the second terminal; in response to the first input, N target identifications are displayed, wherein each target identification is used to indicate a different application program icon among the N target application program icons, The N target application program icons are different application program icons in the desktop of the second terminal and the desktop of the first terminal; or, the N target application program icons are in the page currently displayed on the desktop of the second terminal and Different application program icons in the page currently displayed on the desktop of the terminal; receiving a second input from the user; in response to the second input, installing M application programs in the first terminal, and the M application programs are the N target application programs The application programs corresponding to the M application program icons in the icon; wherein, N and M are both positive integers.

第二方面,本发明实施例提供了一种终端,该终端为第一终端,该终端包括:接收模块、显示模块和安装模块;接收模块,用于在第一终端与第二终端建立通信连接的情况下,接收用户的第一输入,第一输入用于控制第一终端和第二终端相对运动;显示模块,用于响应于接收模块接收的第一输入,显示N个目标标识,其中,每个目标标识分别用于指示N个目标应用程序图标中的不同应用程序图标,N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中不同的应用程序图标;或者,N个目标应用程序图标为第二终端的桌面当前显示的页面中与第一终端的桌面当前显示的页面中不同的应用程序图标;接收模块,还用于接收用户的第二输入;安装模块,用于响应于接收模块接收的第二输入,在第一终端中安装M个应用程序,M个应用程序为N个应用程序图标中的M个应用程序图标对应的应用程序;其中,N、M均为正整数。In a second aspect, an embodiment of the present invention provides a terminal, the terminal is a first terminal, and the terminal includes: a receiving module, a display module, and an installation module; the receiving module is used to establish a communication connection between the first terminal and the second terminal In the case of receiving a user's first input, the first input is used to control the relative movement of the first terminal and the second terminal; the display module is configured to display N target identifiers in response to the first input received by the receiving module, wherein, Each target identifier is used to indicate a different application program icon in the N target application program icons, and the N target application program icons are different application program icons in the desktop of the second terminal and in the desktop of the first terminal; or, N The first target application icon is an application icon different from the page currently displayed on the desktop of the second terminal and the page currently displayed on the desktop of the first terminal; the receiving module is also used to receive the second input of the user; the installation module is used to In response to the second input received by the receiving module, M application programs are installed in the first terminal, and the M application programs are application programs corresponding to M application program icons in the N application program icons; wherein, N and M are both is a positive integer.

第三方面,本发明实施例提供了一种终端,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面中的应用程序安装方法的步骤。In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program is executed by the processor, the first Steps of an application installation method in an aspect.

第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面中的应用程序安装方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the application program installation method in the first aspect are implemented. .

在本发明实施例中,在第一终端与第二终端建立通信连接的情况下,第一终端可以接收用户的第一输入,响应于第一输入,显示N个目标标识,并接收用户的第二输入,响应于第二输入,在第一终端中安装M个应用程序。其中,第一输入用于控制第一终端和第二终端相对运动;每个目标标识分别用于指示N个目标应用程序图标中的不同应用程序图标;该N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中不同的应用程序图标,或者,该N个目标应用程序图标为第二终端的桌面当前显示的页面中与第一终端的桌面当前显示的页面中不同的应用程序图标;该M个应用程序为该N个目标应用程序图标中的M个应用程序图标对应的应用程序;N、M均为正整数。通过该方案,用户通过第一输入,可以触发第一终端显示用于指示第一终端未安装,而第二终端安装的全部目标应用程序(即N个目标应用程序,对应桌面中所有应用程序图标)的目标标识,或者触发第一终端显示用于指示第一终端的桌面当前显示的页面中未安装,而第二终端的桌面当前显示的页面中安装的全部目标应用程序(N个目标应用程序,对应桌面当前显示的页面中所有的应用程序图标)的目标标识,然后用户可以通过第二输入,触发第一终端安装N个目标应用程序中的M个应用程序。从而相对于现有技术简化了应用程序的安装步骤,可以实现应用程序的快速安装。In the embodiment of the present invention, when the first terminal establishes a communication connection with the second terminal, the first terminal may receive the user's first input, display N target identifiers in response to the first input, and receive the user's first input Two inputs, in response to the second input, M application programs are installed in the first terminal. Wherein, the first input is used to control the relative movement of the first terminal and the second terminal; each target identifier is used to indicate a different application program icon in the N target application program icons; the N target application program icons are the second terminal The application icons on the desktop of the first terminal are different from those on the desktop of the first terminal, or the N target application icons are different applications on the page currently displayed on the desktop of the second terminal and the page currently displayed on the desktop of the first terminal Program icons; the M application programs are the application programs corresponding to the M application program icons in the N target application program icons; N and M are both positive integers. Through this solution, the user can trigger the first terminal to display all the target application programs (that is, N target application programs, corresponding to all application program icons in the desktop) for indicating that the first terminal is not installed and the second terminal is installed through the first input. ), or trigger the first terminal to display all target applications (N target application programs) that are not installed in the page currently displayed on the desktop of the second terminal and are not installed in the page currently displayed on the desktop of the second terminal when the first terminal is triggered , corresponding to the target identifiers of all application program icons in the page currently displayed on the desktop), and then the user can trigger the first terminal to install M application programs in the N target application programs through a second input. Therefore, compared with the prior art, the installation steps of the application program are simplified, and the quick installation of the application program can be realized.

附图说明Description of drawings

图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;Fig. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention;

图2为本发明实施例提供的应用程序安装方法的流程图之一;FIG. 2 is one of the flow charts of the application program installation method provided by the embodiment of the present invention;

图3为本发明实施例提供的两个终端之间的相对位置的示意图;FIG. 3 is a schematic diagram of relative positions between two terminals provided by an embodiment of the present invention;

图4为本发明实施例提供的应用程序安装方法的界面的示意图之一;FIG. 4 is one of the schematic diagrams of the interface of the application program installation method provided by the embodiment of the present invention;

图5为本发明实施例提供的应用程序安装方法的流程图之二;FIG. 5 is the second flowchart of the application program installation method provided by the embodiment of the present invention;

图6为本发明实施例提供的应用程序安装方法的流程图之三;FIG. 6 is the third flowchart of the application program installation method provided by the embodiment of the present invention;

图7为本发明实施例提供的应用程序安装方法的界面的示意图之二;FIG. 7 is the second schematic diagram of the interface of the application program installation method provided by the embodiment of the present invention;

图8为本发明实施例提供的应用程序安装方法的界面的示意图之三;FIG. 8 is the third schematic diagram of the interface of the application program installation method provided by the embodiment of the present invention;

图9为本发明实施例提供的应用程序安装方法的界面的示意图之四;FIG. 9 is the fourth schematic diagram of the interface of the application program installation method provided by the embodiment of the present invention;

图10为本发明实施例提供的应用程序安装方法的流程图之四;FIG. 10 is the fourth flowchart of the application program installation method provided by the embodiment of the present invention;

图11为本发明实施例提供的应用程序安装方法的流程图之五;FIG. 11 is the fifth flowchart of the application program installation method provided by the embodiment of the present invention;

图12为本发明实施例提供的终端的结构示意图;FIG. 12 is a schematic structural diagram of a terminal provided by an embodiment of the present invention;

图13为本发明实施例提供的终端的硬件示意图。FIG. 13 is a schematic diagram of hardware of a terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article is an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone These three situations. The symbol "/" in this document indicates that the associated object is an or relationship, for example, A/B indicates A or B.

本发明的说明书和权利要求书中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入、第二输入、第三输入和第四输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。The terms "first", "second", "third" and "fourth" in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first input, the second input, the third input, and the fourth input are used to distinguish different inputs, rather than describing a specific sequence of inputs.

在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.

在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元;多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present invention, unless otherwise specified, "multiple" means two or more, for example, multiple processing units refer to two or more processing units; multiple elements Refers to two or more elements, etc.

本发明实施例提供一种应用程序安装方法,在第一终端与第二终端建立通信连接的情况下,第一终端可以接收用户的第一输入,响应于第一输入,显示N个目标标识,并接收用户的第二输入,响应于第二输入,在第一终端中安装M个应用程序。其中,第一输入用于控制第一终端和第二终端相对运动;每个目标标识分别用于指示N个目标应用程序图标中的不同应用程序图标;该N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中不同的应用程序图标,或者,该N个目标应用程序图标为第二终端的桌面当前显示的页面中与第一终端的桌面当前显示的页面中不同的应用程序图标;该M个应用程序为该N个目标应用程序图标中的M个应用程序图标对应的应用程序;N、M均为正整数。通过该方案,用户通过第一输入,可以触发第一终端显示用于指示第一终端未安装,而第二终端安装的全部目标应用程序(即N个目标应用程序,对应桌面中所有应用程序图标)的目标标识,或者触发第一终端显示用于指示第一终端的桌面当前显示的页面中未安装,而第二终端的桌面当前显示的页面中安装的全部目标应用程序(N个目标应用程序,对应桌面当前显示的页面中所有的应用程序图标)的目标标识,然后用户可以通过第二输入,触发第一终端安装N个目标应用程序中的M个应用程序。从而相对于现有技术简化了应用程序的安装步骤,可以实现应用程序的快速安装。An embodiment of the present invention provides an application program installation method. When the first terminal establishes a communication connection with the second terminal, the first terminal can receive the first input from the user, and display N target identifiers in response to the first input. And receive a second input from the user, and install M application programs in the first terminal in response to the second input. Wherein, the first input is used to control the relative movement of the first terminal and the second terminal; each target identifier is used to indicate a different application program icon in the N target application program icons; the N target application program icons are the second terminal The application icons on the desktop of the first terminal are different from those on the desktop of the first terminal, or the N target application icons are different applications on the page currently displayed on the desktop of the second terminal and the page currently displayed on the desktop of the first terminal Program icons; the M application programs are the application programs corresponding to the M application program icons in the N target application program icons; N and M are both positive integers. Through this solution, the user can trigger the first terminal to display all the target application programs (that is, N target application programs, corresponding to all application program icons in the desktop) for indicating that the first terminal is not installed and the second terminal is installed through the first input. ), or trigger the first terminal to display all target applications (N target application programs) that are not installed in the page currently displayed on the desktop of the second terminal and are not installed in the page currently displayed on the desktop of the second terminal when the first terminal is triggered , corresponding to the target identifiers of all application program icons in the page currently displayed on the desktop), and then the user can trigger the first terminal to install M application programs in the N target application programs through a second input. Therefore, compared with the prior art, the installation steps of the application program are simplified, and the quick installation of the application program can be realized.

下面以安卓操作系统为例,介绍一下本发明实施例提供的应用程序安装方法所应用程序的软件环境。The following uses the Android operating system as an example to introduce the software environment of the application program provided by the application program installation method provided by the embodiment of the present invention.

如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1 , the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer and a kernel layer (specifically, the Linux kernel layer).

其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Wherein, the application program layer includes various application programs (including system application programs and third-party application programs) in the Android operating system.

应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application program framework layer is the application program framework, and developers can develop some applications based on the application program framework layer while complying with the development principles of the application program framework layer.

系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.

内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.

以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的应用程序安装方法的软件程序,从而使得该应用程序安装方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的应用程序安装方法。Taking the Android operating system as an example, in the embodiment of the present invention, developers can develop a software program that implements the application program installation method provided in the embodiment of the present invention based on the system architecture of the Android operating system shown in Figure 1 above, so that the The method for installing application programs can be run based on the Android operating system shown in FIG. 1 . That is, the processor or the terminal can implement the application program installation method provided by the embodiment of the present invention by running the software program in the Android operating system.

本发明实施例中的终端可以为移动终端,也可以为非移动终端。移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digitalassistant,PDA)等;非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本发明实施例不作具体限定。The terminal in the embodiment of the present invention may be a mobile terminal or a non-mobile terminal. The mobile terminal can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle terminal, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc.; The mobile terminal may be a personal computer (personal computer, PC), a television (television, TV), a teller machine, or a self-service machine, etc.; this embodiment of the present invention does not specifically limit it.

需要说明的是,本发明实施例中的终端可以为单面屏终端,也可以为多面屏终端(例如,双面屏终端、三面屏终端等),还可以为柔性屏终端(例如,折叠屏终端、弯曲屏终端等),本发明实施例不作限定。It should be noted that the terminal in the embodiment of the present invention can be a single-screen terminal, a multi-screen terminal (for example, a double-screen terminal, a three-sided screen terminal, etc.), or a flexible screen terminal (for example, a folding screen terminal). terminals, curved screen terminals, etc.), this embodiment of the present invention is not limited.

需要说明的是,本发明实施例中,第一终端和第二终端可以是种类相同的两个设备(例如可以是两个手机),也可以是种类不同的两个设备(例如可以是一个手机,一个平板电脑),具体可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, the first terminal and the second terminal may be two devices of the same type (for example, two mobile phones), or two devices of different types (for example, a mobile phone , a tablet computer), which can be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.

本发明实施例提供的应用程序安装方法的执行主体可以为上述的终端(包括移动终端和非移动终端),也可以为该终端中能够实现该方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以终端为例,对本发明实施例提供的应用程序安装方法进行示例性的说明。The execution subject of the application program installation method provided by the embodiment of the present invention may be the above-mentioned terminal (including mobile terminal and non-mobile terminal), or it may be a functional module and/or a functional entity capable of implementing the method in the terminal. Specifically, it may be It is determined according to actual usage requirements, and is not limited in the embodiments of the present invention. The following uses a terminal as an example to illustrate the application program installation method provided by the embodiment of the present invention.

参考图2所示,本发明实施例提供了一种应用程序安装方法,应用于第一终端,该方法可以包括下述的步骤201-步骤204。Referring to FIG. 2 , an embodiment of the present invention provides a method for installing an application program, which is applied to a first terminal, and the method may include the following steps 201 - 204 .

步骤201、在第一终端与第二终端建立通信连接的情况下,接收用户的第一输入。Step 201. When a first terminal establishes a communication connection with a second terminal, receive a first input from a user.

第一输入用于控制第一终端和第二终端相对运动。即第一输入为调节第一终端和第二终端之间的相对位置的输入,根据第一输入,终端可以获取第一终端和第二终端之间的相对信息,相对信息可以为相对位置信息或相对位置变化信息。The first input is used to control the relative movement of the first terminal and the second terminal. That is, the first input is an input for adjusting the relative position between the first terminal and the second terminal. According to the first input, the terminal can obtain relative information between the first terminal and the second terminal. The relative information can be relative position information or Relative position change information.

可选的,相对信息为相对位置信息,相对位置信息用于指示第一终端和第二终端之间的相对位置。例如,相对信息可以为第一终端与第二终端之间的夹角信息,也可以为第一终端和第二终端之间的距离(本发明实施例中,距离均指两个终端之间的最短距离)信息,也可以为第一终端和第二终端之间的接触面积的信息,还可以是其他的可行性信息(例如,相对信息可以为第一终端在第二终端上的投影面积的信息),具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, the relative information is relative position information, and the relative position information is used to indicate the relative position between the first terminal and the second terminal. For example, the relative information can be the angle information between the first terminal and the second terminal, or the distance between the first terminal and the second terminal (in the embodiments of the present invention, the distance refers to the distance between two terminals. The shortest distance) information, can also be the information of the contact area between the first terminal and the second terminal, and can also be other feasible information (for example, the relative information can be the projected area of the first terminal on the second terminal information), which can be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.

可选的,相对信息为相对位置变化信息,相对位置变化信息用于指示第一终端和第二终端之间的相对位置变化量。例如,相对信息可以为第一终端与第二终端之间的夹角变化信息,也可以为第一终端和第二终端之间的距离变化(本发明实施例中,距离均指两个终端之间的最短距离)信息,也可以为第一终端和第二终端之间的接触面积变化的信息,还可以是其他的可行性信息(例如,相对信息可以为第一终端在第二终端上的投影面积变化的信息),具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, the relative information is relative position change information, and the relative position change information is used to indicate a relative position change amount between the first terminal and the second terminal. For example, the relative information may be the angle change information between the first terminal and the second terminal, or the distance change between the first terminal and the second terminal (in the embodiments of the present invention, the distance refers to the distance between the two terminals. The shortest distance between) information, also can be the contact area change information between the first terminal and the second terminal, can also be other feasibility information (for example, the relative information can be the first terminal on the second terminal The information on the change of the projected area) can be specifically determined according to actual usage requirements, and is not limited in this embodiment of the present invention.

相应的,第一输入可以为下述中的任意一项:调节第一终端和第二终端之间的夹角的输入、调节第一终端和第二终端之间的距离的输入,以及调节第一终端和第二终端之间的接触面积的输入。Correspondingly, the first input may be any one of the following: an input for adjusting the angle between the first terminal and the second terminal, an input for adjusting the distance between the first terminal and the second terminal, and an input for adjusting the first terminal Input of the contact area between a terminal and a second terminal.

可以理解,第一输入可以为调节第一终端和第二终端之间的夹角的输入,也可以为调节第一终端和第二终端之间的距离的输入,也可以为调节第一终端和第二终端之间的接触面积的输入,还可以为调节第一终端和第二终端之间的其他相对关系的可行性输入,具体可以根据实际使用需求确定,本发明实施例不作限定。It can be understood that the first input may be an input for adjusting the angle between the first terminal and the second terminal, or an input for adjusting the distance between the first terminal and the second terminal, or an input for adjusting the distance between the first terminal and the second terminal. The input of the contact area between the second terminals may also be a feasibility input for adjusting other relative relationships between the first terminal and the second terminal, which may be specifically determined according to actual usage requirements, and is not limited in this embodiment of the present invention.

示例性的,第一终端和第二终端之间的夹角“θ”可以如图3中的(a)或图3中的(b)所示,第一终端和第二终端之间的距离“d”可以如图3中的(c)或图3中的(d)所示,第一终端和第二终端之间的接触面积“S”可以如图3中的(e)或图3中的(f)所示。需要说明的是:图3中的(a)-图3中的(f)中的标记“1”指示第一终端,标记“2”指示第二终端,其中,图3中的(f)中的第一终端用加粗线框表示,第二终端用虚线框表示,阴影区域指示第一终端和第二终端之间的接触面积;图3中的(b)和图3中的(d)为两个终端的侧视图,其他为两个终端的前视图。Exemplarily, the included angle "θ" between the first terminal and the second terminal can be shown in (a) in Figure 3 or (b) in Figure 3, the distance between the first terminal and the second terminal "d" can be shown in (c) in Figure 3 or (d) in Figure 3, and the contact area "S" between the first terminal and the second terminal can be shown in (e) in Figure 3 or in Figure 3 In (f) shown. It should be noted that: the mark "1" in (a) in Figure 3-(f) in Figure 3 indicates the first terminal, and the mark "2" indicates the second terminal, wherein, in (f) in Figure 3 The first terminal is represented by a bold line box, the second terminal is represented by a dotted line box, and the shaded area indicates the contact area between the first terminal and the second terminal; (b) in Figure 3 and (d) in Figure 3 One is a side view of two terminals, and the other is a front view of two terminals.

进一步示例性的,结合图3中的(a)或图3中的(b)所示,在第一输入包括用户控制第一终端逆时针转动和用户控制第二终端顺时针转动中的至少一项时,二者之间夹角θ变小;在第一输入包括用户控制第一终端顺时针转动和用户控制第二终端逆时针转动中的至少一项时,二者之间夹角θ变大。结合图3中的(c)或图3中的(d)所示,在第一输入包括用户控制第一终端向左运动和用户控制第二终端向右运动中的至少一项时,二者之间距离d变大;在第一输入包括用户控制第一终端向右运动和用户控制第二终端向左运动中的至少一项时,二者之间距离d变小。结合图3中的(e)或图3中的(f)所示,在第一输入包括用户控制第一终端向上运动和用户控制第二终端向下运动中的至少一项时,二者之间接触面积S变小;在第一输入包括用户控制第一终端向下运动和用户控制第二终端向上运动中的至少一项时,二者之间接触面积S变大。As a further example, as shown in (a) in FIG. 3 or (b) in FIG. 3 , the first input includes at least one of the user controlling the first terminal to rotate counterclockwise and the user controlling the second terminal to rotate clockwise item, the angle θ between the two becomes smaller; when the first input includes at least one of the user controlling the first terminal to rotate clockwise and the user controlling the second terminal to rotate counterclockwise, the angle θ between the two becomes smaller big. As shown in (c) in FIG. 3 or (d) in FIG. 3, when the first input includes at least one of the user controlling the first terminal to move to the left and the user controlling the second terminal to move to the right, both The distance d between becomes larger; when the first input includes at least one of the user controlling the first terminal to move to the right and the user controlling the second terminal to move to the left, the distance d between the two becomes smaller. As shown in (e) in FIG. 3 or (f) in FIG. 3, when the first input includes at least one of the user controlling the upward movement of the first terminal and the user controlling the downward movement of the second terminal, the two The indirect contact area S becomes smaller; when the first input includes at least one of the user controlling the first terminal to move downward and the user controlling the second terminal to move upward, the contact area S between the two becomes larger.

本发明实施例中,提供了多种可以控制第一终端和第二终端之间相对运动的第一输入,因此,用户可以根据实际使用需求确定不同的第一输入,来触发第一终端显示N个目标标识,从而可以方便用户操作。In the embodiment of the present invention, a variety of first inputs that can control the relative movement between the first terminal and the second terminal are provided. Therefore, the user can determine different first inputs according to actual usage requirements to trigger the first terminal to display N A target identification, which can facilitate the user's operation.

需要说明的是,本发明实施例中,下面实施例描述中均以相对信息为图3中的(a)所示的第一终端和第二终端之间的夹角信息或夹角变化信息为例,进行示例性的说明。It should be noted that, in the embodiments of the present invention, in the descriptions of the following embodiments, the relative information is used as the angle information or the angle change information between the first terminal and the second terminal shown in (a) in FIG. 3 as Example, for an exemplary description.

第一输入可以为用户对第一终端和第二终端中的至少一个终端的输入,即第一输入可以为用户控制第一终端和第二终端中的至少一个终端运动的输入。The first input may be a user's input to at least one of the first terminal and the second terminal, that is, the first input may be an input for the user to control movement of at least one of the first terminal and the second terminal.

可以理解,第一终端可以检测出第一输入是用户对第一终端的输入(用户控制第一终端运动的输入),还是用户对第二终端的输入(用户控制第二终端运动的输入),或者是用户对第一终端和第二终端的输入(用户控制第一终端和第二终端均运动的输入),并且第一终端可以根据不同的输入,执行不同的操作。It can be understood that the first terminal can detect whether the first input is the user's input to the first terminal (the user controls the movement of the first terminal), or the user's input to the second terminal (the user controls the movement of the second terminal), Or it is the user's input to the first terminal and the second terminal (the user controls the movement of both the first terminal and the second terminal), and the first terminal can perform different operations according to different inputs.

示例性的,第一终端根据自身传感器(位移传感器、重力传感器,红外传感器等)可以检测到用户对第一终端的输入,具体可以参考任意相关技术。第一终端可以通过下述两个方案(方案一和方案二)中的任意一种,检测出用户调节两个终端之间的相对位置的输入。然后第一终端结合检测到的用户调节相对位置的输入和用户对第一终端的输入,分析判断出第一输入是用户对第一终端的输入,还是用户对第二终端的输入,或者是用户对第一终端和第二终端的输入。例如,第一终端既检测到了用户对第一终端的输入,又检测到用户调节相对位置的输入,若二者不同,则第一输入为用户对第一终端和第二终端的输入,若二者相同,则第一输入为用户对第一终端的输入。而若第一终端仅仅检测到用户调节相对位置的输入,没有检测到用户对第一终端的输入,则第一输入为用户对第二终端的输入。Exemplarily, the first terminal can detect the user's input to the first terminal according to its own sensors (displacement sensor, gravity sensor, infrared sensor, etc.), for details, reference may be made to any related technology. The first terminal may detect the user's input to adjust the relative position between the two terminals through any one of the following two schemes (Scheme 1 and Scheme 2). Then the first terminal combines the detected input of the user to adjust the relative position and the user's input to the first terminal, analyzes and judges whether the first input is the user's input to the first terminal, or the user's input to the second terminal, or the user's input to the first terminal. Input to first terminal and second terminal. For example, the first terminal not only detects the user's input to the first terminal, but also detects the user's input to adjust the relative position. If the two are different, the first input is the user's input to the first terminal and the second terminal. If the two or the same, the first input is the user's input to the first terminal. And if the first terminal only detects the user's input to adjust the relative position, but does not detect the user's input to the first terminal, then the first input is the user's input to the second terminal.

方案一、Option One,

第一终端和第二终端之间可以进行磁性连接(例如,两个终端的侧面之间部分或全部的磁性连接、两个终端之间的背面部分或全部的磁性连接、一个终端的正面与一个终端的背面部分磁性连接等,本发明实施例不作限定),第一终端可以根据其与第二终端之间的磁力信息(或磁力变化信息),获知其与第二终端之间的相对位置信息(或相对位置变化信息)。A magnetic connection may be made between the first terminal and the second terminal (for example, some or all of the sides of two terminals are magnetically connected, some or all of the back of two terminals are magnetically connected, the front of one terminal is connected to a The back part of the terminal is magnetically connected, etc., the embodiment of the present invention is not limited), the first terminal can know the relative position information between it and the second terminal according to the magnetic force information (or magnetic force change information) between it and the second terminal (or relative position change information).

需要说明的是,两个可以进行磁性连接的终端可以称为磁力吸附类终端(或磁吸式终端),具备以下特点:每个终端有自己的外壳和处理器,可以独立的运行;两个终端中的每个终端中设置有多个磁性部件(本发明实施例中,不限定磁性部件的形状、数量,以及设置位置等,下面以磁性部件为圆柱形磁铁为例进行详细的说明),其中,至少一个圆柱形磁铁可以设置于终端的纵轴或横轴上,并可以作为终端的轴;两个终端之间可以通过该至少一个圆柱形磁铁磁性连接在一起,而无需外部铰链结构,且在用户调节两个终端之间的相对位置时,两个终端中的至少一个终端可以检测到各自设置的该至少一个圆柱形磁铁的受力变化。具体工作原理为:当两个终端彼此靠近甚至接触时,两个终端中的圆柱形磁铁可以产生相互作用力(例如,吸引力),则两个终端之间产生磁性连接;当用户通过控制两个终端中的至少一个终端来改变两个终端之间的相对位置(角度、距离、接触面积等)时,可以改变两个圆柱形磁铁之间的磁场以及磁力;终端检测到其中设置的圆柱形磁铁所受磁力变化之后,可以根据预先设置的存储指令(磁力与相对位置的对应关系表),以及变化后的磁力,获得两个设备之间的相对位置信息(或变化的磁力,获得两个设备之间的相对位置变化信息)(两个设备各自有至少一个以上的圆柱形磁铁,圆柱形磁铁构造成通过相邻磁铁的吸引而使轴受力改变。当磁力改变导致轴随之受磁力改变时,存储器存储指令根据轴变化的角度和方位进行变化,存储指令使所述处理器能够确定通过不同圆柱形磁体的磁吸引力确定物体间的位置变化。)。It should be noted that two terminals that can be magnetically connected can be called magnetic adsorption terminals (or magnetic suction terminals), which have the following characteristics: each terminal has its own shell and processor, and can operate independently; two Each of the terminals is provided with a plurality of magnetic components (in the embodiment of the present invention, the shape, quantity, and installation position of the magnetic components are not limited, and the following description will be made in detail by taking the magnetic component as a cylindrical magnet as an example), Wherein, at least one cylindrical magnet can be arranged on the longitudinal axis or the horizontal axis of the terminal, and can be used as the axis of the terminal; the two terminals can be magnetically connected together through the at least one cylindrical magnet without an external hinge structure, And when the user adjusts the relative position between the two terminals, at least one of the two terminals can detect the force change of the at least one cylindrical magnet respectively provided. The specific working principle is: when the two terminals are close to or even in contact with each other, the cylindrical magnets in the two terminals can generate an interaction force (for example, attractive force), and then a magnetic connection is generated between the two terminals; When at least one of the two terminals changes the relative position (angle, distance, contact area, etc.) between the two terminals, the magnetic field and magnetic force between the two cylindrical magnets can be changed; After the magnetic force on the magnet changes, the relative position information between the two devices (or the changed magnetic force, to obtain two Relative position change information between devices) (two devices each have at least one cylindrical magnet, and the cylindrical magnet is configured to change the force on the shaft through the attraction of adjacent magnets. When the magnetic force changes, the shaft will be subjected to a magnetic force When changed, the memory stores instructions to change according to the angle and orientation of the axis changes, the stored instructions enable the processor to determine the change in position between objects through the magnetic attraction force of different cylindrical magnets.).

方案二、Option II,

第一终端通过第一终端中的红外摄像装置对第二终端进行捕捉拍摄,并结合影像分析系统(如图像差分技术)分析,从而获得第二终端的运动,根据第二终端的运动,分析获得第一终端和第二终端之间的相对位置。具体的第一终端中的红外摄像装置包括摄像头和电荷藕合器件(charge coupled device,ccd)图像传感器。其中,摄像头主动向外发射红外光,红外光遇到第二终端之后被反射回来,反射回来的红外光通过摄像头透射到ccd图像传感器上,ccd图像传感器接受反射回来的红外光之后,得到一副黑白的单色背景中包括终端的图像(如此,第二终端背景虚拟对象的分割问题就可以解决了)。然后,第一终端采用图像差分技术检测第二终端的运动,图像差分(也叫差分图像)技术就是把红外摄像装置得到的连续两帧图像进行相减,得到运动的部分,所以说只要是第二终端在动,图像差分技术就会自动把动的部分截取下来(如此,可以获得两个终端之间的相对位置)。图像差分技术具体可以参考任意相关技术,此处不予赘述(摄像头主动发射红外,然后ccd传感器接受红外,终端与背景虚拟对象的分割问题就解决了,摄像机得到的是一副黑白的单色背景和终端的图像。下一步,检测手机的运动,采用的是图像差分技术,差分就是把摄像机得到的连续两帧的图像进行相减,得到运动的部分,所以说只要是终端在动,差分就会自动把动的部分截取下来。)。The first terminal captures and shoots the second terminal through the infrared camera device in the first terminal, and analyzes it in combination with an image analysis system (such as image difference technology) to obtain the movement of the second terminal. According to the movement of the second terminal, the analysis obtains The relative position between the first terminal and the second terminal. Specifically, the infrared camera device in the first terminal includes a camera and a charge coupled device (charge coupled device, ccd) image sensor. Among them, the camera actively emits infrared light outward, and the infrared light is reflected back after encountering the second terminal, and the reflected infrared light is transmitted to the ccd image sensor through the camera, and after receiving the reflected infrared light, the ccd image sensor obtains a The black and white monochromatic background includes the image of the terminal (in this way, the segmentation problem of the virtual object in the background of the second terminal can be solved). Then, the first terminal detects the movement of the second terminal using the image difference technology. The image difference (also called differential image) technology is to subtract two consecutive frames of images obtained by the infrared camera device to obtain the moving part. So as long as it is the first When the two terminals are moving, the image difference technology will automatically intercept the moving part (in this way, the relative position between the two terminals can be obtained). The image difference technology can refer to any related technology, so I won’t go into details here (the camera actively emits infrared, and then the ccd sensor receives the infrared, the segmentation problem between the terminal and the background virtual object is solved, and the camera gets a black and white monochrome background and the image of the terminal. The next step is to detect the movement of the mobile phone, using the image difference technology. The difference is to subtract the images of two consecutive frames obtained by the camera to get the moving part. Therefore, as long as the terminal is moving, the difference will be The moving part will be automatically cut off.).

需要说明的是,本发明实施例中,因为第一终端需要检测用户调节第一终端和第二终端之间相对位置的输入(如上述第一输入),因此第一终端和第二终端之间的距离小于或等于第一阈值,第一阈值的取值可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, because the first terminal needs to detect the user's input for adjusting the relative position between the first terminal and the second terminal (such as the above-mentioned first input), the relationship between the first terminal and the second terminal The distance is less than or equal to the first threshold, and the value of the first threshold can be determined according to actual usage requirements, which is not limited in this embodiment of the present invention.

第一终端和第二终端建立通信连接,则二者之间可以进行数据交互,进而可以实现本发明实施例提供的应用程序安装方法。具体第一终端和第二终端如何建立通信连接可以参考下述步骤211-步骤212的相关描述,此处不再赘述。After establishing a communication connection between the first terminal and the second terminal, data interaction can be performed between the two, and then the application program installation method provided by the embodiment of the present invention can be realized. For details on how to establish a communication connection between the first terminal and the second terminal, reference may be made to the relevant descriptions of the following steps 211 to 212, which will not be repeated here.

步骤202、第一终端响应于第一输入,显示N个目标标识。Step 202, the first terminal displays N target identifiers in response to the first input.

每个目标标识分别用于指示N个目标应用程序图标中的不同应用程序图标。其中,N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中不同的应用程序图标,即每个目标标识用于指示第二终端的桌面中与第一终端的桌面中不同的应用程序图标(即N个目标标识用于指示在第二终端中安装,而未在第一终端中安装的全部应用程序);或者,N个目标应用程序图标为第二终端的桌面当前显示的页面(以下称为第一页面)中与第一终端的桌面当前显示的页面(以下称为第二页面)中不同的应用程序图标,即每个目标标识对应第二终端的桌面当前显示的页面中与第一终端的桌面当前显示的页面中不同的应用程序图标(即N个目标标识用于指示在第二终端中安装,而未在第一终端中安装的全部应用程序中与第一页面中的全部应用程序图标对应的应用程序);N、M均为正整数。Each target identifier is respectively used to indicate a different application program icon among the N target application program icons. Wherein, the N target application program icons are different application program icons on the desktop of the second terminal and the desktop of the first terminal, that is, each target identifier is used to indicate that the desktop of the second terminal is different from that of the desktop of the first terminal. application program icons (that is, N target identifiers are used to indicate all applications installed in the second terminal but not installed in the first terminal); or, N target application program icons are currently displayed on the desktop of the second terminal The application icon on the page (hereinafter referred to as the first page) that is different from the page currently displayed on the desktop of the first terminal (hereinafter referred to as the second page), that is, each target identifier corresponds to the currently displayed page on the desktop of the second terminal The application icons on the page that are different from those currently displayed on the desktop of the first terminal (that is, the N target identifiers are used to indicate that they are installed in the second terminal, but not in all applications installed in the first terminal are not the same as those in the first terminal). The application programs corresponding to all the application program icons on the page); N and M are both positive integers.

需要说明的是,本发明实施例中,一个应用程序图标用于指示一个应用程序。任意一个目标标识可以为应用程序图标,也可以是与应用程序图标对应的应用名称,也可以是与莹莹用程序图标对应的应用程序的界面缩略图,还可以是其他的用于指示应用程序图标的标识,具体可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, one application program icon is used to indicate one application program. Any target identifier can be an application icon, or an application name corresponding to an application icon, or an interface thumbnail of an application corresponding to a Yingying application icon, or other The identification of the icon may be specifically determined according to actual usage requirements, and is not limited in this embodiment of the present invention.

本发明实施例中,一个终端的桌面包括至少一个页面,每个页面中包括至少一个应用程序图标(本发明实施例中,一个页面中的文件夹图标中的应用程序图标,也属于该一个页面中的应用程序图标)。一个终端的桌面中的应用程序图标为该一个终端中安装的所有应用程序的应用程序图标;一个终端的当前页面中的应用程序图标为该一个终端当前显示的页面(桌面中的一个页面)中的应用程序图标,是该一个终端中安装的部分应用程序的应用程序图标。In the embodiment of the present invention, the desktop of a terminal includes at least one page, and each page includes at least one application program icon (in the embodiment of the present invention, the application program icon in the folder icon in a page also belongs to the page application icon in the ). The application icons in the desktop of a terminal are the application icons of all applications installed in the terminal; the application icons in the current page of a terminal are in the page (a page in the desktop) currently displayed by the terminal The application icon is the application icon of some applications installed in the terminal.

本发明实施例中,终端可以根据不同的第一输入,控制第一终端显示不同的目标标识。其中,不同的第一输入可以是输入类型不同的输入,也可以是输入类型相同而输入参数不同的输入,具体的可以根据实际使用需求确定,本发明实施例不作限定。In this embodiment of the present invention, the terminal may control the first terminal to display different target identifiers according to different first inputs. The different first inputs may be inputs of different input types, or inputs of the same input type but with different input parameters, which may be determined according to actual usage requirements, and are not limited in this embodiment of the present invention.

可选的,终端根据不同输入类型的第一输入,控制第一终端显示不同的目标标识。则第一输入的输入类型可以是调节第一终端和第二终端之间的夹角的转动输入,也可以是调节第一终端和第二终端之间的距离的移动输入,还可以是调节第一终端和第二终端之间的接触面积的滑动输入,还可以为其他类型的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, the terminal controls the first terminal to display different target identifiers according to the first input of different input types. Then, the input type of the first input may be a rotation input for adjusting the angle between the first terminal and the second terminal, or a movement input for adjusting the distance between the first terminal and the second terminal, or it may be a movement input for adjusting the distance between the first terminal and the second terminal. The sliding input of the contact area between the first terminal and the second terminal may also be other types of input, which may be determined according to actual usage requirements, and are not limited in this embodiment of the present invention.

示例性的,若第一输入为调节第一终端和第二终端之间的夹角的转动输入,则终端显示的N个目标标识分别对应第二终端的桌面(当前显示的页面以及当前未显示的页面)中与第一终端的桌面(当前显示的页面以及当前未显示的页面)中不同的应用程序图标。若第一输入为调节第一终端和第二终端之间的距离的移动输入,则终端显示的N个目标标识分别对应第二终端的第一页面与第一终端的第二页面中不同的应用程序图标。Exemplarily, if the first input is a rotation input to adjust the angle between the first terminal and the second terminal, the N target logos displayed on the terminal correspond to the desktop of the second terminal (the currently displayed page and the currently undisplayed page) respectively. The application program icons in the desktop of the first terminal (the currently displayed page and the currently undisplayed page) are different. If the first input is a mobile input for adjusting the distance between the first terminal and the second terminal, the N target identifiers displayed on the terminal correspond to different applications on the first page of the second terminal and the second page of the first terminal respectively program icon.

可选的,第一终端根据输入类型相同而输入参数不同的第一输入,控制第一终端显示不同的目标标识。第一输入的输入参数可以包括第一输入结束时相对位置变化量(例如相对位置变化量在第一范围,还是在第二范围等,其中第一范围、第二范围的取值可以是终端预先设置的,也可以是用户根据实际使用需求设置的,本发明实施例不作限定)(或第一输入的输入参数可以包括第一输入结束时相对位置(例如相对位置在第一目标范围内,还是在第二目标范围内,其中第一目标范围、第二目标范围的取值可以是终端预先设置的,也可以是用户根据实际使用需求设置的,本发明实施例不作限定)),第一输入的输入参数还可以包括下述至少一项:输入方向(即相对位置或相对位置变化量的变化方向,例如是变大、还是变小(如图3中的(a)所示,夹角θ指的是两个终端的正面与正面之间的夹角,因此θ在区间[0,360°]内。例如,相对位置为夹角,夹角变大,夹角由90度变到120度,夹角变小,夹角由90度变到60度;或相对位置变化量为夹角变化量,夹角变大30度,夹角变小30度)、输入方式(例如是控制一个终端运动,还是控制两个终端运动)等。Optionally, the first terminal controls the first terminal to display different target identifiers according to the first input having the same input type but different input parameters. The input parameters of the first input can include the relative position change amount at the end of the first input (for example, whether the relative position change amount is in the first range or in the second range, etc., wherein the values of the first range and the second range can be determined by the terminal in advance. It can also be set by the user according to actual usage requirements, which is not limited in the embodiment of the present invention) (or the input parameter of the first input can include the relative position at the end of the first input (for example, the relative position is within the first target range, or Within the second target range, the values of the first target range and the second target range can be preset by the terminal, or can be set by the user according to actual usage requirements, which are not limited in this embodiment of the present invention)), the first input The input parameters can also include at least one of the following: input direction (that is, the relative position or the direction of change of the relative position variation, for example, whether it becomes larger or smaller (as shown in (a) in Figure 3, the included angle θ It refers to the angle between the front and the front of the two terminals, so θ is in the interval [0, 360°]. For example, the relative position is the angle, and the angle becomes larger, and the angle changes from 90 degrees to 120 degrees , the included angle becomes smaller, and the included angle changes from 90 degrees to 60 degrees; or the relative position change is the included angle change, the included angle becomes larger by 30 degrees, and the included angle becomes smaller by 30 degrees), the input method (such as controlling a terminal motion, or control two terminal motions), etc.

示例性的,第一输入的输入参数为相对位置变化量,若第一输入对应的相对位置变化量在第一范围内(如图3中的(a)所示,两个终端向中间靠近θ1,θ1在第一范围内),则终端显示的N个目标标识分别对应第二终端的桌面中与第一终端的桌面中不同的应用程序图标。若第一输入对应的相对位置变化量在第二范围内(如图3中的(a)所示,两个终端向中间靠近θ2,θ2在第二范围内),则终端显示的N个目标标识分别对应第二终端的第一页面与第一终端的第二页面中不同的应用程序图标。Exemplarily, the input parameter of the first input is the relative position change amount, if the relative position change amount corresponding to the first input is within the first range (as shown in (a) in Figure 3, the two terminals approach the middle to θ1 , θ1 is within the first range), then the N target identifiers displayed by the terminal respectively correspond to different application program icons on the desktop of the second terminal and the desktop of the first terminal. If the relative position change corresponding to the first input is within the second range (as shown in (a) in Figure 3, the two terminals are close to θ2 in the middle, and θ2 is within the second range), then the N targets displayed on the terminal Different application program icons corresponding to the first page of the second terminal and the second page of the first terminal are identified respectively.

进一步示例性的,第一终端和第二终端为磁吸式终端,第一终端右边框和第二终端的左边框接触(第一终端和第二终端之间的夹角为180°),第一终端和第二终端建立磁性连接。用户可以通过控制第一终端和第二终端同时向中间靠近θ1(即夹角减小θ1)的第一输入,触发第一终端显示N个目标标识,其中,N个目标标识分别对应第二终端的桌面中与第一终端的桌面中不同的应用程序图标。本发明实施例中,通过上述第一输入,还可以触发第二终端显示S(S为正整数)个标识,S个标识分别对应第一终端的桌面中与第二终端的桌面中不同的应用程序图标。用户也可以通过控制第一终端和第二终端同时向中间靠近θ2(即夹角减小θ2)的第一输入,触发第一终端显示N个目标标识,其中,N个目标标识分别对应第二终端的第一页面与第一终端的第二页面中不同的应用程序图标。本发明实施例中,通过上述第一输入,还可以触发第二终端显示S个标识,S个标识分别对应第一终端的第二页面中与第二终端的第一页面中不同的应用程序图标。Further exemplary, the first terminal and the second terminal are magnetic suction terminals, the right frame of the first terminal is in contact with the left frame of the second terminal (the angle between the first terminal and the second terminal is 180°), and the second terminal A terminal establishes a magnetic connection with a second terminal. The user can trigger the first terminal to display N target marks by controlling the first terminal and the second terminal at the same time to move closer to θ1 in the middle (that is, the angle decreases by θ1), wherein the N target marks correspond to the second terminal respectively The application icon on the desktop of the terminal is different from that on the desktop of the first terminal. In the embodiment of the present invention, through the above-mentioned first input, the second terminal can also be triggered to display S (S is a positive integer) logos, and the S logos correspond to different applications on the desktop of the first terminal and the desktop of the second terminal. program icon. The user can also trigger the first terminal to display N target marks by controlling the first terminal and the second terminal to make the first input close to θ2 in the middle at the same time (that is, the angle decreases by θ2), wherein the N target marks correspond to the second Different application icons in the first page of the terminal and in the second page of the first terminal. In the embodiment of the present invention, through the above-mentioned first input, the second terminal can also be triggered to display S logos, and the S logos respectively correspond to different application icons in the second page of the first terminal and in the first page of the second terminal .

本发明实施例中,在第一终端与第二终端建立通信连接的情况下,响应于第一输入,第一终端通过与第二终端之间的通信交互,可以获取该N个目标标识。In the embodiment of the present invention, when the first terminal establishes a communication connection with the second terminal, in response to the first input, the first terminal may obtain the N target identifiers through communication interaction with the second terminal.

步骤203、第一终端接收用户的第二输入。Step 203, the first terminal receives a second input from the user.

可选的,第二输入可以为触屏输入、重力输入以及按键输入等中的至少一种。例如,触屏输入可以为用户对终端的触控屏的长按输入、滑动输入或者点击输入等输入;重力输入可以为用户在特定方向晃动终端或者对终端晃动特定次数等输入;按键输入可以为用户对终端按键的单击输入、双击输入、长按输入或者组合按键输入等输入。Optionally, the second input may be at least one of touch screen input, gravity input, and key input. For example, the touch screen input can be the user’s long press input, slide input or click input on the touch screen of the terminal; the gravity input can be the input of the user shaking the terminal in a specific direction or a specific number of times; the key input can be The user inputs such as single-click input, double-click input, long-press input, or combination key input on the terminal button.

示例性的,第二输入可以为用户点击N个目标标识中的M个目标标识(与M个应用程序对应的标识)的输入。Exemplarily, the second input may be an input in which the user clicks M target identifiers (identities corresponding to M application programs) among the N target identifiers.

可选的,第二输入可以用于控制第一终端和第二终端相对运动,即第二输入可以为调节第一终端和第二终端之间的相对位置的输入。对第二输入为用于控制第一终端和第二终端相对运动的输入的具体描述可以参考上述步骤201中对第一输入的相关描述,此处不再赘述。Optionally, the second input may be used to control the relative movement of the first terminal and the second terminal, that is, the second input may be an input for adjusting the relative position between the first terminal and the second terminal. For a specific description that the second input is an input for controlling the relative movement of the first terminal and the second terminal, reference may be made to the related description of the first input in step 201 above, and details are not repeated here.

示例性的,第二输入可以是用户调节两个终端之间的夹角的输入。Exemplarily, the second input may be an input for the user to adjust the included angle between the two terminals.

第二输入还可以是其他的可行性输入,具体可以根据实际使用需求确定,本发明实施例不作限定。The second input may also be other feasible inputs, which may be specifically determined according to actual usage requirements, and are not limited in this embodiment of the present invention.

步骤204、第一终端响应于第二输入,在第一终端中安装M个应用程序。Step 204, the first terminal installs M application programs in the first terminal in response to the second input.

M个应用程序为N个目标应用程序图标中的M个应用程序图标对应的应用程序,即M个应用程序为N个目标应用程序中的应用程序。The M application programs are the application programs corresponding to the M application program icons in the N target application program icons, that is, the M application programs are the application programs in the N target application program programs.

响应于该第二输入,第一终端安装M个应用程序。具体的,第一终端接收到该第二输入之后,去第一终端安装的应用程序市场或浏览器中搜索、下载该M个应用程序的安装包,下载完成之后安装该M个应用程序(实际中可以一个一个下载并安装,也可以多个一起下载并安装,本发明实施例不作限定)。In response to the second input, the first terminal installs M application programs. Specifically, after the first terminal receives the second input, it searches and downloads the installation packages of the M application programs in the application program market or browser installed on the first terminal, and installs the M application programs (actually can be downloaded and installed one by one, or downloaded and installed together, which is not limited in this embodiment of the present invention).

可以理解,在安装M个应用程序的过程中,第一终端可以按照该M个应用程序对应的M个目标标识的排列顺序安装。在安装完M个应用程序之后,第一终端可以删除与该M个应用程序对应的安装包。It can be understood that, during the process of installing the M application programs, the first terminal may install them according to the order in which the M target identifiers corresponding to the M application programs are arranged. After the M application programs are installed, the first terminal may delete the installation packages corresponding to the M application programs.

示例性的,第二输入用于控制第一终端和第二终端相对运动;上述步骤204具体的可以通过下述步骤204a实现。Exemplarily, the second input is used to control the relative movement of the first terminal and the second terminal; the above step 204 can be specifically implemented through the following step 204a.

步骤204a、第一终端响应于第二输入,获取第一终端和第二终端之间的第一相对信息,基于第一相对信息,确定待安装的M个应用程序,并在第一终端中安装M个应用程序。Step 204a, the first terminal obtains the first relative information between the first terminal and the second terminal in response to the second input, determines M application programs to be installed based on the first relative information, and installs them in the first terminal M applications.

第一相对信息为第一相对位置信息或第一相对位置变化信息。The first relative information is first relative position information or first relative position change information.

对第一相对信息的描述可以参考上述步骤201中对第一输入的描述中对相对信息的相关描述,此处不再赘述。For the description of the first relative information, reference may be made to the relevant description of the relative information in the description of the first input in step 201 above, which will not be repeated here.

本发明实施例中,当第二输入为用户调节第一终端和第二终端之间的相对位置的输入时,可以设置用户实施一次第二输入触发第一终端安装的应用程序的数量,即用户可以通过一次第二输入安装一个应用程序,也可以通过一次第二输入安装多个应用程序,还可以通过一次第二输入安装全部应用程序(N个目标标识对应的N个目标应用程序),本发明实施例不作限定。In the embodiment of the present invention, when the second input is an input for the user to adjust the relative position between the first terminal and the second terminal, the number of applications that the user implements once the second input triggers the installation of the first terminal can be set, that is, the user One application can be installed through one second input, multiple applications can be installed through one second input, and all applications (N target applications corresponding to N target identifiers) can be installed through one second input. The embodiments of the invention are not limited.

可选的,安装的应用程序的个数可以与第一相对信息之间存在一个对应关系。例如第二输入调节第一终端和第二终端之间的夹角的变化量为θ的整倍数,第二输入调节几个θ,则安装几个应用程序。第一终端可以在第二输入结束时安装对应个数的应用程序,也可以在第二输入执行的过程中,每调节一个θ,则安装一个应用程序,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, there may be a corresponding relationship between the number of installed application programs and the first relative information. For example, the second input adjusts the variation of the included angle between the first terminal and the second terminal to be an integer multiple of θ, and several θ are adjusted by the second input, so several application programs are installed. The first terminal can install a corresponding number of application programs at the end of the second input, and can also install one application program every time θ is adjusted during the execution of the second input. Specifically, it can be determined according to actual use requirements. The present invention Examples are not limited.

示例性的,用户可以通过一次控制第一终端向第二终端(围绕边框)逆时针转动θ3(即夹角变小θ3)的第二输入,触发第一终端安装N个目标标识中一个目标标识指示的一个目标应用程序(一个一个安装时,第一终端可以按照N个目标标识的排列顺序(例如,位于同一行的目标标识按照从左到右的顺序,位于不同行的目标标识按照从上到下的顺序)依次安装对应的目标应用程序)。用户可以通过一次控制第一终端向第二终端(围绕边框)逆时针转动θ4(即夹角变小θ4)的第二输入,触发第一终端安装N个目标标识指示的N个目标应用程序。Exemplarily, the user can trigger the first terminal to install one of the N target logos by controlling the first terminal to rotate counterclockwise θ3 (that is, the included angle θ3) to the second terminal (around the border) for a second input. A target application program indicated (one by one, the first terminal can be arranged according to the order of N target IDs (for example, the target IDs located in the same line are in order from left to right, and the target IDs located in different lines are in order from top to bottom) to the next order) to install the corresponding target application in turn). The user can trigger the first terminal to install the N target applications indicated by the N target identifiers by controlling the first terminal to turn θ4 counterclockwise (that is, the included angle θ4) to the second terminal (around the border) for a second input.

本发明实施例中,通过用于控制第一终端和第二终端相对运动的第二输入,触发第一终端安装M个应用程序的方法,可以实现根据用户需求通过不同的第二输入,触发第一终端快速安装M个应用程序,操作简单方便,易于实现。In the embodiment of the present invention, the method of triggering the first terminal to install M application programs through the second input used to control the relative movement of the first terminal and the second terminal can realize the triggering of the second terminal through different second inputs according to user needs. One terminal can quickly install M applications, the operation is simple and convenient, and it is easy to implement.

示例性的,第一终端中安装了6个应用程序,分别为应用程序1、应用程序2、应用程序3、应用程序4、应用程序5、应用程序6。第一终端的桌面中包括3个页面,分别为页面1、页面2和页面3。其中,页面1中显示有3个应用程序图标,分别为app1(用于指示应用程序1)、app2(用于指示应用程序2)和app3(用于指示应用程序3);页面2中显示有2个应用程序图标,分别为app4(用于指示应用程序4)和app5(用于指示应用程序5);页面3中显示有1个应用程序图标,为app6(用于指示应用程序6)。第二终端中安装了5个应用程序,分别为应用程序1、应用程序5、应用程序7、应用程序8、应用程序9。第二终端的桌面中包括2个页面,分别为页面4和页面5。其中,页面4中显示有2个应用程序图标,分别为app1(用于指示应用程序1)和app7(用于指示应用程序7);页面5中显示有3个应用程序图标,分别为app5(用于指示应用程序5)、app8(用于指示应用程序8)和app9(用于指示应用程序9)。每个目标标识为一个应用程序图标,相对位置变化量为第一终端和第二终端之间的夹角θ变化量(如图3中的(a)所示),第一范围为(0,20°],第二范围为(20,40°]。如图4中的(a)所示,第一终端检测到夹角变化了10°(第一输入),第一终端显示N个目标标识(每个目标标识对应第二终端的桌面中与第一终端的桌面中不同的应用程序图标),分别为app7、app8和app9;若用户需要安装应用程序7、应用程序8和应用程序9中的至少一个,用户可以通过第二输入触发第一终端安装。如图4中的(b)所示,在第一终端的第二页面为页面2,第二终端的第一页面为页面5的情况下,第一终端检测到夹角变化了30°(第一输入),第一终端显示N个目标标识(每个目标标识对应第二终端的第一页面页面与第一终端的第二页面中不同的应用程序图标),分别为app8和app9(在第一终端的第二页面为页面1,第二终端的第一页面为页面5的情况下,若第一终端检测到夹角变化了30°,第一终端显示N个目标标识,分别为app5、app8和app9);若用户需要安装应用程序8和应用程序9中的至少一个,用户可以通过第二输入触发第一终端安装。Exemplarily, six application programs are installed in the first terminal, namely application program 1, application program 2, application program 3, application program 4, application program 5, and application program 6. The desktop of the first terminal includes three pages, namely page 1, page 2 and page 3. Among them, there are three application program icons displayed on page 1, which are respectively app1 (used to indicate application program 1), app2 (used to indicate application program 2) and app3 (used to indicate application program 3); There are 2 application icons, respectively app4 (for indicating application 4) and app5 (for indicating application 5); there is one application icon displayed on page 3, which is app6 (for indicating application 6). Five application programs are installed in the second terminal, namely application program 1, application program 5, application program 7, application program 8, and application program 9. The desktop of the second terminal includes two pages, page 4 and page 5 respectively. Among them, there are 2 application program icons displayed on page 4, which are respectively app1 (used to indicate application program 1) and app7 (used to indicate application program 7); there are 3 application program icons displayed on page 5, which are respectively app5 ( for app 5), app8 (for app 8) and app9 (for app 9). Each target is identified as an application program icon, and the relative position variation is the variation of the angle θ between the first terminal and the second terminal (as shown in (a) in Figure 3), and the first range is (0, 20°], the second range is (20,40°]. As shown in (a) in Figure 4, the first terminal detects that the included angle has changed by 10° (the first input), and the first terminal displays N targets Identification (each target identification corresponds to different application icons in the desktop of the second terminal and the desktop of the first terminal), respectively app7, app8 and app9; if the user needs to install application program 7, application program 8 and application program 9 At least one of them, the user can trigger the installation of the first terminal by the second input.As shown in (b) in Figure 4, the second page at the first terminal is page 2, and the first page of the second terminal is page 5 In the case of , the first terminal detects that the included angle has changed by 30° (the first input), and the first terminal displays N target logos (each target logo corresponds to the first page of the second terminal and the second page of the first terminal. different application icons in the page), which are respectively app8 and app9 (in the case that the second page of the first terminal is page 1, and the first page of the second terminal is page 5, if the first terminal detects the angle change If the user needs to install at least one of the application program 8 and the application program 9, the user can trigger the first terminal installation through the second input.

本发明实施例提供了一种应用程序安装方法,在第一终端与第二终端建立通信连接的情况下,第一终端可以接收用户的第一输入,响应于第一输入,显示N个目标标识,并接收用户的第二输入,响应于第二输入,在第一终端中安装M个应用程序。其中,第一输入用于控制第一终端和第二终端相对运动;每个目标标识分别用于指示N个目标应用程序图标中的不同应用程序图标;该N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中不同的应用程序图标,或者,该N个目标应用程序图标为第二终端的桌面当前显示的页面中与第一终端的桌面当前显示的页面中不同的应用程序图标;该M个应用程序为该N个目标应用程序图标中的M个应用程序图标对应的应用程序;N、M均为正整数。通过该方案,用户通过第一输入,可以触发第一终端显示用于指示第一终端未安装,而第二终端安装的全部目标应用程序(即N个目标应用程序,对应桌面中所有应用程序图标)的目标标识,或者触发第一终端显示用于指示第一终端的桌面当前显示的页面中未安装,而第二终端的桌面当前显示的页面中安装的全部目标应用程序(N个目标应用程序,对应桌面当前显示的页面中所有的应用程序图标)的目标标识,然后用户可以通过第二输入,触发第一终端安装N个目标应用程序中的M个应用程序。从而相对于现有技术简化了应用程序的安装步骤,可以实现应用程序的快速安装。An embodiment of the present invention provides an application program installation method. When the first terminal establishes a communication connection with the second terminal, the first terminal can receive the first input from the user, and display N target identifiers in response to the first input. , and receive a second input from the user, and install M application programs in the first terminal in response to the second input. Wherein, the first input is used to control the relative movement of the first terminal and the second terminal; each target identifier is used to indicate a different application program icon in the N target application program icons; the N target application program icons are the second terminal application icons on the desktop of the first terminal that are different from those on the desktop of the first terminal, or the N target application icons are applications that are different from the page currently displayed on the desktop of the second terminal and the page currently displayed on the desktop of the first terminal Program icons; the M application programs are the application programs corresponding to the M application program icons in the N target application program icons; N and M are both positive integers. Through this scheme, the user can trigger the first terminal to display all the target application programs (that is, N target application programs, corresponding to all application program icons in the desktop) for indicating that the first terminal is not installed and the second terminal is installed through the first input. ), or trigger the first terminal to display all target applications (N target application programs) that are not installed in the page currently displayed on the desktop of the second terminal and are not installed in the page currently displayed on the desktop of the second terminal when the first terminal is triggered , corresponding to the target identifications of all application program icons in the page currently displayed on the desktop), and then the user can trigger the first terminal to install M application programs in the N target application programs through a second input. Therefore, compared with the prior art, the installation steps of the application program are simplified, and the quick installation of the application program can be realized.

需要说明的是,上述步骤201-步骤204主要描述的是第一终端根据用户输入执行对应的动作,实际使用过程中,第二终端也可以接收用户的上述第一输入,响应于该第一输入,显示S个标识(每个标识分别用于指示S个应用程序中的不同应用程序),每个标识对应第一终端的桌面中与第二终端的桌面中不同的应用程序图标,或者每个标识对应第一终端的第二页面与第二终端的第一页面中不同的应用程序图标。第二终端也可以接收用户的第一目标输入(第一目标输入作用与上述第二输入相同,第一目标输入与第二输入可能相同(改变第一相对信息的输入),也可能不相同),响应于该第一目标输入,在第二终端中安装该S个应用程序中的至少一个应用程序。具体的描述可以参考上述步骤201-步骤204的相关描述,此处不再赘述。It should be noted that the above steps 201 to 204 mainly describe that the first terminal performs corresponding actions according to user input. In actual use, the second terminal may also receive the above first input from the user and respond to the first input , displaying S identifications (each identification is used to indicate a different application program in the S application programs), each identification corresponds to a different application program icon in the desktop of the first terminal and in the desktop of the second terminal, or each The identification corresponds to an application program icon that is different on the second page of the first terminal and the first page of the second terminal. The second terminal can also receive the user's first target input (the function of the first target input is the same as that of the above-mentioned second input, and the first target input and the second input may be the same (change the input of the first relative information) or may not be the same) , in response to the first target input, installing at least one application program among the S application programs in the second terminal. For specific descriptions, reference may be made to the relevant descriptions of steps 201 to 204 above, which will not be repeated here.

可选的,在第一终端显示该N个目标标识之前,第一目标终端应先获取该N个目标标识。Optionally, before the first terminal displays the N target identifiers, the first target terminal should first acquire the N target identifiers.

示例性的,结合图2,如图5所示,在步骤202之前,本发明实施例提供的应用程序安装方法还可以包括下述的步骤205-步骤206。Exemplarily, referring to FIG. 2 , as shown in FIG. 5 , before step 202 , the method for installing an application program provided by the embodiment of the present invention may further include the following steps 205 - 206 .

步骤205、第一终端获取P个第一标识和Q个第二标识。Step 205, the first terminal acquires P first identities and Q second identities.

其中,P个第一标识用于指示第一终端的桌面中的不同应用程序图标,且Q个第二标识用于指示第二终端的桌面中的不同应用程序图标;或着,P个第一标识用于指示第一终端的桌面当前显示的页面(第二页面)中的不同应用程序图标,且Q个第二标识用于指示第二终端的桌面当前显示的页面(第一页面)中的不同应用程序图标,P、Q均为正整数。Wherein, the P first identifiers are used to indicate different application icons on the desktop of the first terminal, and the Q second identifiers are used to indicate different application icons on the desktop of the second terminal; or, the P first identifiers are used to indicate different application icons on the desktop of the second terminal; The identifiers are used to indicate different application program icons in the page (second page) currently displayed on the desktop of the first terminal, and the Q second identifiers are used to indicate the icons of different application programs in the page (first page) currently displayed on the desktop of the second terminal. For icons of different application programs, P and Q are both positive integers.

P个第一标识中的每个第一标识用于指示第一终端的桌面(或第二页面)中的一个应用程序图标(也即第一终端中安装的一个应用程序)。每个第一标识可以是应用程序图标,也可以是应用程序的名称,还可以是其他的可以用于指示应用程序的标识,本发明实施例不作限定。Each of the P first identifiers is used to indicate an application program icon (that is, an application program installed in the first terminal) on the desktop (or second page) of the first terminal. Each first identifier may be an application program icon, may also be the name of the application program, or may be other identifiers that can be used to indicate the application program, which is not limited in this embodiment of the present invention.

Q个第二标识中的每个第二标识用于指示第二终端的桌面(或第一页面)中的一个应用程序图标(也即第二终端中安装的一个应用程序)。每个第二标识可以是应用程序图标,也可以是应用程序的名称,还可以是其他的可以用于指示应用程序的标识,本发明实施例不作限定。Each of the Q second identifiers is used to indicate an application program icon (that is, an application program installed in the second terminal) on the desktop (or first page) of the second terminal. Each second identifier may be an application program icon, may also be a name of an application program, or may be other identifiers that can be used to indicate an application program, which is not limited in this embodiment of the present invention.

需要说明的是,当N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中不同的应用程序图标时,P个第一标识用于指示第一终端的桌面中的不同应用程序图标,且Q个第二标识用于指示第二终端的桌面中的不同应用程序图标。当N个目标应用程序图标为第二终端的第一页面中与第一终端的第二页面中不同的应用程序图标时,P个第一标识用于指示第一终端的第二页面中的不同应用程序图标,且Q个第二标识用于指示第二终端的第一页面中的不同应用程序图标。It should be noted that when the N target application icons are different application icons on the desktop of the second terminal and the desktop of the first terminal, the P first identifiers are used to indicate different applications on the desktop of the first terminal A program icon, and the Q second identifiers are used to indicate different application program icons on the desktop of the second terminal. When the N target application icons are different application icons on the first page of the second terminal from those on the second page of the first terminal, the P first identifiers are used to indicate the different application icons on the second page of the first terminal. An application program icon, and the Q second identifiers are used to indicate different application program icons on the first page of the second terminal.

第一终端获取P个第一标识的方法可以为:第一终端检测第一终端桌面中的应用程序图标(即桌面中的全部应用程序图标,包括桌面中的应用文件夹图标中的应用程序图标)或第一终端的第二页面中的应用程序图标(即第二页面中的全部应用程序图标,包括第二页面中的应用文件夹图标中的应用程序图标),然后根据检测到的应用程序图标,确定该P个第一标识。The method for the first terminal to obtain the P first identifiers may be as follows: the first terminal detects the application icons on the desktop of the first terminal (that is, all the application icons on the desktop, including the application icons in the application folder icons on the desktop) ) or the application icon in the second page of the first terminal (that is, all the application icons in the second page, including the application icon in the application folder icon in the second page), and then according to the detected application icon to determine the P first identifiers.

第一终端获取Q个第二标识的方法可以为下述两种中的一种,还可以为其他的方法,本发明实施例不作限定。一种为,第二终端检测到第一输入之后,向第一终端发送携带该Q个第二标识的第一消息。另一种为,第一终端检测到第一输入之后,向第二终端发送第二消息,第二消息用于请求第二终端向第一终端发送该Q个第二标识,第二终端接收到该第二消息后,向第一终端发送携带该Q个第二标识的第一消息。其中,第二终端获取Q个第二标识的方法可以参考上述第一终端获取P个第一标识的方法,此处不再赘述。The method for the first terminal to obtain the Q second identifiers may be one of the following two methods, or other methods, which are not limited in this embodiment of the present invention. One is that after the second terminal detects the first input, it sends the first message carrying the Q second identifiers to the first terminal. The other is that after the first terminal detects the first input, it sends a second message to the second terminal, and the second message is used to request the second terminal to send the Q second identifiers to the first terminal, and the second terminal receives After the second message, send the first message carrying the Q second identifiers to the first terminal. Wherein, the method for the second terminal to obtain the Q second identities may refer to the above-mentioned method for the first terminal to obtain the P first identities, which will not be repeated here.

步骤206、第一终端将Q个第二标识中与P个第一标识不同的标识中的至少一个选取为N个目标标识。Step 206, the first terminal selects at least one of the Q second identities different from the P first identities as N target identities.

第一终端比较该P个第一标识和该Q个第二标识,然后将该Q个第二标识中与该P个第一标识中不同的标识中的至少一个确定为该N个目标标识。The first terminal compares the P first identities and the Q second identities, and then determines at least one of the Q second identities different from the P first identities as the N target identities.

可选的,第一终端将该Q个第二标识中与该P个第一标识中不同的标识中的全部确定为该N个目标标识。Optionally, the first terminal determines all of the Q second identities that are different from the P first identities as the N target identities.

可选的,第一终端将该Q个第二标识中与该P个第一标识中不同的标识中的属于第一类型的标识确定为该N个目标标识。第一类型可以为购物类应用程序、即时社交类应用程序、银行类应用程序、视频类应用程序等,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, the first terminal determines, among the Q second identities that are different from the P first identities, the identities belonging to the first type as the N target identities. The first type may be a shopping application program, an instant social application program, a banking application program, a video application program, etc., which may be determined according to actual usage requirements, and are not limited in this embodiment of the present invention.

可选的,用户可以根据自身需求通过输入指定第一类型是何种类型。Optionally, the user may specify what type the first type is by inputting according to his or her own needs.

本发明实施例中,第一终端可以根据P个第一标识和该Q个第二标识,确定N个目标标识,然后可以快速得到第一终端未安装,而第二终端安装的全部目标应用程序的目标标识,或者可以快速得到第一终端未安装,而第二终端安装的全部目标应用程序中与第一页面中的全部应用程序图标对应的目标标识,进而可以快速安装M个应用程序。In the embodiment of the present invention, the first terminal can determine N target identities according to the P first identities and the Q second identities, and then quickly obtain all target application programs that are not installed on the first terminal but installed on the second terminal target IDs, or can quickly obtain the target IDs corresponding to all the application program icons in the first page among all target application programs that are not installed on the first terminal but installed on the second terminal, and then M application programs can be quickly installed.

可选的,在安装该M个应用程序之前,用户可以通过输入触发第一终端调整该N个目标标识中至少两个目标标识的位置,或者从该N个目标标识中删除至少一个目标标识(此种情况下,用户可以通过输入触发第一终端从该N个目标标识中删除(N-M)个目标标识,以确定M个目标标识(当然用户也可以通过输入,从N个目标标识中选择M个目标标识,以确定M个目标标识,本发明实施例不作限定))。Optionally, before installing the M application programs, the user may trigger the first terminal to adjust the positions of at least two target identifiers among the N target identifiers by inputting, or delete at least one target identifier from the N target identifiers ( In this case, the user can trigger the first terminal to delete (N-M) target identities from the N target identities by inputting, so as to determine M target identities (of course, the user can also select M from the N target identities by inputting target identifiers to determine M target identifiers, which is not limited in this embodiment of the present invention)).

示例性的,结合图5,如图6所示,在步骤203之前,本发明实施例提供的应用程序安装方法还可以包括下述的步骤207-步骤208。Exemplarily, referring to FIG. 5 , as shown in FIG. 6 , before step 203 , the application program installation method provided by the embodiment of the present invention may further include the following steps 207 - 208 .

步骤207、第一终端接收用户对N个目标标识中的第三标识的第三输入。Step 207, the first terminal receives a third input from the user on a third identifier among the N target identifiers.

第三输入可以为用户在第三标识上的点击输入、滑动输入或拖动输入等,还可以是其他的可行性输入,本发明实施例不作限定。The third input may be a user's click input, slide input, or drag input on the third mark, or other feasible input, which is not limited in this embodiment of the present invention.

示例性的,上述点击输入可以为任意次数的点击输入,例如单击输入、双击输入等;上述滑动输入可以为向任意方向的滑动输入,例如向左的滑动输入、向右的滑动输入、向上的滑动输入和向下的滑动输入等;上述的拖动输入可以为向任意方向的拖动输入,例如向左的拖动输入、向右的拖动输入、向上的拖动输入和向下的拖动输入等。Exemplarily, the above-mentioned click input can be any number of click inputs, such as single-click input, double-click input, etc.; the above-mentioned sliding input can be a sliding input in any direction, such as sliding input to the left, sliding input to the right, upward sliding input and downward sliding input, etc.; the above-mentioned drag input can be a drag input in any direction, such as a leftward drag input, a rightward drag input, an upward drag input, and a downward drag input. Drag input etc.

步骤208、第一终端响应于第三输入,调整第三标识在N个目标标识中的位置,或从N个目标标识中删除第三标识。Step 208, the first terminal adjusts the position of the third identifier in the N target identifiers, or deletes the third identifier from the N target identifiers in response to the third input.

第一终端响应于第三输入,可以改变第三标识在该N个目标标识中的位置(改变第三标识在该N个目标标识中的相对位置),即用户可以通过第三输入,触发第一终端调整该N个目标标识的排列顺序。In response to the third input, the first terminal can change the position of the third identification in the N target identifications (change the relative position of the third identification in the N target identifications), that is, the user can trigger the third identification through the third input. A terminal adjusts the sequence of the N target identifiers.

或者,第一终端响应于第三输入,可以从该N个目标标识中删除第三标识,即用户可以通过第三输入,触发第一终端删除N个目标标识中的至少一个标识。Alternatively, the first terminal may delete the third identifier from the N target identifiers in response to the third input, that is, the user may trigger the first terminal to delete at least one identifier among the N target identifiers through the third input.

本发明实施例中,用户可以根据自身需求,通过第三输入触发第一终端调整N个目标标识的排列顺序或删除N个目标标识中的至少一个标识。从而可以触发第一终端按照用户设定的顺序安装应用程序,或者按照用户需求安装需要的应用。In the embodiment of the present invention, the user can trigger the first terminal to adjust the arrangement order of the N target identifiers or delete at least one identifier among the N target identifiers through the third input according to the user's own needs. Therefore, the first terminal can be triggered to install application programs according to the order set by the user, or to install required applications according to user requirements.

可选的,第一终端可以根据第三输入的输入参数,对第三标识执行与输入参数对应的控制操作。第三输入的输入参数可以包括第三输入的操作方向、操作区域、操作轨迹以及操作结束位置中的至少一项。Optionally, the first terminal may perform a control operation corresponding to the input parameter on the third identifier according to the input parameter of the third input. The input parameters of the third input may include at least one item of the third input's operation direction, operation area, operation track, and operation end position.

示例性的,以第三输入为用户对第三标识的拖动操作为例,第三输入的操作方向可以为用户对第三标识的拖动方向;第三输入的操作区域可以为用户对第三标识的拖动区域;第三输入的操作轨迹可以为用户对第三标识的拖动轨迹;第三输入的操作结束位置可以为用户对第三标识的拖动结束位置。例如,假设用户对第三标识的拖动操作为用户在当前界面上将第三标识从X点拖动到Y点,那么用户对第三标识的拖动方向可以为从X点到Y点的连线的方向;用户对第三标识的拖动区域可以为X点和Y点所在的区域;用户对第三标识的拖动轨迹可以为从X点到Y点的连线;用户对第三标识的拖动结束位置可以为Y点。Exemplarily, taking the third input as the user's dragging operation on the third logo as an example, the operation direction of the third input may be the direction in which the user drags the third logo; The drag area of the third logo; the operation track of the third input may be the drag track of the user on the third logo; the end position of the operation of the third input may be the end position of the user's dragging of the third logo. For example, assuming that the user's dragging operation on the third logo is that the user drags the third logo from point X to point Y on the current interface, then the user's dragging direction on the third logo can be from point X to point Y. The direction of the connecting line; the user’s drag area for the third logo can be the area where point X and Y point are located; the user’s drag track for the third logo can be a line from point X to point Y; the user’s dragging area for the third logo can be The marked end position of dragging may be point Y.

本发明实施例中,第一终端可以通过获取用户在第三标识上的第三输入的操作参数,并对该第三标识执行与该操作参数对应的控制操作,可以实现对第三标识的控制,从而可以实现对该N个目标标识的控制。In the embodiment of the present invention, the first terminal can realize the control of the third sign by acquiring the third input operation parameter of the user on the third sign and performing the control operation corresponding to the operation parameter on the third sign , so that the control of the N target identifiers can be realized.

可选的,本发明实施例中,下面以第三输入的操作参数包括第三输入的操作结束位置为例,来说明根据第三输入的操作结束位置,确定是执行调整第三标识在N个目标标识中的位置的操作,还是执行从N个目标标识中删除第三标识的操作。Optionally, in this embodiment of the present invention, the following takes the third input operation parameter including the third input operation end position as an example to illustrate that according to the third input operation end position, it is determined whether to perform adjustment of the third flag in N The operation of the location in the target identifier is also the operation of deleting the third identifier from the N target identifiers.

示例性的,N个目标标识显示在第一终端的第一区域中,上述步骤208具体的可以通过下述的步骤208a或步骤208b实现。Exemplarily, N target identifiers are displayed in the first area of the first terminal, and the above step 208 may be specifically implemented through the following step 208a or step 208b.

步骤208a、在第三输入的操作结束位置位于第一区域内的情况下,第一终端响应于第三输入,调整第三标识在N个目标标识中的位置。Step 208a, in the case that the operation end position of the third input is within the first area, the first terminal adjusts the position of the third mark among the N target marks in response to the third input.

可选的,第一终端响应于第三输入,将第三标识调整到第三输入的操作结束位置所在的区域。相应的,第一终端可以将N个目标标识中除第三标识之外的其他标识依次补位移动,或者第一终端将第三标识和第三输入的操作结束位置所在区域的原标识位置互换。Optionally, in response to the third input, the first terminal adjusts the third mark to the area where the operation end position of the third input is located. Correspondingly, the first terminal may sequentially move the other identifiers except the third identifier among the N target identifiers, or the first terminal may replace the third identifier with the original identifier position of the area where the third input operation end position is located. Change.

示例性的,如图7中的(a)所示,第三输入为用户将“app7”拖动到“app9”所在的位置的输入,响应于该第三输入,如图7中的(b)所示,第一终端将“app7”显示在原“app9”的位置处,而且控制“app8”和“app9”依次前移补位,或者如图8中的(a)所示,第一终端将“app7”和“app9”的位置对调。Exemplarily, as shown in (a) in Figure 7, the third input is an input where the user drags "app7" to the position where "app9" is located, and in response to the third input, as shown in (b) in Figure 7 ), the first terminal displays "app7" at the position of the original "app9", and controls "app8" and "app9" to move forward in sequence, or as shown in (a) in Figure 8, the first terminal Swap the positions of "app7" and "app9".

步骤208b、在第三输入的操作结束位置位于第一区域外的情况下,第一终端响应于第三输入,从N个目标标识中删除第三标识。Step 208b. In a case where the operation end position of the third input is outside the first area, the first terminal deletes the third identifier from the N target identifiers in response to the third input.

可以理解,在第一终端将第三标识删除后,可以调整N个目标标识除第三标识之外的其他标识的位置,也可以不调整N个目标标识除第三标识之外的其他标识的位置,本发明实施例不作限定。It can be understood that after the first terminal deletes the third identifier, the positions of the N target identifiers other than the third identifier may be adjusted, or the positions of the N target identifiers other than the third identifier may not be adjusted. The location is not limited in this embodiment of the present invention.

示例性的,如图8中的(b)所示,第三输入为用户将“app7”拖出第一区域(虚线框包围的区域)的输入,响应于该第三输入,如图9中的(a)所示,第一终端取消显示“app7”,并调整“app8”和“app9”的位置。在如图9中的(a)所示的基础上,第一终端接收用户的第二输入,响应于该第二输入,第一终端安装应用程序8和应用程序9,如图9中的(b)所示,第一终端的当前页面中显示“app8”和“app9”。Exemplarily, as shown in (b) in FIG. 8, the third input is an input in which the user drags "app7" out of the first area (the area surrounded by the dotted line frame), and in response to the third input, as shown in FIG. 9 As shown in (a), the first terminal cancels the display of "app7" and adjusts the positions of "app8" and "app9". On the basis shown in (a) in Figure 9, the first terminal receives the user's second input, and in response to the second input, the first terminal installs the application program 8 and the application program 9, as shown in Figure 9 ( As shown in b), "app8" and "app9" are displayed on the current page of the first terminal.

可以理解,上述步骤208a和步骤208b可以择一执行,即第一终端在执行步骤207之后,可以执行步骤208a或者执行步骤208b。It can be understood that the above step 208a and step 208b can be performed alternatively, that is, after the first terminal performs step 207, it can perform step 208a or step 208b.

本发明实施例中,根据用户在第三标识上的第三输入的操作结束位置在不同的区域,第一终端可以对该第三标识执行不同的控制操作,从而实现对该N个目标标识的灵活控制。In the embodiment of the present invention, according to the end position of the user's third input operation on the third sign in a different area, the first terminal can perform different control operations on the third sign, so as to realize the control of the N target signs Flexible control.

可选的,在安装该M个应用程序之后,若用户又不需要该M个应用程序中的至少一个应用程序时,用户可以通过输入,触发第一终端快速卸载该至少一个应用程序。Optionally, after installing the M applications, if the user does not need at least one of the M applications, the user can trigger the first terminal to quickly uninstall the at least one application by inputting.

示例性的,结合图6,如图10所示,在步骤204之后,本发明实施例提供的应用程序安装方法还可以包括下述的步骤209-步骤210。Exemplarily, referring to FIG. 6 , as shown in FIG. 10 , after step 204 , the application program installation method provided by the embodiment of the present invention may further include the following steps 209 - 210 .

步骤209、第一终端接收用户的第四输入。Step 209, the first terminal receives a fourth input from the user.

可选的,第四输入可以为用户对已安装的M个应用程序的应用程序图标的点击输入、滑动输入、或拖动输入等,本发明实施例不作限定。对上述点击输入、滑动输入、拖动输入的具体描述可以参考上述步骤207中对点击输入、滑动输入、拖动输入的相关描述,此处不再赘述。Optionally, the fourth input may be the user's click input, slide input, or drag input on the application program icons of the M installed application programs, which is not limited in this embodiment of the present invention. For specific descriptions of the above-mentioned click input, slide input, and drag input, reference may be made to the relevant descriptions of click input, slide input, and drag input in the above step 207, and details are not repeated here.

示例性的,第四输入可以为用户将第一应用程序图标(M个应用程序中一个应用程序的图标)拖至回收站标识的输入。Exemplarily, the fourth input may be an input in which the user drags the icon of the first application program (the icon of one application program among the M application programs) to the symbol of the recycle bin.

可选的,第四输入用于控制第一终端和第二终端相对运动,且第四输入对应的相对运动方向与第二输入对应的相对运动方向相反。Optionally, the fourth input is used to control the relative movement between the first terminal and the second terminal, and the relative movement direction corresponding to the fourth input is opposite to the relative movement direction corresponding to the second input.

第四输入可以为用户调节第一终端和第二终端之间的相对位置的输入。对第四输入为调节第一终端和第二终端之间的相对位置的输入的具体描述可以参考上述步骤201中对第一输入的相关描述,此处不再赘述。The fourth input may be an input for the user to adjust a relative position between the first terminal and the second terminal. For a specific description that the fourth input is an input for adjusting the relative position between the first terminal and the second terminal, reference may be made to the relevant description of the first input in step 201 above, and details are not repeated here.

示例性的,第四输入可以为用户将第一终端和第二终端之间的相对位置变大的输入(即用户将第一终端正面(屏幕所在的面为正面)和第二终端正面之间的夹角θ变大的输入,将两个终端之间的屏幕远离的输入)。Exemplarily, the fourth input may be an input for the user to increase the relative position between the first terminal and the second terminal (that is, the user places the position between the front of the first terminal (where the screen is located is the front) and the front of the second terminal. The input where the included angle θ becomes larger, and the screen between the two terminals is moved away from the input).

步骤210、第一终端响应于第四输入,卸载M个应用程序中的至少一个应用程序。Step 210, the first terminal uninstalls at least one application program among the M application programs in response to the fourth input.

第一终端可以根据第四输入的输入参数,确定卸载该M个应用程序中的哪几个应用程序。The first terminal may determine which of the M application programs to uninstall according to the fourth input parameter.

本发明实施例中,终端卸载目标应用程序(M个应用程序中的一个)可以理解为终端删除目标应用程序图标(从显示目标应用程序图标的页面中删除)、目标应用程序图标对应的应用程序的安装包以及用户使用目标应用程序图标对应的应用程序的过程中产生的数据等。In the embodiment of the present invention, the terminal uninstalling the target application program (one of the M applications) can be understood as the terminal deleting the target application program icon (deleting from the page displaying the target application program icon), and the application program corresponding to the target application program icon The installation package and the data generated during the user's use of the application program corresponding to the target application program icon.

本发明实施例中,用户可以根据自身需求,通过第四输入触发第一终端快速卸载已安装的M个应用程序中的至少一个应用程序,进而可以提高人机交互性能。In the embodiment of the present invention, the user can trigger the first terminal to quickly uninstall at least one of the M installed application programs through the fourth input according to the user's own needs, thereby improving human-computer interaction performance.

示例性的,第四输入用于控制第一终端和第二终端相对运动,上述步骤210具体的可以通过下述的步骤210a实现。Exemplarily, the fourth input is used to control the relative movement of the first terminal and the second terminal, and the above step 210 can be specifically implemented through the following step 210a.

步骤210a、第一终端获取第一终端和第二终端之间的第二相对信息,基于第二相对信息,确定待卸载的至少一个应用程序。Step 210a, the first terminal acquires second relative information between the first terminal and the second terminal, and based on the second relative information, determines at least one application program to be uninstalled.

第二相对信息为第二相对位置信息或第二相对位置变化信息。The second relative information is second relative position information or second relative position change information.

对第二相对信息的描述可以参考上述步骤201中对第一输入的描述中对相对信息的相关描述,此处不再赘述。For the description of the second relative information, reference may be made to the relevant description of the relative information in the description of the first input in step 201 above, and details are not repeated here.

本发明实施例中,针对第四输入为调节第一终端和第二终端之间的相对位置的输入的情况,第一终端可以根据第四输入改变的第一终端和第二终端之间的相对信息的大小来确定卸载几个应用程序,可以只卸载一个应用程序,也可以卸载多个应用程序,还可以卸载全部应用程序(M个应用程序),本发明实施例不作限定。In the embodiment of the present invention, for the case where the fourth input is an input for adjusting the relative position between the first terminal and the second terminal, the first terminal can change the relative position between the first terminal and the second terminal according to the fourth input. The size of the information determines the number of applications to be uninstalled. It is possible to uninstall only one application, multiple applications, or all applications (M application programs), which are not limited in this embodiment of the present invention.

可选的,卸载的应用程序的个数可以与第二相对信息之间存在一个对应关系。例如第四输入调节第一终端和第二终端之间的夹角的变化量为θ0的整倍数,第四输入调节几个θ0,则卸载几个应用程序。第一终端可以在第四输入结束时卸载对应个数的应用程序,也可以在第四输入执行的过程中,每调节一个θ0,则卸载一个应用程序,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, there may be a corresponding relationship between the number of uninstalled application programs and the second relative information. For example, the fourth input adjusts the variation of the included angle between the first terminal and the second terminal to be an integral multiple of θ0, and several applications are uninstalled after the fourth input adjusts several θ0. The first terminal can uninstall the corresponding number of application programs at the end of the fourth input, and can also uninstall one application program every time θ0 is adjusted during the execution of the fourth input. Specifically, it can be determined according to actual use requirements. The present invention Examples are not limited.

示例性的,用户可以通过一次控制第一终端向第二终端(围绕边框)顺时针转动θ5(即夹角变大θ5)的第四输入,触发第一终端卸载最近安装的一个应用程序(一个一个卸载时,第一终端可以按照M个应用程序的安装顺序的逆顺序依次卸载对应的应用程序)。用户可以通过一次控制第一终端向第二终端(围绕边框)顺时针转动θ6(即夹角变小θ6)的第四输入,触发第一终端卸载该M个应用程序。Exemplarily, the user can trigger the first terminal to uninstall a recently installed application program (a When one is uninstalled, the first terminal may uninstall the corresponding application programs sequentially according to the reverse order of the installation sequence of the M application programs). The user can trigger the first terminal to uninstall the M application programs by controlling the first terminal to rotate clockwise θ6 (ie, the included angle θ6) to the second terminal (surrounding the border) with a fourth input.

本发明实施例中,通过用于控制第一终端和第二终端相对运动的第四输入,可以触发第一终端按照用户需求快速卸载M个应用程序中的至少一个,操作简单方便,易于实现。In the embodiment of the present invention, through the fourth input for controlling the relative movement of the first terminal and the second terminal, the first terminal can be triggered to quickly uninstall at least one of the M application programs according to the user's needs, and the operation is simple, convenient, and easy to implement.

可选的,本发明实施例中,在第一终端接收第一输入之前,第一终端需要先与第二终端建立通信连接。Optionally, in this embodiment of the present invention, before the first terminal receives the first input, the first terminal first needs to establish a communication connection with the second terminal.

示例性的,结合图10,如图11所示,在步骤201之前,本发明实施例提供的应用程序安装方法还可以包括下述的步骤211-步骤212。Exemplarily, with reference to FIG. 10 , as shown in FIG. 11 , before step 201 , the application program installation method provided by the embodiment of the present invention may further include the following steps 211 - 212 .

步骤211、第一终端接收用户的第五输入。Step 211, the first terminal receives a fifth input from the user.

步骤212、第一终端响应于第五输入,与第二终端建立通信连接。Step 212, the first terminal establishes a communication connection with the second terminal in response to the fifth input.

本发明实施例中,通信连接可以包括任意终端与终端之间的无线通信连接,如wifi连接、热点连接或蓝牙连接等,还可以包括其他的通信连接,本发明实施例不作限定。In the embodiment of the present invention, the communication connection may include any wireless communication connection between terminals, such as wifi connection, hotspot connection, or Bluetooth connection, and may also include other communication connections, which are not limited in the embodiment of the present invention.

可选的,第五输入可以为用户手动操作两个终端建立连接的输入。例如第五输入包括用于触发其中一个终端(终端A)查找另一个终端(终端B)输入,查找到之后,还包括用于触发两个终端建立连接的输入(例如,用户在终端A上点击查找到的终端B的标识,并点击建立通信连接,终端A上显示验证码1。终端B上显示输入验证码的提示信息,用户在提示信息中输入验证码1,点击确定。终端A和终端B建立通信连接),具体参考任意相关技术,此处不予赘述。Optionally, the fifth input may be an input for the user to manually operate two terminals to establish a connection. For example, the fifth input includes an input for triggering one of the terminals (terminal A) to search for another terminal (terminal B). Find the logo of terminal B, and click to establish a communication connection, and the verification code 1 is displayed on terminal A. The prompt message for inputting the verification code is displayed on terminal B, and the user enters the verification code 1 in the prompt message, and clicks OK. Terminal A and terminal B establishes a communication connection), for details, refer to any related technology, which will not be repeated here.

可选的,第五输入可以为用户控制第一终端和第二终端接触的输入。Optionally, the fifth input may be an input for the user to control the contact between the first terminal and the second terminal.

示例性的,在第一终端检测到第一终端和第二终端接触的情况下,第一终端可以与第二终端建立通信连接,具体建立通信连接的过程可以参考任意相关技术,本发明实施例不作限定。例如,第五输入为用户将第一终端和第二终端并排接触(结合图3中的(a)所示,夹角θ为180°,第一终端的屏幕与第二终端的屏幕位于同一平面上,且两个终端的边框全部重叠)的输入。Exemplarily, when the first terminal detects that the first terminal is in contact with the second terminal, the first terminal can establish a communication connection with the second terminal. For the specific process of establishing a communication connection, reference can be made to any related technology. The embodiment of the present invention Not limited. For example, the fifth input is that the user touches the first terminal and the second terminal side by side (as shown in (a) in FIG. above, and the borders of the two terminals all overlap).

示例性的,假设第一终端和第二终端之间可以进行磁性连接,则第五输入可以为用户将第一终端和第二终端接触,以完成磁性连接的输入。Exemplarily, assuming that a magnetic connection can be made between the first terminal and the second terminal, the fifth input may be an input in which the user contacts the first terminal and the second terminal to complete the magnetic connection.

可选的,在上述任意步骤之后,用户可以通过第六输入触发第一终端和第二终端之间断开通信连接,以及退出本发明实施例提供的应用程序安装方法对应的操作状态(或操作界面)。第六输入可以为用户分离第一终端和第二终端直至控制第一终端和第二终端之间的距离大于预设阈值以触发第一终端和第二终端自动断开通信连接(大于预设阈值之后,二者之间的通信连接断开,预设阈值可以根据实际使用需求确定,本发明实施例不作限定)的输入。第六输入也可以为用户手动将第一终端和第二终端之间通信连接状态由连接状态变为断开连接状态的输入,第六输入还可以是其他的可行性输入,本发明实施例不作限定。Optionally, after any of the above steps, the user can trigger the disconnection of the communication connection between the first terminal and the second terminal through the sixth input, and exit the corresponding operation state (or operation interface) of the application program installation method provided by the embodiment of the present invention ). The sixth input can be for the user to separate the first terminal and the second terminal until the distance between the first terminal and the second terminal is controlled to be greater than a preset threshold to trigger the first terminal and the second terminal to automatically disconnect the communication connection (greater than the preset threshold Afterwards, the communication connection between the two is disconnected, and the preset threshold can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention). The sixth input may also be an input for the user to manually change the communication connection state between the first terminal and the second terminal from the connected state to the disconnected state. limited.

本发明实施例中的各个附图均是结合独权实施例附图示例的,具体实现时,各个附图还可以结合其它任意可以结合的附图实现,本发明实施例不作限定。例如,上述步骤207-步骤208也可以结合图2实现。Each drawing in the embodiments of the present invention is an example in combination with the drawings of the exclusive embodiment. During specific implementation, each drawing can also be implemented in combination with any other drawings that can be combined, which is not limited by the embodiment of the present invention. For example, the above steps 207 to 208 can also be implemented in conjunction with FIG. 2 .

如图12所示,本发明实施例提供一种终端120,该终端120为第一终端,该终端120包括:接收模块121、显示模块122和安装模块123;接收模块121,用于在第一终端与第二终端建立通信连接的情况下,接收用户的第一输入,第一输入用于控制第一终端和第二终端相对运动;显示模块122,用于响应于接收模块121接收的第一输入,显示N个目标标识,其中,每个目标标识分别用于指示N个目标应用程序图标中的不同应用程序图标,N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中不同的应用程序图标;或者,N个目标应用程序图标为第二终端的桌面当前显示的页面中与第一终端的桌面当前显示的页面中不同的应用程序图标;接收模块121,还用于接收用户的第二输入;安装模块123,用于响应于接收模块121接收的第二输入,在第一终端中安装M个应用程序,M个应用程序为N个应用程序图标中的M个应用程序图标对应的应用程序;其中,N、M均为正整数。As shown in FIG. 12 , the embodiment of the present invention provides a terminal 120, the terminal 120 is a first terminal, and the terminal 120 includes: a receiving module 121, a display module 122 and an installation module 123; the receiving module 121 is used for When the terminal establishes a communication connection with the second terminal, it receives a first input from the user, and the first input is used to control the relative movement of the first terminal and the second terminal; the display module 122 is used to respond to the first input received by the receiving module 121 Input and display N target identifiers, wherein each target identifier is used to indicate a different application program icon in the N target application program icons, and the N target application program icons are the desktop of the second terminal and the desktop of the first terminal Different application program icons; or, the N target application program icons are different application program icons in the page currently displayed on the desktop of the second terminal and the page currently displayed on the desktop of the first terminal; the receiving module 121 is also used to Receive the user's second input; the installation module 123 is configured to install M application programs in the first terminal in response to the second input received by the receiving module 121, and the M application programs are M applications in the N application program icons The application program corresponding to the program icon; wherein, N and M are both positive integers.

可选的,终端120还包括:获取模块124和确定模块125;获取模块124,用于在显示模块122显示N个目标标识之前,获取P个第一标识和Q个第二标识,P个第一标识用于指示第一终端的桌面中的不同应用程序图标,且Q个第二标识用于指示第二终端的桌面中的不同应用程序图标;或着,P个第一标识用于指示第一终端的桌面当前显示的页面中的不同应用程序图标,且Q个第二标识用于指示第二终端的桌面当前显示的页面中的不同应用程序图标;确定模块125,用于将获取模块124获取的Q个第二标识中与P个第一标识不同的标识中的至少一个选取为N个目标标识;其中,P、Q均为正整数。Optionally, the terminal 120 further includes: an acquisition module 124 and a determination module 125; the acquisition module 124 is configured to acquire P first identifiers and Q second identifiers before the display module 122 displays N target identifiers, and the P first identifiers One identifier is used to indicate different application icons on the desktop of the first terminal, and Q second identifiers are used to indicate different application icons on the desktop of the second terminal; or, P first identifiers are used to indicate the first The different application program icons in the page currently displayed on the desktop of a terminal, and the Q second identifiers are used to indicate the different application program icons in the page currently displayed on the desktop of the second terminal; At least one of the obtained Q second identities different from the P first identities is selected as N target identities; wherein, P and Q are both positive integers.

可选的,终端120还包括:处理模块126;接收模块121,还用于在接收用户的第二输入之前,接收用户对N个目标标识中的第三标识的第三输入;处理模块126,用于响应于接收模块121接收的第三输入,调整第三标识在N个目标标识中的位置,或从N个目标标识中删除第三标识。Optionally, the terminal 120 further includes: a processing module 126; a receiving module 121, further configured to receive a third input from the user on a third identifier among the N target identifiers before receiving the second input from the user; the processing module 126, In response to the third input received by the receiving module 121, adjust the position of the third identifier in the N target identifiers, or delete the third identifier from the N target identifiers.

可选的,N个目标标识显示在第一终端的第一区域中;处理模块126,具体用于在接收模块121接收的第三输入的操作结束位置位于第一区域内的情况下,响应于第三输入,调整第三标识在N个目标标识中的位置;在接收模块121接收的第三输入的操作结束位置位于第一区域外的情况下,响应于第三输入,从N个目标标识中删除第三标识。Optionally, N target identifiers are displayed in the first area of the first terminal; the processing module 126 is specifically configured to respond to The third input is to adjust the position of the third mark in the N target marks; when the operation end position of the third input received by the receiving module 121 is located outside the first area, in response to the third input, from the N target marks Delete the third logo in .

可选的,第二输入用于控制第一终端和第二终端相对运动;终端120还包括:获取模块124和确定模块125;获取模块124,用于在安装模块123在第一终端中安装M个应用程序之前,获取第一终端和第二终端之间的第一相对信息,第一相对信息为第一相对位置信息或第一相对位置变化信息;确定模块125,用于基于获取模块124获取的第一相对信息,确定待安装的M个应用程序。Optionally, the second input is used to control the relative movement of the first terminal and the second terminal; the terminal 120 also includes: an acquisition module 124 and a determination module 125; the acquisition module 124 is used to install M in the first terminal in the installation module 123 Before the first application program, obtain the first relative information between the first terminal and the second terminal, the first relative information is the first relative position information or the first relative position change information; the determination module 125 is used to obtain based on the acquisition module 124 The first relative information of the M application programs to be installed is determined.

可选的,终端120还包括:卸载模块127;接收模块121,还用于安装模块123在第一终端中安装M个应用程序之后,接收用户的第四输入,第四输入用于控制第一终端和第二终端相对运动,且第四输入对应的相对运动方向与第二输入对应的相对运动方向相反;卸载模块127,用于响应于接收模块121接收的第四输入,卸载安装模块123安装的M个应用程序中的至少一个应用程序。Optionally, the terminal 120 further includes: an uninstall module 127; a receiving module 121, which is also used for the installation module 123 to receive a fourth input from the user after the M application programs are installed in the first terminal, and the fourth input is used to control the first The terminal and the second terminal move relatively, and the relative movement direction corresponding to the fourth input is opposite to the relative movement direction corresponding to the second input; the uninstall module 127 is configured to respond to the fourth input received by the receiving module 121, and the uninstall installation module 123 installs At least one application program among the M application programs.

可选的,获取模块124,还用于在卸载模块127卸载M个应用程序中的至少一个应用程序之前,获取第一终端和第二终端之间的第二相对信息,第二相对信息为第二相对位置信息或第二相对位置变化信息;确定模块125,还用于基于获取模块124获取的第二相对信息,确定待卸载的至少一个应用程序。Optionally, the acquiring module 124 is further configured to acquire second relative information between the first terminal and the second terminal before the uninstalling module 127 uninstalls at least one of the M application programs, where the second relative information is Two relative position information or second relative position change information; the determination module 125 is further configured to determine at least one application program to be uninstalled based on the second relative information acquired by the acquisition module 124 .

可选的,第一输入为下述中的任意一项:调节第一终端和第二终端之间的夹角的输入、调节第一终端和第二终端之间的距离的输入,以及调节第一终端和第二终端之间的接触面积的输入。Optionally, the first input is any one of the following: an input for adjusting the angle between the first terminal and the second terminal, an input for adjusting the distance between the first terminal and the second terminal, and an input for adjusting the first terminal Input of the contact area between a terminal and a second terminal.

可选的,终端120还包括:建立模块128;接收模块121,还用于在接收用户的第一输入之前,接收用户的第五输入;建立模块128,用于响应于接收模块121接收的第五输入,与第二终端建立通信连接。Optionally, the terminal 120 further includes: an establishing module 128; a receiving module 121, configured to receive a fifth input from the user before receiving the first input from the user; an establishing module 128 configured to respond to the first input received by the receiving module 121 Five inputs, establishing a communication connection with the second terminal.

需要说明的是,如图12所示,终端120中一定包括的模块用实线框示意,如接收模块121、显示模块122和安装模块123;终端120中可以包括也可以不包括的模块用虚线框示意,如获取模块124、确定模块125、处理模块126、卸载模块127和建立模块128。It should be noted that, as shown in Figure 12, the modules that must be included in the terminal 120 are indicated by solid line boxes, such as the receiving module 121, the display module 122 and the installation module 123; the modules that may or may not be included in the terminal 120 are indicated by dotted lines Block diagrams, such as an acquisition module 124 , a determination module 125 , a processing module 126 , an unloading module 127 and a building module 128 .

本发明实施例提供的终端能够实现上述方法实施例中图2至图11任意之一所示的各个过程,为避免重复,此处不再赘述。The terminal provided by the embodiment of the present invention can implement each process shown in any one of FIG. 2 to FIG. 11 in the above method embodiment, and to avoid repetition, details are not repeated here.

本发明实施例提供了一种终端,在第一终端与第二终端建立通信连接的情况下,第一终端可以接收用户的第一输入,响应于第一输入,显示N个目标标识,并接收用户的第二输入,响应于第二输入,在第一终端中安装M个应用程序。其中,第一输入用于控制第一终端和第二终端相对运动;每个目标标识分别用于指示N个目标应用程序图标中的不同应用程序图标;该N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中不同的应用程序图标,或者,该N个目标应用程序图标为第二终端的桌面当前显示的页面中与第一终端的桌面当前显示的页面中不同的应用程序图标;该M个应用程序为该N个目标应用程序图标中的M个应用程序图标对应的应用程序;N、M均为正整数。通过该方案,用户通过第一输入,可以触发第一终端显示用于指示第一终端未安装,而第二终端安装的全部目标应用程序(即N个目标应用程序,对应桌面中所有应用程序图标)的目标标识,或者触发第一终端显示用于指示第一终端的桌面当前显示的页面中未安装,而第二终端的桌面当前显示的页面中安装的全部目标应用程序(N个目标应用程序,对应桌面当前显示的页面中所有的应用程序图标)的目标标识,然后用户可以通过第二输入,触发第一终端安装N个目标应用程序中的M个应用程序。从而相对于现有技术简化了应用程序的安装步骤,可以实现应用程序的快速安装。An embodiment of the present invention provides a terminal. When the first terminal establishes a communication connection with the second terminal, the first terminal can receive the user's first input, display N target identifiers in response to the first input, and receive A second input by the user, and M application programs are installed in the first terminal in response to the second input. Wherein, the first input is used to control the relative movement of the first terminal and the second terminal; each target identifier is used to indicate a different application program icon in the N target application program icons; the N target application program icons are the second terminal The application icons on the desktop of the first terminal are different from those on the desktop of the first terminal, or the N target application icons are different applications on the page currently displayed on the desktop of the second terminal and the page currently displayed on the desktop of the first terminal Program icons; the M application programs are the application programs corresponding to the M application program icons in the N target application program icons; N and M are both positive integers. Through this solution, the user can trigger the first terminal to display all the target application programs (that is, N target application programs, corresponding to all application program icons in the desktop) for indicating that the first terminal is not installed and the second terminal is installed through the first input. ), or trigger the first terminal to display all target applications (N target application programs) that are not installed in the page currently displayed on the desktop of the second terminal and are not installed in the page currently displayed on the desktop of the second terminal when the first terminal is triggered , corresponding to the target identifiers of all application program icons in the page currently displayed on the desktop), and then the user can trigger the first terminal to install M application programs in the N target application programs through a second input. Therefore, compared with the prior art, the installation steps of the application program are simplified, and the quick installation of the application program can be realized.

图13为实现本发明各个实施例的一种终端的硬件结构示意图。如图13所示,该终端100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图13中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Fig. 13 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention. As shown in Figure 13, the terminal 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, Processor 110, power supply 111 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 13 does not constitute a limitation on the terminal, and the terminal may include more or less components than shown in the figure, or combine certain components, or arrange different components. In the embodiment of the present invention, the terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.

其中,用户输入单元107,用于接收用户的第一输入,第一输入用于控制第一终端和第二终端相对运动;显示单元106,用于响应于第一输入,显示N个目标标识,其中,每个目标标识分别用于指示N个目标应用程序图标中的不同应用程序图标,该N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中不同的应用程序图标;或者,该N个目标应用程序图标为第二终端的桌面当前显示的页面中与第一终端的桌面当前显示的页面中不同的应用程序图标;用户输入单元107,还用于接收用户的第二输入;处理器110,用于响应于第二输入,在第一终端中安装M个应用程序,该M个应用程序为该N个目标应用程序图标中的M个应用程序图标对应的应用程序;其中,N、M均为正整数。Wherein, the user input unit 107 is configured to receive a first input from the user, and the first input is used to control the relative movement of the first terminal and the second terminal; the display unit 106 is configured to display N target identifiers in response to the first input, Wherein, each target identifier is used to indicate a different application program icon in the N target application program icons, and the N target application program icons are different application program icons in the desktop of the second terminal and in the desktop of the first terminal; Or, the N target application program icons are different application program icons in the page currently displayed on the desktop of the second terminal and the page currently displayed on the desktop of the first terminal; the user input unit 107 is also used to receive the user's second Input; the processor 110 is configured to install M application programs in the first terminal in response to the second input, and the M application programs are the application programs corresponding to the M application program icons in the N target application program icons; Wherein, N and M are both positive integers.

本发明实施例提供的终端,在第一终端与第二终端建立通信连接的情况下,第一终端可以接收用户的第一输入,响应于第一输入,显示N个目标标识,并接收用户的第二输入,响应于第二输入,在第一终端中安装M个应用程序。其中,第一输入用于控制第一终端和第二终端相对运动;每个目标标识分别用于指示N个目标应用程序图标中的不同应用程序图标;该N个目标应用程序图标为第二终端的桌面中与第一终端的桌面中不同的应用程序图标,或者,该N个目标应用程序图标为第二终端的桌面当前显示的页面中与第一终端的桌面当前显示的页面中不同的应用程序图标;该M个应用程序为该N个目标应用程序图标中的M个应用程序图标对应的应用程序;N、M均为正整数。通过该方案,用户通过第一输入,可以触发第一终端显示用于指示第一终端未安装,而第二终端安装的全部目标应用程序(即N个目标应用程序,对应桌面中所有应用程序图标)的目标标识,或者触发第一终端显示用于指示第一终端的桌面当前显示的页面中未安装,而第二终端的桌面当前显示的页面中安装的全部目标应用程序(N个目标应用程序,对应桌面当前显示的页面中所有的应用程序图标)的目标标识,然后用户可以通过第二输入,触发第一终端安装N个目标应用程序中的M个应用程序。从而相对于现有技术简化了应用程序的安装步骤,可以实现应用程序的快速安装。In the terminal provided by the embodiment of the present invention, when the first terminal establishes a communication connection with the second terminal, the first terminal can receive the user's first input, display N target identifiers in response to the first input, and receive the user's A second input. In response to the second input, M application programs are installed in the first terminal. Wherein, the first input is used to control the relative movement of the first terminal and the second terminal; each target identifier is used to indicate a different application program icon in the N target application program icons; the N target application program icons are the second terminal The application icons on the desktop of the first terminal are different from those on the desktop of the first terminal, or the N target application icons are different applications on the page currently displayed on the desktop of the second terminal and the page currently displayed on the desktop of the first terminal Program icons; the M application programs are the application programs corresponding to the M application program icons in the N target application program icons; N and M are both positive integers. Through this solution, the user can trigger the first terminal to display all the target application programs (that is, N target application programs, corresponding to all application program icons in the desktop) for indicating that the first terminal is not installed and the second terminal is installed through the first input. ), or trigger the first terminal to display all target applications (N target application programs) that are not installed in the page currently displayed on the desktop of the second terminal and are not installed in the page currently displayed on the desktop of the second terminal when the first terminal is triggered , corresponding to the target identifiers of all application program icons in the page currently displayed on the desktop), and then the user can trigger the first terminal to install M application programs in the N target application programs through a second input. Therefore, compared with the prior art, the installation steps of the application program are simplified, and the quick installation of the application program can be realized.

应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, the processor 110 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.

终端通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 102, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.

输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the network module 102 . The microphone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a phone call mode.

终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and/or when the terminal 100 moves to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer posture calibration), vibration recognition related functions (such as pedometer, knocking), etc.; sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray Sensors, etc., will not be described in detail here.

显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061 , and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operate). The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 110, receive the command sent by the processor 110 and execute it. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图13中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be covered on the display panel 1061, and when the touch panel 1071 detects a touch operation on or near it, it will be sent to the processor 110 to determine the type of the touch event, and then the processor 110 can The type of event provides a corresponding visual output on the display panel 1061 . Although in FIG. 13, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to form Realize the input and output functions of the terminal, which is not limited here.

接口单元108为外部装置与终端100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端100内的一个或多个元件或者可以用于在终端100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device to the terminal 100 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 may be used to receive input from an external device (for example, data information, power, etc.) transfer data between.

存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs as well as various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器110是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用程序处理器和调制解调处理器,其中,应用程序处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the terminal, and uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109, execution Various functions and processing data of the terminal, so as to monitor the terminal as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application program processor and a modem processor, wherein the application program processor mainly processes operating systems, user interfaces, and application programs, etc., The modem processor primarily handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .

终端100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,终端100包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 100 includes some functional modules not shown, which will not be repeated here.

可选的,本发明实施例还提供一种终端,可以包括上述如图13所示的处理器110,存储器109,以及存储在存储器109上并可在该处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例中图2至图11任意之一所示的应用程序安装方法的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。Optionally, an embodiment of the present invention also provides a terminal, which may include the above-mentioned processor 110 shown in FIG. When the computer program is executed by the processor 110, the various processes of the application program installation method shown in any one of Fig. 2 to Fig. 11 in the above method embodiment are realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here. .

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例中图2至图11任意之一所示的应用程序安装方法的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。An embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the method shown in any one of Fig. 2 to Fig. 11 in the above method embodiment is implemented. Each process of the application program installation method can achieve the same technical effect, so in order to avoid repetition, details will not be described here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (11)

1. a kind of application program installation method is applied to first terminal, which is characterized in that the described method includes:
In the case where the first terminal and second terminal are established and communicated to connect, receive user first is inputted, and described first Input is for controlling the first terminal and second terminal relative motion;
In response to first input, N number of target identification is shown, wherein each target identification is respectively used to indicate that N number of target is answered With the different application icon in program icon, N number of destination application icon is in the desktop of the second terminal The application icon different from the desktop of the first terminal;Alternatively, N number of destination application icon is described the The application journey different from the page that the desktop of the first terminal is currently shown in the page that the desktop of two terminals is currently shown Sequence icon;
Receive the second input of user;
In response to second input, M application program is installed in the first terminal, the M application program is the N The corresponding application program of M application icon in a application icon;
Wherein, N, M are positive integer.
2. the method according to claim 1, wherein before the N number of target identification of display, further includes:
It obtains P first identifier and Q second identifier, the P first identifier is used to indicate in the desktop of the first terminal Different application icon, and the Q second identifier is used to indicate the different application journey in the desktop of the second terminal Sequence icon;Or, the difference in the page that the desktop that the P first identifier is used to indicate the first terminal is currently shown is answered With program icon, and the difference in the page that currently shows of the Q second identifier desktop that is used to indicate the second terminal Application icon;
At least one of mark different from the P first identifier in the Q second identifier is chosen for N number of mesh Mark mark;
Wherein, P, Q are positive integer.
3. the method according to claim 1, wherein before second input for receiving user, further includes:
User is received to input the third of the third mark in N number of target identification;
It is inputted in response to the third, adjusts the third and identify the position in N number of target identification, or from described N number of The third mark is deleted in target identification.
4. according to the method described in claim 3, it is characterized in that, N number of target identification is shown in the first terminal In first area;
It is described to be inputted in response to the third, it adjusts the third and identifies the position in N number of target identification, or from described The third mark is deleted in N number of target identification, comprising:
It is defeated in response to the third in the case where the operation end position of third input is located in the first area Enter, adjusts the third and identify the position in N number of target identification;
It is defeated in response to the third in the case where the operation end position of third input is located at outside the first area Enter, the third mark is deleted from N number of target identification.
5. the method according to claim 1, wherein second input is for controlling the first terminal and the Two terminal relative motions;
It is described in the first terminal install M application program before, further includes:
The first relative information between the first terminal and the second terminal is obtained, first relative information is the first phase To location information or the first relative position change information;
Based on first relative information, the M application program to be installed is determined.
6. according to the method described in claim 5, it is characterized in that, described install M application program in the first terminal Later, further includes:
The 4th input of user is received, the 4th input is for controlling the first terminal and the opposite fortune of the second terminal It is dynamic, and the corresponding direction of relative movement of the 4th input direction of relative movement corresponding with second input is opposite;
In response to the 4th input, at least one application program in the M application program is unloaded.
7. according to the method described in claim 6, it is characterized in that, at least one of described described M application program of unloading Before application program, further includes:
The second relative information between the first terminal and the second terminal is obtained, second relative information is the second phase To location information or the second relative position change information;
Based on second relative information, at least one described application program to be unloaded is determined.
8. method according to any one of claim 1 to 7, which is characterized in that first input is appointing in following Meaning one: it adjusts the input of the angle between the first terminal and the second terminal, adjust the first terminal and described The input of the distance between second terminal, and adjust the defeated of contact area between the first terminal and the second terminal Enter.
9. a kind of terminal, which is characterized in that the terminal be first terminal, the terminal include: receiving module, display module and Module is installed;
The receiving module, for receiving user's in the case where the first terminal and second terminal are established and communicated to connect First input, first input is for controlling the first terminal and second terminal relative motion;
The display module, for showing N number of target identification in response to received first input of the receiving module, In, each target identification is respectively used to indicate the different application icon in N number of destination application icon, N number of mesh Mark application program image is designated as application icon different from the desktop of the first terminal in the desktop of the second terminal; Alternatively, in the page that the desktop that N number of destination application icon is the second terminal is currently shown eventually with described first Different application icon in the page that the desktop at end is currently shown;
The receiving module is also used to receive the second input of user;
The installation module, for pacifying in the first terminal in response to received second input of the receiving module M application program is filled, the M application program, which is that M application icon in N number of application icon is corresponding, answers Use program;
Wherein, N, M are positive integer.
10. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 8 The step of application program installation method described in one.
11. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes such as application program installation side described in any item of the claim 1 to 8 when the computer program is executed by processor The step of method.
CN201910586366.4A 2019-07-01 2019-07-01 A kind of application program installation method and terminal Pending CN110502248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910586366.4A CN110502248A (en) 2019-07-01 2019-07-01 A kind of application program installation method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910586366.4A CN110502248A (en) 2019-07-01 2019-07-01 A kind of application program installation method and terminal

Publications (1)

Publication Number Publication Date
CN110502248A true CN110502248A (en) 2019-11-26

Family

ID=68585892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910586366.4A Pending CN110502248A (en) 2019-07-01 2019-07-01 A kind of application program installation method and terminal

Country Status (1)

Country Link
CN (1) CN110502248A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990032A (en) * 2019-12-19 2020-04-10 维沃移动通信有限公司 Application installation method and electronic device
CN111831176A (en) * 2020-06-18 2020-10-27 维沃移动通信有限公司 Application management method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428671A (en) * 2013-08-14 2013-12-04 华为技术有限公司 Application hosting method and system, mobile terminal, server
CN104063250A (en) * 2014-07-02 2014-09-24 深圳市中兴移动通信有限公司 Method and system for transferring terminal application and terminal equipment
CN105094904A (en) * 2015-07-20 2015-11-25 小米科技有限责任公司 Application program installation method and device
CN106020885A (en) * 2016-05-23 2016-10-12 北京金山安全软件有限公司 Application providing method and device and electronic equipment
CN106686536A (en) * 2017-02-23 2017-05-17 厦门美图移动科技有限公司 Terminal application sharing method and device
CN107526642A (en) * 2016-06-21 2017-12-29 华为终端(东莞)有限公司 The acquisition methods and terminal of terminal room application program
CN108234774A (en) * 2018-01-30 2018-06-29 维沃移动通信有限公司 The method for down loading and terminal of a kind of application program
CN109391509A (en) * 2018-04-16 2019-02-26 深圳思为科技有限公司 A kind of method, system and the application server of more new application

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428671A (en) * 2013-08-14 2013-12-04 华为技术有限公司 Application hosting method and system, mobile terminal, server
CN104063250A (en) * 2014-07-02 2014-09-24 深圳市中兴移动通信有限公司 Method and system for transferring terminal application and terminal equipment
CN105094904A (en) * 2015-07-20 2015-11-25 小米科技有限责任公司 Application program installation method and device
CN106020885A (en) * 2016-05-23 2016-10-12 北京金山安全软件有限公司 Application providing method and device and electronic equipment
CN107526642A (en) * 2016-06-21 2017-12-29 华为终端(东莞)有限公司 The acquisition methods and terminal of terminal room application program
CN106686536A (en) * 2017-02-23 2017-05-17 厦门美图移动科技有限公司 Terminal application sharing method and device
CN108234774A (en) * 2018-01-30 2018-06-29 维沃移动通信有限公司 The method for down loading and terminal of a kind of application program
CN109391509A (en) * 2018-04-16 2019-02-26 深圳思为科技有限公司 A kind of method, system and the application server of more new application

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990032A (en) * 2019-12-19 2020-04-10 维沃移动通信有限公司 Application installation method and electronic device
CN110990032B (en) * 2019-12-19 2021-08-24 维沃移动通信有限公司 Application installation method and electronic device
CN111831176A (en) * 2020-06-18 2020-10-27 维沃移动通信有限公司 Application management method and device

Similar Documents

Publication Publication Date Title
CN110502287B (en) An application program control method and terminal
CN110851051A (en) Object sharing method and electronic equipment
CN109917995B (en) Object processing method and terminal equipment
CN110221885B (en) Interface display method and terminal equipment
CN111459355A (en) Content sharing method and electronic device
CN107992244A (en) The control method and terminal device of a kind of application program
CN111596845A (en) Display control method and device and electronic equipment
CN108279950A (en) A kind of application program launching method and mobile terminal
CN110456953A (en) Folder interface switching method and terminal equipment
CN111273993B (en) Icon arrangement method and electronic equipment
US12189916B2 (en) Icon displaying method and terminal device
CN108234774A (en) The method for down loading and terminal of a kind of application program
WO2021129536A1 (en) Icon moving method and electronic device
CN110209369A (en) A kind of interface display method and terminal device
CN110244884A (en) A kind of desktop icon management method and terminal device
CN108446058A (en) A kind of operating method and mobile terminal of mobile terminal
CN110502878A (en) A kind of application permission setting method and terminal device
CN110058754A (en) A kind of option display method and terminal device
CN108491130A (en) A kind of application programe switch-over method and mobile terminal
CN111399715A (en) Interface display method and electronic equipment
CN110489045A (en) Object display method and terminal device
CN110069305A (en) A kind of screen interface switching method and terminal device
CN109085963A (en) A kind of interface display method and terminal device
CN109901760B (en) Object control method and terminal device
CN111352547A (en) Display method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191126