[go: up one dir, main page]

CN108811177A - A kind of communication means and terminal - Google Patents

A kind of communication means and terminal Download PDF

Info

Publication number
CN108811177A
CN108811177A CN201810533340.9A CN201810533340A CN108811177A CN 108811177 A CN108811177 A CN 108811177A CN 201810533340 A CN201810533340 A CN 201810533340A CN 108811177 A CN108811177 A CN 108811177A
Authority
CN
China
Prior art keywords
terminal
target object
input
area
request message
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.)
Granted
Application number
CN201810533340.9A
Other languages
Chinese (zh)
Other versions
CN108811177B (en
Inventor
马明月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201810533340.9A priority Critical patent/CN108811177B/en
Publication of CN108811177A publication Critical patent/CN108811177A/en
Application granted granted Critical
Publication of CN108811177B publication Critical patent/CN108811177B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明提供了一种数据传输方法及终端,该方法包括:接收用户的第一输入,所述第一输入用于将目标对象从第一区域移动至第二区域;响应于所述第一输入,将包括所述目标对象的第一请求消息发送至第二终端;其中,所述第一终端与所述第二终端之间已建立第一通信通道,所述第一通信通道为与所述第二区域关联的通信通道。本发明实施例中,第一终端用户只需要将目标对象从第一区域移动到第二区域,就可以发出目标对象的传输请求,不需要另外打开传输应用,也不需要查找传输应用的发送框,操作非常便捷。

The present invention provides a data transmission method and a terminal. The method includes: receiving a first input from a user, the first input being used to move a target object from a first area to a second area; responding to the first input , sending the first request message including the target object to the second terminal; wherein, a first communication channel has been established between the first terminal and the second terminal, and the first communication channel is with the The communication channel associated with the second zone. In the embodiment of the present invention, the first terminal user only needs to move the target object from the first area to the second area, and can send the transfer request of the target object without opening the transfer application or searching the sending box of the transfer application , the operation is very convenient.

Description

一种通信方法及终端A communication method and terminal

技术领域technical field

本发明实施例涉及通信领域,尤其涉及一种通信方法及终端。The embodiments of the present invention relate to the communication field, and in particular, to a communication method and a terminal.

背景技术Background technique

随着终端技术的发展,终端得到越来越多的应用,终端之间的通信也越来越频繁。With the development of terminal technology, more and more terminals are used, and communication between terminals becomes more and more frequent.

现有技术中,第一终端和第二终端之间进行通信时,例如第一终端向第二终端发送目标对象时,第一终端通常需要与第二终端安装有相同的通信应用,第一终端打开该通信应用,找到该通信应用的目标对象发送框,将目标对象移动到该通信应用的发送框,然后,第二终端打开该通信应用,找到该通信应用的目标对象接收框,在接收框中接收目标对象。In the prior art, when communicating between a first terminal and a second terminal, for example, when the first terminal sends a target object to the second terminal, the first terminal usually needs to install the same communication application as the second terminal, and the first terminal Open the communication application, find the sending frame of the target object of the communication application, move the target object to the sending frame of the communication application, then, the second terminal opens the communication application, find the receiving frame of the target object of the communication application, and place the target object in the receiving frame Receive target objects in .

申请人发现上述技术方案存在如下缺点:当第一终端向第二终端发送目标对象时,第一终端和第二终端必须首先打开通信应用,然后再通过通信应用的发送框和接收框完成目标对象的传输,操作非常繁琐。The applicant found that the above technical solution has the following disadvantages: when the first terminal sends the target object to the second terminal, the first terminal and the second terminal must first open the communication application, and then complete the target object through the sending box and receiving box of the communication application transmission, the operation is very cumbersome.

发明内容Contents of the invention

本发明实施例提供一种通信方法及终端,以解决终端间通信时操作繁琐的问题。Embodiments of the present invention provide a communication method and a terminal to solve the problem of cumbersome operations during communication between terminals.

为了解决上述技术问题,本发明实施例提供了一种通信方法,应用于第一终端,所述方法包括:In order to solve the above technical problems, an embodiment of the present invention provides a communication method, which is applied to a first terminal, and the method includes:

接收用户的第一输入,所述第一输入用于将目标对象从第一区域移动至第二区域;receiving a first input from a user for moving a target object from a first area to a second area;

响应于所述第一输入,将包括所述目标对象的第一请求消息发送至第二终端;in response to the first input, sending a first request message including the target object to a second terminal;

其中,所述第一终端与所述第二终端之间已建立第一通信通道,所述第一通信通道为与所述第二区域关联的通信通道。Wherein, a first communication channel has been established between the first terminal and the second terminal, and the first communication channel is a communication channel associated with the second area.

第一方面,本发明实施例还提供了一种通信方法,应用于第二终端,所述方法包括:In the first aspect, an embodiment of the present invention further provides a communication method, which is applied to a second terminal, and the method includes:

接收第一终端发送的第一请求消息,所述第一请求消息包括目标对象;receiving a first request message sent by a first terminal, where the first request message includes a target object;

显示所述第一请求消息;displaying the first request message;

接收用户在第三区域中的第二输入;receiving a second input from the user in the third area;

响应于所述第二输入,执行与所述目标对象对应的预设操作;executing a preset operation corresponding to the target object in response to the second input;

其中,所述目标对象为所述第一终端用户将目标对象从所述第一终端的第一区域移动至所述第一终端的第二区域的第一输入所触发发送的对象;所述第三区域为所述第二终端的与所述第二区域对应位置的区域;其中,所述第一终端与所述第二终端之间已建立第一通信通道,所述第一通信通道为与所述第二区域关联的通信通道。Wherein, the target object is an object triggered by the first input of the first terminal user moving the target object from the first area of the first terminal to the second area of the first terminal; the first The third area is the area corresponding to the second area of the second terminal; wherein, a first communication channel has been established between the first terminal and the second terminal, and the first communication channel is with the second terminal. The communication channel associated with the second area.

第二方面,本发明实施例还提供了一种第一终端,所述第一终端包括:In a second aspect, an embodiment of the present invention further provides a first terminal, where the first terminal includes:

第一输入接收模块,用于接收用户的第一输入,所述第一输入用于将目标对象从第一区域移动至第二区域;A first input receiving module, configured to receive a first input from a user, and the first input is used to move the target object from the first area to the second area;

第一输入响应模块,用于响应于所述第一输入,将包括所述目标对象的第一请求消息发送至第二终端;其中,所述第一终端与所述第二终端之间已建立第一通信通道,所述第一通信通道为与所述第二区域关联的通信通道。A first input response module, configured to send a first request message including the target object to a second terminal in response to the first input; wherein, an established relationship between the first terminal and the second terminal A first communication channel, where the first communication channel is a communication channel associated with the second area.

第三方面,本发明实施例还提供了一种第二终端,所述第二终端包括:In a third aspect, an embodiment of the present invention further provides a second terminal, where the second terminal includes:

第一请求消息接收模块,用于接收第一终端发送的第一请求消息,所述第一请求消息包括目标对象;A first request message receiving module, configured to receive a first request message sent by a first terminal, where the first request message includes a target object;

显示模块,用于显示所述第一请求消息;a display module, configured to display the first request message;

第二输入接收模块,用于接收用户在第三区域中的第二输入;a second input receiving module, configured to receive a second input from the user in the third area;

第二输入响应模块,用于响应于所述第二输入,执行与所述目标对象对应的预设操作;其中,所述目标对象为所述第一终端用户将目标对象从所述第一终端的第一区域移动至所述第一终端的第二区域的第一输入所触发发送的对象;所述第三区域为所述第二终端的与所述第二区域对应位置的区域;其中,所述第一终端与所述第二终端之间已建立第一通信通道,所述第一通信通道为与所述第二区域关联的通信通道。A second input response module, configured to execute a preset operation corresponding to the target object in response to the second input; wherein the target object is the first terminal user transferring the target object from the first terminal The first area of the first terminal moves to the object triggered by the first input of the second area of the first terminal; the third area is the area corresponding to the second area of the second terminal; wherein, A first communication channel has been established between the first terminal and the second terminal, and the first communication channel is a communication channel associated with the second area.

第四方面,本发明实施例另外还提供了一种第一终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现前述的通信方法的步骤。In the fourth aspect, the embodiment of the present invention further provides a first terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor, the computer program being controlled by the The processor implements the steps of the aforementioned communication method when executed.

第五方面,本发明实施例另外还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现前述的第一终端的通信方法的步骤。In the fifth aspect, the embodiment of the present invention further 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 aforementioned first terminal communication method is implemented. A step of.

第六方面,本发明实施例另外还提供了一种第二终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现前述的通信方法的步骤。In the sixth aspect, the embodiment of the present invention further provides a second terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor, the computer program being controlled by the The processor implements the steps of the aforementioned communication method when executed.

第七方面,本发明实施例另外还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现前述的第二终端的通信方法的步骤。In the seventh aspect, the embodiment of the present invention further 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 aforementioned second terminal communication method is implemented. A step of.

在本发明实施例中,在第一终端和第二终端之间预先建立与第二区域关联的第一通信通道,当第一终端希望给第二终端发送目标对象时,第一终端用户只需要将目标对象从终端的第一区域移动至第二区域,第一终端就可以将包括目标对象的第一请求消息发送给第二终端。本发明实施例中,第一终端用户只需要将目标对象从第一区域移动到第二区域,就可以发出目标对象的传输请求,不需要另外打开传输应用,也不需要查找传输应用的发送框,操作非常便捷。In the embodiment of the present invention, the first communication channel associated with the second area is pre-established between the first terminal and the second terminal. When the first terminal wishes to send a target object to the second terminal, the first terminal user only needs to After moving the target object from the first area of the terminal to the second area, the first terminal can send the first request message including the target object to the second terminal. In the embodiment of the present invention, the first terminal user only needs to move the target object from the first area to the second area, and can send the transfer request of the target object without opening the transfer application or searching the sending box of the transfer application , the operation is very convenient.

附图说明Description of drawings

图1是本发明实施例的一种通信方法的步骤流程图;FIG. 1 is a flowchart of steps of a communication method according to an embodiment of the present invention;

图2是本发明实施例的一种通信方法的具体步骤流程图;FIG. 2 is a flowchart of specific steps of a communication method according to an embodiment of the present invention;

图3是本发明实施例的一种第一终端屏幕的示意图;FIG. 3 is a schematic diagram of a first terminal screen according to an embodiment of the present invention;

图4是本发明实施例的一种通信通道建立触发操作的示意图;FIG. 4 is a schematic diagram of a communication channel establishment trigger operation according to an embodiment of the present invention;

图5是本发明实施例的另一种通信方法的步骤流程图;FIG. 5 is a flowchart of steps of another communication method according to an embodiment of the present invention;

图6是本发明实施例的一种第三区域位置示意图;Fig. 6 is a schematic diagram of a location of a third area according to an embodiment of the present invention;

图7是本发明实施例的一种多终端通信示意图;FIG. 7 is a schematic diagram of multi-terminal communication according to an embodiment of the present invention;

图8是本发明终端实施例的一种通信终端的结构框图;FIG. 8 is a structural block diagram of a communication terminal according to a terminal embodiment of the present invention;

图9是本发明终端实施例的另一种通信终端的结构框图;FIG. 9 is a structural block diagram of another communication terminal according to the terminal embodiment of the present invention;

图10是本发明实施例的一种移动终端的结构框图。Fig. 10 is a structural block diagram of a mobile terminal according to 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.

参照图1,示出了本发明实施例中的一种通信方法的步骤流程图。该方法应用于第一终端,该方法具体步骤包括:Referring to FIG. 1 , it shows a flowchart of steps of a communication method in an embodiment of the present invention. The method is applied to the first terminal, and the specific steps of the method include:

步骤101:接收用户的第一输入,所述第一输入用于将目标对象从第一区域移动至第二区域。Step 101: Receive a first input from a user, the first input is used to move a target object from a first area to a second area.

步骤102:响应于所述第一输入,将包括所述目标对象的第一请求消息发送至第二终端;其中,所述第一终端与所述第二终端之间已建立第一通信通道,所述第一通信通道为与所述第二区域关联的通信通道。Step 102: In response to the first input, sending a first request message including the target object to a second terminal; wherein, a first communication channel has been established between the first terminal and the second terminal, The first communication channel is a communication channel associated with the second area.

本发明实施例中,第一终端作为发送端,第二终端作为接收端,第一终端和第二终端的具体形式可以是手机、电脑、电子阅读设备等,本发明实施例对第一终端和第二终端不做具体限定。In the embodiment of the present invention, the first terminal is used as the sending end, and the second terminal is used as the receiving end. The specific forms of the first terminal and the second terminal can be mobile phones, computers, electronic reading devices, etc. The second terminal is not specifically limited.

具体应用中,第一终端和第二终端之间预先可以建立第一通信通道,例如,第一终端可以通过蓝牙、NFC(near field communication,近距离无线通信)等与第二终端建立通信连接,第一终端用户在第二区域执行可以触发建立第一通信通道的操作,比如在第二区域滑动预设轨迹、或在第二区域叩击预设次数等等,第二终端回应第一终端的第一通信通道建立请求后,则在第一终端与第二终端之间建立起与第二区域关联的第一通信通道。In a specific application, a first communication channel may be established in advance between the first terminal and the second terminal, for example, the first terminal may establish a communication connection with the second terminal through Bluetooth, NFC (near field communication, short-distance wireless communication), etc. The first terminal user performs an operation in the second area that can trigger the establishment of the first communication channel, such as sliding a preset track in the second area, or tapping a preset number of times in the second area, etc., and the second terminal responds to the first terminal's After the first communication channel establishment request, the first communication channel associated with the second area is established between the first terminal and the second terminal.

具体应用中,第一区域可以是第一终端屏幕上的任意区域,第二区域也可以是第一终端屏幕上的任意区域,第一区域和第二区域不发生重叠,第一区域和第二区域的具体范围可以根据实际应用场景进行设定,本发明实施例不做具体限制。In a specific application, the first area can be any area on the screen of the first terminal, and the second area can also be any area on the screen of the first terminal. The first area and the second area do not overlap. The first area and the second area The specific range of the area can be set according to the actual application scenario, and is not specifically limited in this embodiment of the present invention.

本发明实施例中,如果在第一终端中接收到用户的第一输入,具体可以是用户将目标对象从第一终端的第一区域移动到第二区域,可以认为第一终端的用户希望将目标对象发送给第二终端,则第一终端可以将包括目标对象的第一请求消息发送给第二终端,第二终端接收到第一请求消息,就可以进一步响应第一请求消息,实现与第一终端的通信。In this embodiment of the present invention, if the user's first input is received in the first terminal, specifically, the user moves the target object from the first area of the first terminal to the second area, it can be considered that the user of the first terminal wishes to move the If the target object is sent to the second terminal, then the first terminal can send the first request message including the target object to the second terminal, and the second terminal can further respond to the first request message after receiving the first request message, so as to realize the connection with the second terminal. One-to-one communications.

具体应用中,目标对象可以是待传输的文件、压缩包、用于执行预设功能的指令等等,本发明实施例对目标对象的具体形式不做限定。In a specific application, the target object may be a file to be transferred, a compressed package, an instruction for executing a preset function, etc. The embodiment of the present invention does not limit the specific form of the target object.

本发明实施例中,在第一终端和第二终端之间预先建立与第二区域关联的第一通信通道,当第一终端希望给第二终端发送目标对象时,第一终端用户只需要将目标对象从终端的第一区域移动至第二区域,第一终端就可以将包括目标对象的第一请求消息发送给第二终端。本发明实施例中,第一终端用户只需要将目标对象从第一区域移动到第二区域,就可以发出目标对象的传输请求,不需要另外打开传输应用,也不需要查找传输应用的发送框,操作非常便捷。In the embodiment of the present invention, the first communication channel associated with the second area is pre-established between the first terminal and the second terminal. When the first terminal wishes to send the target object to the second terminal, the first terminal user only needs to send the When the target object moves from the first area of the terminal to the second area, the first terminal may send the first request message including the target object to the second terminal. In the embodiment of the present invention, the first terminal user only needs to move the target object from the first area to the second area, and can send the transfer request of the target object without opening the transfer application or searching the sending box of the transfer application , the operation is very convenient.

参照图2,示出了本发明实施例中的一种通信方法的具体步骤流程图。该方法应用于第一终端,该方法具体步骤包括:Referring to FIG. 2 , it shows a flow chart of specific steps of a communication method in an embodiment of the present invention. The method is applied to the first terminal, and the specific steps of the method include:

步骤201:接收用户选择第二区域的第二输入。Step 201: Receive a second input from a user selecting a second area.

步骤202:响应于所述第二输入,将第二请求消息发送至服务器,所述第二请求消息为建立第一通信通道的请求消息。Step 202: In response to the second input, send a second request message to the server, where the second request message is a request message for establishing a first communication channel.

本发明实施例中,第一终端和第二终端可以同时开启蓝牙、NFC等通信模块,使得支持蓝牙、NFC通信的服务器,通过通信模块可以与第一终端和第二终端进行通信,具体应用中,NFC传输距离极短,建立连接速度快,且通过NFC可以在两个终端之间传输应用,因此服务器优选的可以通过NFC建立第一终端和第二终端的通信连接。In the embodiment of the present invention, the first terminal and the second terminal can simultaneously turn on communication modules such as Bluetooth and NFC, so that the server supporting Bluetooth and NFC communication can communicate with the first terminal and the second terminal through the communication module. In specific applications , the transmission distance of NFC is very short, the connection establishment speed is fast, and the application can be transmitted between two terminals through NFC, so the server can preferably establish the communication connection between the first terminal and the second terminal through NFC.

本发明实施例中,用户选择第二区域以触发第一终端与第二终端之间的第一通信通道建立。具体应用中,用户选择第二区域的第二输入可以是,用户将建立通信通道的对象拖动到第二区域,例如,用户将NFC建立指令或蓝牙建立指令等拖动到第二区域;用户选择第二区域的第二输入还可以是,用户在第一终端的屏幕上做出预设动作圈选出第二区域,例如滑动圆形轨迹、方形轨迹等。本发明实施例对第二输入的具体形式不做限定。In the embodiment of the present invention, the user selects the second area to trigger establishment of the first communication channel between the first terminal and the second terminal. In a specific application, the second input for the user to select the second area may be that the user drags an object for establishing a communication channel to the second area, for example, the user drags an NFC establishment instruction or a Bluetooth establishment instruction, etc. to the second area; The second input for selecting the second area may also be that the user makes a preset action on the screen of the first terminal to select the second area, such as sliding a circular track, a square track, and the like. The embodiment of the present invention does not limit the specific form of the second input.

本发明实施例中,当接收到用户在第二区域的第二输入后,第一终端将用于请求建立第一通信通道的第二请求消息发送给服务器。在本发明实施例的一种应用场景中,第二请求消息可以包括第二终端的终端标识,例如第二终端的设备标识号、通信地址号等,通过第二请求消息,服务器可以确定出第一终端希望进行通信的第二终端,将第二请求消息发送给第二终端。在本发明实施例的另一种应用场景中,第二请求消息可以包括第一终端的终端标识,服务器在接收到第二请求消息后,可以自行搜索第二终端,将该第二请求消息发送给搜索到的第二终端。可以理解,本领域技术人员还可以根据实际应用场景,确定第二请求消息的具体形式,本发明实施例对此不作限定。In the embodiment of the present invention, after receiving the second input from the user in the second area, the first terminal sends a second request message for requesting establishment of the first communication channel to the server. In an application scenario of the embodiment of the present invention, the second request message may include the terminal identifier of the second terminal, such as the device identification number and communication address number of the second terminal, and the server may determine the second terminal through the second request message. A second terminal that a terminal wants to communicate with sends a second request message to the second terminal. In another application scenario of the embodiment of the present invention, the second request message may include the terminal identifier of the first terminal, and after receiving the second request message, the server may search for the second terminal by itself and send the second request message to to the second terminal found. It can be understood that those skilled in the art may also determine the specific form of the second request message according to the actual application scenario, which is not limited in this embodiment of the present invention.

步骤203:在接收到第二终端发送的反馈消息的情况下,建立与所述第二终端之间的第一通信通道。Step 203: Establishing a first communication channel with the second terminal when the feedback message sent by the second terminal is received.

本发明实施例中,服务器在接收到第一终端的第二请求消息后,将第二请求消息发送至第二终端,则第二终端可以针对给第二请求消息发出反馈消息,例如,第二终端如果接受第一终端建立第一通信通道的请求,则第二终端会发出反馈消息,表示同意建立第一通信通道;相应的,第二终端如果不接受第一终端建立第一通信通道的请求,则第二终端可以不发出反馈消息。在接收到第二终端发送的反馈消息的情况下,可以在第一终端建立与第二终端之间的第一通信通道。In the embodiment of the present invention, after receiving the second request message from the first terminal, the server sends the second request message to the second terminal, and the second terminal can send a feedback message to the second request message, for example, the second If the terminal accepts the first terminal’s request to establish the first communication channel, the second terminal will send a feedback message indicating that it agrees to establish the first communication channel; correspondingly, if the second terminal does not accept the first terminal’s request to establish the first communication channel , the second terminal may not send a feedback message. In a case of receiving the feedback message sent by the second terminal, a first communication channel with the second terminal may be established between the first terminal and the second terminal.

本发明实施例中,通过步骤201至步骤203,在第一终端和第二终端之间建立起与第二区域关联的第一通信通道,之后,第一终端就可以通过该第一通信通道与第二终端之间进行简单、快捷的通信。In the embodiment of the present invention, through steps 201 to 203, a first communication channel associated with the second area is established between the first terminal and the second terminal, and then the first terminal can communicate with Simple and quick communication between the second terminals.

作为本发明实施例的一种优选方案,以通过NFC建立通信通道为例,还可以在NFC可支持通信的空间范围内,在多个终端中实现多通道通信,具体如图7所示,在本发明实施例中,任一终端都可以同时作为发送端,和/或,接收端。As a preferred solution of the embodiment of the present invention, taking the establishment of a communication channel through NFC as an example, it is also possible to implement multi-channel communication in multiple terminals within the spatial range where NFC can support communication, as shown in Figure 7, in In this embodiment of the present invention, any terminal can serve as a sending end and/or a receiving end at the same time.

如图7所示,假设有五个终端:终端A、终端B、终端C、终端D、终端E。该五个终端同时都可以既作为发送端,也作为接收端。As shown in FIG. 7 , it is assumed that there are five terminals: terminal A, terminal B, terminal C, terminal D, and terminal E. The five terminals can all serve as the sending end and the receiving end at the same time.

具体应用中,在一定范围内,终端A至终端E可以同时开启NFC,分别向服务器发起建立不同通信通道的请求消息;则服务器可以在终端A至终端E中分别建立群连接,将终端A至终端E都利用NFC连接在一起,以便于进行后续的目标对象传输操作。可以理解,如果还存在新的未加入该群连接的移动终端,对于该新的未加入该群连接的移动终端而言,可以开启NFC即可加入该群连接。In a specific application, within a certain range, terminal A to terminal E can enable NFC at the same time, and send request messages to the server to establish different communication channels; The terminals E are all connected together by NFC, so as to facilitate subsequent target object transmission operations. It can be understood that if there is a new mobile terminal that has not joined the group connection, for the new mobile terminal that has not joined the group connection, NFC can be turned on to join the group connection.

在每个终端中都可以建立多通信通道,每个通信通道对应终端屏幕中不同的区域,如图7所示,共有六个通信通道:通道一41、通道二42、通道三43、通道四44、通道五45、通道六46;各通信通道在终端中具有相呼应的位置,建立了相同通信通道的终端之间可以进行关于目标对象的通信。Multiple communication channels can be established in each terminal, and each communication channel corresponds to a different area in the terminal screen, as shown in Figure 7, there are six communication channels in total: channel one 41, channel two 42, channel three 43, and channel four 44, channel five 45, channel six 46; each communication channel has a corresponding position in the terminal, and terminals that have established the same communication channel can communicate with each other about the target object.

具体应用中,当终端用户需要向不同的通信通道发送相同或者不同的目标对象时,只需要将目标对象拖动到该通信通道对应的区域,即可触发目标对象的传输,本发明实施例中通过一次拖动操作即可实现目标对象的传输触发,操作非常便捷。In a specific application, when a terminal user needs to send the same or different target objects to different communication channels, it only needs to drag the target object to the area corresponding to the communication channel to trigger the transmission of the target object. In the embodiment of the present invention The transmission trigger of the target object can be realized by one drag operation, and the operation is very convenient.

举例来说,如图7所示,终端A中建立了:通道一41、通道二42、通道三43、通道四44;终端B中建立了:通道一41、通道六46;终端C中建立了:通道二42、通道三43、通道四44;终端D中建立了:通道一41、通道四44、通道五45、通道六46;终端E中建立了:通道一41、通道三43、通道五45。For example, as shown in Figure 7, the following channels are established in terminal A: channel one 41, channel two 42, channel three 43, and channel four 44; terminal B establishes channel one 41 and channel six 46; terminal C establishes Channel two 42, channel three 43, channel four 44; established in terminal D: channel one 41, channel four 44, channel five 45, channel six 46; terminal E established: channel one 41, channel three 43, Channel five:45.

则终端A和终端B可以通过通道一41互相通信;终端B和终端C不能通信;终端C和终端D可以通过通道四44相互通信;终端D和终端E可以通过通道一41、通道五45相互通信;终端E和终端A可以通过通道一41和通道三43相互通信;终端A和终端C可以通过通道二42、通道三43、通道四44相互通信;终端A和终端D可以通过通道一41和通道四44相互通信;终端B和终端D可以通过通道一41、通道六46相互通信;终端B和终端E可以通过通道一41相互通信;终端C和终端E可以通过通道三43相互通信。Then terminal A and terminal B can communicate with each other through channel one 41; terminal B and terminal C cannot communicate with each other; terminal C and terminal D can communicate with each other through channel four 44; terminal D and terminal E can communicate with each other through channel one 41 and channel five 45 Communication; terminal E and terminal A can communicate with each other through channel one 41 and channel three 43; terminal A and terminal C can communicate with each other through channel two 42, channel three 43, and channel four 44; terminal A and terminal D can communicate through channel one 41 Communicate with channel four 44; terminal B and terminal D can communicate with each other through channel one 41 and channel six 46; terminal B and terminal E can communicate with each other through channel one 41; terminal C and terminal E can communicate with each other through channel three 43.

终端A至终端E中的多通信通道建立后,终端A至终端E的任意一个,可以选择目标对象,发起将目标对象从第一区域移动到任一通信通道的发送请求;终端A至终端E的任意一个,也可以在任一通信通道根据显示的发送请求,输入希望进行目标对象传输的预设轨迹,以实现对目标对象的传输;终端A至终端E的任意一个,也可以在任一通信通道根据显示的发送请求,输入不希望进行目标对象传输的预设轨迹,以关闭该通信通道;具体应用中,终端A至终端E的任意一个终端用户,还可以将手掌覆盖大与百分之五十终端屏幕的面积,直接关闭该终端上的所有通信通道,即通过非常简单的操作实现对所有通信通道的快速关闭。可以理解,本发明实施例只是一种实现方式,该实现方式用于解释本发明,而不是限定本发明。After the multi-communication channel between terminal A and terminal E is established, any one of terminal A to terminal E can select the target object and initiate a sending request to move the target object from the first area to any communication channel; terminal A to terminal E Any one of the target objects can also be input in any communication channel according to the displayed sending request, so as to realize the transmission of the target object; any one of terminal A to terminal E can also be used in any communication channel According to the displayed sending request, input the preset trajectory that does not want to transmit the target object to close the communication channel; in specific applications, any terminal user from terminal A to terminal E can also cover the palm of the hand with a maximum of 5%. Ten terminal screen area, directly close all communication channels on the terminal, that is, realize quick closing of all communication channels through a very simple operation. It can be understood that the embodiment of the present invention is only an implementation manner, and the implementation manner is used to explain the present invention rather than limit the present invention.

本发明实施例可以实现多终端多通道的关于目标对象的通信,可操作性强,使终端之间能同时通过多通道进行目标对象的传输,操作简便快捷。The embodiment of the present invention can realize multi-terminal and multi-channel communication about the target object, and has strong operability, so that the terminals can transmit the target object through multiple channels at the same time, and the operation is simple and fast.

步骤204:接收用户的第一输入,所述第一输入用于将目标对象从第一区域移动至第二区域。Step 204: Receive a first input from the user, the first input is used to move the target object from the first area to the second area.

作为本发明实施例的一种优选方案,所述第一区域和所述第二区域分别位于同一个显示屏的不同的区域;或者,所述第一终端包括第一屏和第二屏,所述第一区域位于所述第一屏的显示区,且所述第二区域位于所述第二屏的显示区。As a preferred solution of the embodiment of the present invention, the first area and the second area are respectively located in different areas of the same display screen; or, the first terminal includes a first screen and a second screen, so The first area is located in the display area of the first screen, and the second area is located in the display area of the second screen.

在本发明实施例的一种应用场景中,第一终端可以是单面屏终端,也即第一终端只具有一个显示屏的终端,第一区域和第二区域是位于同一个显示屏的不同区域。用户可以将目标对象从一个显示屏的第一区域移动到第二区域。In an application scenario of the embodiment of the present invention, the first terminal may be a single-screen terminal, that is, the first terminal has only one display screen, and the first area and the second area are different screens located on the same display screen. area. A user may move a target object from a first area to a second area of a display screen.

在本发明实施例的另一种应用场景中,第一终端也可以是双面屏终端,双面屏终端通常具有正面屏和背面屏,正面屏和背面屏可以独立运行不同的应用。如图3所示,本发明实施例的第一屏20可以对应于正面屏,第二屏21可以对应于背面屏。第一屏20中,通常对应有多个目标对象,用户可以将第一屏中的目标对象移动到第二屏的第二区域,如图4所示,用户的第一输入可以是,将目标对象从第一区域23移动到第二区域24。In another application scenario of the embodiment of the present invention, the first terminal may also be a double-sided screen terminal. The double-sided screen terminal usually has a front screen and a back screen, and the front screen and the back screen can run different applications independently. As shown in FIG. 3 , the first screen 20 in the embodiment of the present invention may correspond to the front screen, and the second screen 21 may correspond to the rear screen. In the first screen 20, usually there are a plurality of target objects, the user can move the target object in the first screen to the second area of the second screen, as shown in Figure 4, the first input of the user can be to move the target object The object moves from the first area 23 to the second area 24 .

本发明实施例中,由于第二区域在第一终端的第二屏,因此,后续的目标对象的传输只是在第一终端的第二屏进行,不会对用户在第一屏的操作造成任何影响,避免了传输目标对象时对用户使用正面屏造成的干扰。相较于现有技术中,背面屏通常被用作电子书阅读界面,正面屏作为双面屏移动终端的主要操作屏,本发明实施例对双面屏终端的第一屏和第二屏的使用有创造性的改进。In the embodiment of the present invention, since the second area is on the second screen of the first terminal, the subsequent transmission of the target object is only performed on the second screen of the first terminal, and will not cause any impact on the user's operation on the first screen. Influence, avoiding the interference caused by the user's use of the front screen when transmitting the target object. Compared with the prior art, the back screen is usually used as the e-book reading interface, and the front screen is used as the main operation screen of the double-sided screen mobile terminal. Use creative improvements.

作为本发明实施例的一种优选方案,所述目标对象为文件或用于执行预设功能的指令。As a preferred solution of the embodiment of the present invention, the target object is a file or an instruction for executing a preset function.

本发明实施例中,目标对象可以是文件或用于执行预设功能的指令。具体应用中,文件可以具体为图片、文档等,当目标对象为文件时,第一终端和第二终端可以进行文件传输;用于执行预设功能的指令具体可以是执行建立群聊功能的指令、执行收付款功能的指令、执行应用安装的指令等,当目标对象为用于执行预设功能的指令时,第一终端可以请求与第二终端之间执行预设功能,例如第一终端可以请求与第二终端之间建群、收付款或安装应用等。可以理解,本领域技术人员还可以根据实际应用场景确定目标对象的具体形式,本发明实施例对此不做具体限定。In the embodiment of the present invention, the target object may be a file or an instruction for executing a preset function. In a specific application, the file may specifically be a picture, a document, etc. When the target object is a file, the first terminal and the second terminal may perform file transfer; the instruction for executing the preset function may specifically be an instruction for executing a group chat function , an instruction to execute a payment function, an instruction to install an application, etc., when the target object is an instruction for executing a preset function, the first terminal may request to execute a preset function with the second terminal, for example, the first terminal may Request to establish a group, receive and pay, or install applications with the second terminal. It can be understood that those skilled in the art may also determine the specific form of the target object according to the actual application scenario, which is not specifically limited in this embodiment of the present invention.

步骤205:在所述第二区域,显示所述第一通信通道对应的第一通道标识。Step 205: In the second area, display the first channel identifier corresponding to the first communication channel.

本发明实施例中,在第二区域建立第一通信通道后,为了清楚的提示用户第一通信通道的内容,在第二区域中显示第一通信通道对应的第一通道标识。具体应用中,第一通道标识可以根据对应目标对象的具体内容确定,例如,若目标对象为执行建立群聊功能的指令,则该第一通信通道标识可以是该群聊的常用标识;若目标对象为执行收付款功能的指令,则该第一通信通道标识可以是该收付款的常用标识;若目标对象为执行应用安装的指令,则该第一通信通道标识可以是该应用的常用标识。可以理解,本领域技术人员还可以根据实际应用场景,将自然数、中英文字符等作为第一通信通道标识,本发明实施例对此不作具体限定。In the embodiment of the present invention, after the first communication channel is established in the second area, in order to clearly remind the user of the content of the first communication channel, the first channel identifier corresponding to the first communication channel is displayed in the second area. In a specific application, the first channel identifier can be determined according to the specific content of the corresponding target object. For example, if the target object is an instruction to execute the function of establishing a group chat, the first communication channel identifier can be a common identifier of the group chat; if the target If the object is an instruction to execute payment and payment functions, the first communication channel identifier may be a common identifier of the payment and payment; if the target object is an instruction to execute application installation, then the first communication channel identifier may be a common identifier of the application. It can be understood that those skilled in the art may also use natural numbers, Chinese and English characters, etc. as the first communication channel identifier according to actual application scenarios, which is not specifically limited in this embodiment of the present invention.

步骤206:响应于所述第一输入,将包括所述目标对象和所述第一通道标识的第一请求消息发送至所述第二终端。Step 206: In response to the first input, send a first request message including the target object and the first channel identifier to the second terminal.

本发明实施例中,第一请求消息中包括目标对象和第一通道标识,使得第二终端在不仅可以通过第一通道标识,知晓第一终端所要传输的目标对象的内容,还可以在同意与第一终端进行目标对象传输时,直接从第一请求消息中获取目标对象,从而提升第一终端和第二终端进行目标对象传输的效率。In the embodiment of the present invention, the first request message includes the target object and the first channel identifier, so that the second terminal can not only know the content of the target object to be transmitted by the first terminal through the first channel identifier, but also can agree with When transmitting the target object, the first terminal directly obtains the target object from the first request message, thereby improving the efficiency of target object transmission between the first terminal and the second terminal.

综上所述,本发明实施例中,在第一终端和第二终端之间预先建立与第二区域关联的第一通信通道,当第一终端希望给第二终端发送目标对象时,第一终端用户只需要将目标对象从终端的第一区域移动至第二区域,第一终端就可以将包括目标对象的第一请求消息发送给第二终端。本发明实施例中,第一终端用户只需要将目标对象从第一区域移动到第二区域,就可以发出目标对象的传输请求,不需要另外打开传输应用,也不需要查找传输应用的发送框,操作非常便捷。To sum up, in the embodiment of the present invention, the first communication channel associated with the second area is pre-established between the first terminal and the second terminal. When the first terminal wishes to send a target object to the second terminal, the first The terminal user only needs to move the target object from the first area of the terminal to the second area, and the first terminal can send the first request message including the target object to the second terminal. In the embodiment of the present invention, the first terminal user only needs to move the target object from the first area to the second area, and can send the transfer request of the target object without opening the transfer application or searching the sending box of the transfer application , the operation is very convenient.

参照图5,示出了本发明实施例中的一种通信方法的步骤流程图。该方法应用于第二终端,该方法具体步骤包括:Referring to FIG. 5 , it shows a flowchart of steps of a communication method in an embodiment of the present invention. The method is applied to the second terminal, and the specific steps of the method include:

步骤301:接收第一终端发送的第一请求消息,所述第一请求消息包括目标对象。Step 301: Receive a first request message sent by a first terminal, where the first request message includes a target object.

本发明实施例中,第一终端和第二终端之间预先可以建立与第二区域关联的第一通信通道,目标对象为第一终端用户发起的第一输入所对应的目标对象,具体可以是第一终端用户将目标对象从第一区域移动到第二区域的第一输入所触发发送的对象。第一终端和第二终端之间预先建立与第二区域关联的第一通信通道的具体方法、以及第一终端发送第一请求消息的具体步骤在前述实施例中有详细记载,在此不再赘述。In this embodiment of the present invention, a first communication channel associated with the second area may be established between the first terminal and the second terminal in advance, and the target object is the target object corresponding to the first input initiated by the first terminal user, which may specifically be The sending of the object is triggered by a first input by the first end user of moving the target object from the first area to the second area. The specific method for pre-establishing the first communication channel associated with the second area between the first terminal and the second terminal, and the specific steps for the first terminal to send the first request message are described in detail in the foregoing embodiments, and will not be repeated here repeat.

具体应用中,第二终端可以通过第一通信通道接收第一终端发送的第一请求消息,第一请求消息可以包括目标对象。In a specific application, the second terminal may receive the first request message sent by the first terminal through the first communication channel, and the first request message may include the target object.

步骤302:显示所述第一请求消息。Step 302: Display the first request message.

本发明实施例中,第一请求消息中包括目标对象,显示第一请求消息的具体实现可以是:显示目标对象的目标对象标识,使得第二终端可以通过显示的第一请求消息,知晓第一终端请求传输的目标对象的内容。可以理解,本领域技术人员还可以根据实际情况,设定显示第一请求消息的具体方式,本发明实施例对此不做具体限定。In the embodiment of the present invention, the first request message includes the target object, and the specific implementation of displaying the first request message may be: displaying the target object identifier of the target object, so that the second terminal can know the first request message through the displayed first request message. The content of the target object that the terminal requests to transfer. It can be understood that those skilled in the art may also set a specific manner of displaying the first request message according to actual conditions, which is not specifically limited in this embodiment of the present invention.

步骤303:接收用户在第三区域中的第二输入。Step 303: Receive a second input from the user in the third area.

本发明实施例中,第三区域在第二终端的显示屏中,且与第一终端中的第二区域具有对应位置关系。如图6所示,第二终端的第三区域32,可以与第一终端的第二区域31在相近的位置。具体应用中,第一移动终端和第二移动终端可以是单面屏终端,第三区域32和第二区域31都在主显示屏中;第一移动终端和第二移动终端可以是双面屏终端,第三区域32和第二区域31可以都在正面屏中,也可都在背面屏中;可以理解,第三区域的位置还可以有本领域技术人员根据实际应用场景进行设定,本发明实施例对此不做具体限定。In the embodiment of the present invention, the third area is in the display screen of the second terminal, and has a corresponding positional relationship with the second area in the first terminal. As shown in FIG. 6 , the third area 32 of the second terminal may be in a similar position to the second area 31 of the first terminal. In a specific application, the first mobile terminal and the second mobile terminal may be single-sided screen terminals, and both the third area 32 and the second area 31 are in the main display screen; the first mobile terminal and the second mobile terminal may be double-sided screen terminals. In the terminal, the third area 32 and the second area 31 can both be in the front screen or in the back screen; it can be understood that the position of the third area can also be set by those skilled in the art according to the actual application scenario. The embodiment of the invention does not specifically limit this.

具体应用中,第二区域和第三区域的形状和尺寸可以预先设定,例如设定第二区域和第三区域的形状为圆形、多边形等,尺寸为不超过第一终端或第二终端屏幕尺寸预设比例的尺寸,例如不超过二分之一等。In a specific application, the shape and size of the second area and the third area can be preset, for example, the shape of the second area and the third area is set to be a circle, a polygon, etc., and the size is not more than the first terminal or the second terminal. The size of the preset proportion of the screen size, for example, no more than one-half.

本发明实施例中,用户在第三区域中的第二输入可以是滑动输入,例如,在第三区域滑动输入圆形轨迹,对号轨迹、查号轨迹等;用户在第三区域中的第二输入还可以是点击输入,例如,在第三区域点击预设次数等,本发明实施例对用户在第三区域中的第二输入不做具体限定。In the embodiment of the present invention, the user's second input in the third area may be a sliding input, for example, sliding in the third area to input a circular track, check mark track, directory search track, etc.; the user's second input in the third area The second input may also be a click input, for example, clicking a preset number of times in the third area, etc. The embodiment of the present invention does not specifically limit the user's second input in the third area.

步骤304:响应于所述第二输入,执行与所述目标对象对应的预设操作;其中,所述目标对象为所述第一终端用户将目标对象从所述第一终端的第一区域移动至所述第一终端的第二区域的第一输入所触发发送的对象;所述第三区域为所述第二终端的与所述第二区域对应位置的区域;其中,所述第一终端与所述第二终端之间已建立第一通信通道,所述第一通信通道为与所述第二区域关联的通信通道。Step 304: In response to the second input, perform a preset operation corresponding to the target object; wherein, the target object is the first terminal user moving the target object from the first area of the first terminal The object to be sent triggered by the first input to the second area of the first terminal; the third area is an area of the second terminal corresponding to the second area; wherein, the first terminal A first communication channel has been established with the second terminal, and the first communication channel is a communication channel associated with the second area.

作为本发明实施例的一种优选方案,所述目标对象为文件或用于执行预设功能的指令。As a preferred solution of the embodiment of the present invention, the target object is a file or an instruction for executing a preset function.

具体应用中,文件可以具体为图片、文档等,当目标对象为文件时,第二终端和第一终端可以进行文件传输;用于执行预设功能的指令具体可以是执行建立群聊功能的指令、执行收付款功能的指令、执行应用安装的指令等,当目标对象为用于执行预设功能的指令时,第二终端可以执行相应的预设功能。In a specific application, the file may specifically be a picture, a document, etc. When the target object is a file, the second terminal and the first terminal may perform file transfer; the instruction for executing a preset function may specifically be an instruction for executing a group chat function , an instruction for executing a payment function, an instruction for installing an application, etc., when the target object is an instruction for executing a preset function, the second terminal may execute the corresponding preset function.

作为本发明实施例的一种优选方案,所述第二输入为滑动输入;所述执行与所述目标对象对应的预设操作,包括:As a preferred solution of the embodiment of the present invention, the second input is a sliding input; the execution of the preset operation corresponding to the target object includes:

在所述第二输入的滑动轨迹为第一预设轨迹的情况下,接收所述第一请求消息中的所述目标对象;执行与所述目标对象对应的预设操作。If the sliding track of the second input is the first preset track, receiving the target object in the first request message; and executing a preset operation corresponding to the target object.

本发明实施例中,第一预设轨迹可以为表示第二终端接受与第一终端进行目标对象通信的轨迹,具体应用中,可以是圆形轨迹、对号轨迹、方形轨迹等,本发明实施例对第一预设轨迹的具体形式不做限定。In the embodiment of the present invention, the first preset trajectory may be a trajectory indicating that the second terminal accepts target object communication with the first terminal. In specific applications, it may be a circular trajectory, a checkmark trajectory, a square trajectory, etc. The example does not limit the specific form of the first preset track.

当第二输入的滑动轨迹为第一预设轨迹时,可以认为第二终端同意接受第一请求消息中的目标对象,则接收第一请求消息中的目标对象,并执行与目标对象对应的预设操作。When the sliding track of the second input is the first preset track, it can be considered that the second terminal agrees to accept the target object in the first request message, then receives the target object in the first request message, and executes the preset action corresponding to the target object. set operation.

可以理解,当第二输入的滑动轨迹与第一预设轨迹不符时,可以认为第二终端不同意接受第一请求消息中的目标对象,则可以断开第一终端与第二终端之间的通信连接,本发明实施例对此不做具体限定。It can be understood that when the sliding trajectory of the second input does not match the first preset trajectory, it can be considered that the second terminal does not agree to accept the target object in the first request message, and the communication between the first terminal and the second terminal can be disconnected. The communication connection is not specifically limited in this embodiment of the present invention.

作为本发明实施例的一种优选方案,执行与目标对象对应的预设操作可以包括:在所述目标对象为建群指令的情况下,将所述第二终端的通信账号加入所述建群指令对应的群组;在所述目标对象为支付指令的情况下,执行支付操作;在所述目标对象为应用程序安装包的情况下,安装所述应用程序安装包;在所述目标对象为文件的情况下,显示所述文件。As a preferred solution of the embodiment of the present invention, executing the preset operation corresponding to the target object may include: adding the communication account of the second terminal to the group building when the target object is a group building instruction The group corresponding to the instruction; if the target object is a payment instruction, execute the payment operation; if the target object is an application installation package, install the application installation package; if the target object is In the case of a file, the file is displayed.

本发明实施例中,在目标对象为建群指令的情况下,可以说明第一终端希望与第二终端建立群组,接收到第二终端的同意加入群聊的第二输入时,可以将第二终端的通信账号加入到建群指令对应的群组,简单、快捷的实现第一终端和第二终端的建群操作。In the embodiment of the present invention, in the case where the target object is a group building instruction, it can be explained that the first terminal wishes to establish a group with the second terminal, and when receiving the second input of agreeing to join the group chat from the second terminal, the second The communication account of the second terminal is added to the group corresponding to the group building instruction, and the group building operation of the first terminal and the second terminal is realized simply and quickly.

在目标对象为支付指令的情况下,可以说明第一终端希望与第二终端进行收付款操作,接收到第二终端的同意支付的第二输入时,可以在第二终端执行支付操作,简单、快捷的实现第一终端和第二终端的收付款操作。In the case where the target object is a payment instruction, it can be explained that the first terminal wishes to perform payment and payment operations with the second terminal, and when receiving the second input of agreeing to payment from the second terminal, the payment operation can be performed on the second terminal, which is simple and convenient. Quickly realize the payment and payment operation of the first terminal and the second terminal.

在目标对象为应用程序安装包的情况下,可以说明第一终端希望第二终端安装该应用程序,接收到第二终端的同意安装该应用程序安装包的第二输入时,可以在第二终端安装应用程序安装包,简单、快捷的实现在第二终端安装应用程序安装包的操作。In the case where the target object is an application installation package, it can be explained that the first terminal wants the second terminal to install the application, and when receiving the second input from the second terminal agreeing to install the application installation package, the second terminal can Install the application installation package, and realize the operation of installing the application installation package on the second terminal simply and quickly.

在目标对象为文件的情况下,可以说明第一终端希望将文件传输到第二终端,接收到第二终端的同意接收文件的第二输入时,可以在直接在第二终端显示文件,让第二终端用户直观、快捷的看到文件。In the case where the target object is a file, it can be explained that the first terminal wishes to transfer the file to the second terminal, and when receiving the second input from the second terminal agreeing to receive the file, the file can be directly displayed on the second terminal, allowing the second terminal to 2. End users can see files intuitively and quickly.

作为本发明实施例的一种优选方案,所述接收第一终端发送的第一请求消息之前,还包括:As a preferred solution of the embodiment of the present invention, before receiving the first request message sent by the first terminal, it also includes:

步骤A1:接收服务器发送的第二请求消息,所述第二请求消息为建立第一通信通道的请求消息。Step A1: Receive a second request message sent by the server, where the second request message is a request message for establishing the first communication channel.

本发明实施例中,通过步骤A1至步骤A4,第二终端与第一终端之间可以建立起第一通信通道,使得第二终端可以通过第一通信通道与第一终端进行针对于目标对象的通信。In the embodiment of the present invention, through steps A1 to A4, a first communication channel can be established between the second terminal and the first terminal, so that the second terminal can communicate with the first terminal for the target object through the first communication channel. communication.

具体应用中,第一终端和第二终端可以同时开启蓝牙、NFC等通信模块,使得支持蓝牙、NFC通信的服务器,通过通信模块可以与第一终端和第二终端进行通信。In a specific application, the first terminal and the second terminal can simultaneously turn on communication modules such as Bluetooth and NFC, so that the server supporting Bluetooth and NFC communication can communicate with the first terminal and the second terminal through the communication module.

当第二终端接收到服务器发送的用于建立第一通信通道的第二请求消息后,可以在第三区域显示第二请求消息。在本发明实施例的一种应用场景中,第二请求消息可以包括第二终端的终端标识,例如第二终端的设备标识号、通信地址号等,通过第二请求消息,服务器可以确定出第一终端希望进行通信的第二终端,将第二请求消息发送给第二终端,使得第二终端可以接收到第二请求消息。在本发明实施例的另一种应用场景中,第二请求消息可以包括第一终端的终端标识,服务器在接收到第二请求消息后,可以自行搜索第二终端,将该第二请求消息发送给搜索到的第二终端,使得第二终端可以接收到第二请求消息。可以理解,本领域技术人员还可以根据实际应用场景,确定第二请求消息的具体形式,本发明实施例对此不作限定。After receiving the second request message sent by the server for establishing the first communication channel, the second terminal may display the second request message in the third area. In an application scenario of the embodiment of the present invention, the second request message may include the terminal identifier of the second terminal, such as the device identification number and communication address number of the second terminal, and the server may determine the second terminal through the second request message. A second terminal that a terminal wants to communicate with sends a second request message to the second terminal, so that the second terminal can receive the second request message. In another application scenario of the embodiment of the present invention, the second request message may include the terminal identifier of the first terminal, and after receiving the second request message, the server may search for the second terminal by itself and send the second request message to to the searched second terminal, so that the second terminal can receive the second request message. It can be understood that those skilled in the art may also determine the specific form of the second request message according to the actual application scenario, which is not limited in this embodiment of the present invention.

步骤A2:在第三区域显示所述第二请求消息。Step A2: displaying the second request message in the third area.

本发明实施例中,第二请求消息中可以包括第一终端的终端标识,在第三区域显示第一请求消息的具体实现可以是:在第三区域显示第一终端的终端标识,使得第二终端可以通过显示的第二请求消息,知晓请求建立第一通信通道的第一终端。可以理解,本领域技术人员还可以根据实际情况,设定显示第二请求消息的具体方式,本发明实施例对此不做具体限定。In the embodiment of the present invention, the second request message may include the terminal identification of the first terminal, and the specific implementation of displaying the first request message in the third area may be: displaying the terminal identification of the first terminal in the third area, so that the second The terminal may know the first terminal requesting to establish the first communication channel through the displayed second request message. It can be understood that those skilled in the art may also set a specific manner of displaying the second request message according to actual conditions, which is not specifically limited in this embodiment of the present invention.

步骤A3:接收用户在所述第三区域的第三输入,所述第三输入为滑动输入。Step A3: receiving a third input from the user in the third area, where the third input is a sliding input.

本发明实施例中,第二终端用户可以根据需求,在第三区域执行滑动的第三输入。例如,当第二终端用户希望与第一终端建立第一通信通道,则可以滑动输入圆形、对号、长方形、字符“Y”等;当第二终端用户不希望与第一终端建立第一通信通道,则可以滑动输入叉号、字符“N”等;本发明实施例对第三输入的形式不做具体限定。In the embodiment of the present invention, the second terminal user may perform a third sliding input in the third area according to requirements. For example, when the second terminal user wants to establish the first communication channel with the first terminal, he can slide and input a circle, a check mark, a rectangle, the character "Y" and so on; communication channel, you can swipe to input a cross, a character "N" and so on; the embodiment of the present invention does not specifically limit the form of the third input.

步骤A4:在所述第三输入的滑动轨迹为第二预设轨迹的情况下,向第一终端发送反馈消息,并建立与所述第一终端之间的第一通信通道;其中,所述反馈消息指示所述第二终端接收建立所述第一通信通道的请求。Step A4: In the case that the sliding track of the third input is the second preset track, sending a feedback message to the first terminal, and establishing a first communication channel with the first terminal; wherein, the The feedback message instructs the second terminal to receive the request for establishing the first communication channel.

本发明实施例中,第二预设轨迹可以为表示第二终端接受与第一终端建立第一通信通道的轨迹,具体应用中,可以是圆形轨迹、对号轨迹、方形轨迹、字符“Y”等,本发明实施例对第二预设轨迹的具体形式不做限定。In the embodiment of the present invention, the second preset trajectory may be a trajectory indicating that the second terminal accepts the establishment of the first communication channel with the first terminal. In specific applications, it may be a circular trajectory, a checkmark trajectory, a square trajectory, the character "Y ", etc., the embodiment of the present invention does not limit the specific form of the second preset track.

当第三输入的滑动轨迹为第二预设轨迹时,可以认为第二终端同意与第一终端建立第一通信通道,则向第一终端发送反馈消息,并建立与第一终端之间的第一通信通道。When the sliding trajectory of the third input is the second preset trajectory, it can be considered that the second terminal agrees to establish the first communication channel with the first terminal, then sends a feedback message to the first terminal, and establishes the first communication channel with the first terminal. a communication channel.

可以理解,当第三输入的滑动轨迹与第二预设轨迹不符时,可以认为第二终端不同意与第一终端建立第一通信通道,则可以断开第一终端与第二终端之间的通信连接,本发明实施例对此不做具体限定。It can be understood that when the sliding trajectory of the third input does not match the second preset trajectory, it can be considered that the second terminal does not agree to establish the first communication channel with the first terminal, and the communication between the first terminal and the second terminal can be disconnected. The communication connection is not specifically limited in this embodiment of the present invention.

本发明实施例中,在第一终端和第二终端间首先建立第一通信通道,则当第一终端希望给第二终端发送目标对象时,第二终端可以接收到第一终端发送的第一请求消息,第二终端用户只需要根据显示的第一请求消息,在第三区域中进行第三输入,第二终端就可以执行与目标对象对应的预设操作。本发明实施例中,第二终端用户只需要在第三区域中进行第三输入,就可以在第二终端执行与目标对象对应的预设操作,不需要另外打开传输应用,也不需要查找传输应用的发送框,操作非常便捷。In the embodiment of the present invention, the first communication channel is first established between the first terminal and the second terminal, then when the first terminal wishes to send the target object to the second terminal, the second terminal can receive the first communication channel sent by the first terminal. For the request message, the user of the second terminal only needs to make a third input in the third area according to the displayed first request message, and the second terminal can execute the preset operation corresponding to the target object. In the embodiment of the present invention, the user of the second terminal only needs to perform the third input in the third area, and then can execute the preset operation corresponding to the target object on the second terminal, without additionally opening the transfer application or searching for the transfer The sending box of the application is very convenient to operate.

参照图8,示出了本发明实施例中的一种第一终端50的结构框图。包括:Referring to FIG. 8 , it shows a structural block diagram of a first terminal 50 in an embodiment of the present invention. include:

第一输入接收模块51,用于接收用户的第一输入,所述第一输入用于将目标对象从第一区域移动至第二区域;The first input receiving module 51 is configured to receive a first input from a user, and the first input is used to move the target object from the first area to the second area;

第一输入响应模块52,用于响应于所述第一输入,将包括所述目标对象的第一请求消息发送至第二终端;其中,所述第一终端与所述第二终端之间已建立第一通信通道,所述第一通信通道为与所述第二区域关联的通信通道。The first input response module 52 is configured to send a first request message including the target object to a second terminal in response to the first input; wherein, the first terminal and the second terminal have already communicated A first communication channel is established, where the first communication channel is a communication channel associated with the second area.

其中,第一输入接收模块51和第一输入响应模块52连接。Wherein, the first input receiving module 51 is connected to the first input responding module 52 .

优选地,所述第一区域和所述第二区域分别位于同一个显示屏的不同的区域;Preferably, the first area and the second area are respectively located in different areas of the same display screen;

或者,所述第一终端包括第一屏和第二屏,所述第一区域位于所述第一屏的显示区,且所述第二区域位于所述第二屏的显示区。Alternatively, the first terminal includes a first screen and a second screen, the first area is located in a display area of the first screen, and the second area is located in a display area of the second screen.

优选地,所述第一终端还包括:Preferably, the first terminal further includes:

第二输入接收模块,用于接收用户选择第二区域的第二输入;The second input receiving module is configured to receive a second input for the user to select the second area;

第二输入响应模块,用于响应于所述第二输入,将第二请求消息发送至服务器,所述第二请求消息为建立第一通信通道的请求消息;A second input response module, configured to send a second request message to the server in response to the second input, where the second request message is a request message for establishing a first communication channel;

第一通信通道建立模块,用于在接收到第二终端发送的反馈消息的情况下,建立与所述第二终端之间的第一通信通道。The first communication channel establishment module is configured to establish a first communication channel with the second terminal when receiving the feedback message sent by the second terminal.

第一通道标识显示模块,用于在所述第二区域,显示所述第一通信通道对应的第一通道标识;The first channel identification display module is configured to display the first channel identification corresponding to the first communication channel in the second area;

所述第一输入响应模块包括:The first input response module includes:

第一输入响应子模块,用于将包括所述目标对象和所述通道标识的第一请求消息发送至所述第二终端。The first input response submodule is configured to send a first request message including the target object and the channel identifier to the second terminal.

其中,第二输入接收模块和第二输入接收模块连接,第二输入接收模块和第二输入响应模块连接,第二输入响应模块和第一通信通道建立模块连接,第一通信通道建立模块和第一通道标识显示模块连接,第一通道标识显示模块和第一输入响应模块连接。Wherein, the second input receiving module is connected with the second input receiving module, the second input receiving module is connected with the second input response module, the second input response module is connected with the first communication channel establishment module, and the first communication channel establishment module is connected with the second input response module. A channel identification display module is connected, and the first channel identification display module is connected to the first input response module.

优选地,所述目标对象为文件或用于执行预设功能的指令。Preferably, the target object is a file or an instruction for executing a preset function.

在本发明实施例中,在第一终端和第二终端之间预先建立与第二区域关联的第一通信通道,当第一终端希望给第二终端发送目标对象时,第一终端用户只需要将目标对象从终端的第一区域移动至第二区域,第一终端就可以将包括目标对象的第一请求消息发送给第二终端。本发明实施例中,第一终端用户只需要将目标对象从第一区域移动到第二区域,就可以发出目标对象的传输请求,不需要另外打开传输应用,也不需要查找传输应用的发送框,操作非常便捷。In the embodiment of the present invention, the first communication channel associated with the second area is pre-established between the first terminal and the second terminal. When the first terminal wishes to send a target object to the second terminal, the first terminal user only needs to After moving the target object from the first area of the terminal to the second area, the first terminal can send the first request message including the target object to the second terminal. In the embodiment of the present invention, the first terminal user only needs to move the target object from the first area to the second area, and can send the transfer request of the target object without opening the transfer application or searching the sending box of the transfer application , the operation is very convenient.

上述第一终端能够实现方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The above-mentioned first terminal can implement each process implemented by the mobile terminal in the method embodiment, and to avoid repetition, details are not described here.

参照图9,示出了本发明实施例中的一种第二终端60的结构框图。包括:Referring to FIG. 9 , it shows a structural block diagram of a second terminal 60 in an embodiment of the present invention. include:

第一请求消息接收模块61,用于接收第一终端发送的第一请求消息,所述第一请求消息包括目标对象;A first request message receiving module 61, configured to receive a first request message sent by a first terminal, where the first request message includes a target object;

显示模块62,用于显示所述第一请求消息;A display module 62, configured to display the first request message;

第二输入接收模块63,用于接收用户在第三区域中的第二输入;The second input receiving module 63 is configured to receive a second input from the user in the third area;

第二输入响应模块64,用于响应于所述第二输入,执行与所述目标对象对应的预设操作;其中,所述目标对象为所述第一终端用户将目标对象从所述第一终端的第一区域移动至所述第一终端的第二区域的第一输入所触发发送的对象;所述第三区域为所述第二终端的与所述第二区域对应位置的区域;其中,所述第一终端与所述第二终端之间已建立第一通信通道,所述第一通信通道为与所述第二区域关联的通信通道。The second input response module 64 is configured to execute a preset operation corresponding to the target object in response to the second input; wherein, the target object is the first terminal user transferring the target object from the first The first area of the terminal moves to the object that is triggered by the first input of the second area of the first terminal; the third area is the area of the second terminal corresponding to the second area; wherein , A first communication channel has been established between the first terminal and the second terminal, and the first communication channel is a communication channel associated with the second area.

其中,第一请求消息接收模块61和显示模块62连接,显示模块62和第二输入接收模块63连接,第二输入接收模块63和第二输入响应模块64连接。Wherein, the first request message receiving module 61 is connected to the display module 62 , the display module 62 is connected to the second input receiving module 63 , and the second input receiving module 63 is connected to the second input response module 64 .

优选地,所述第二输入为滑动输入;所述第二输入响应模块包括:Preferably, the second input is a sliding input; the second input response module includes:

目标对象接收子模块,用于在所述第二输入的滑动轨迹为第一预设轨迹的情况下,接收所述第一请求消息中的所述目标对象;A target object receiving submodule, configured to receive the target object in the first request message when the second input sliding track is the first preset track;

预设操作执行子模块,用于执行与所述目标对象对应的预设操作。The preset operation execution sub-module is used to execute the preset operation corresponding to the target object.

其中,目标对象接收子模块和预设操作执行子模块连接。Among them, the target object receiving sub-module and the preset operation execution sub-module are connected.

优选地,所述目标对象为文件或用于执行预设功能的指令。Preferably, the target object is a file or an instruction for executing a preset function.

优选地,所述第二输入响应模块包括:Preferably, the second input response module includes:

群组加入子模块,用于在所述目标对象为建群指令的情况下,将所述第二终端的通信账号加入所述建群指令对应的群组;A group joining submodule, configured to add the communication account of the second terminal to the group corresponding to the group building instruction when the target object is a group building instruction;

支付子模块,用于在所述目标对象为支付指令的情况下,执行支付操作;A payment sub-module, configured to perform a payment operation when the target object is a payment instruction;

安装子模块,用于在所述目标对象为应用程序安装包的情况下,安装所述应用程序安装包;Installing a submodule, configured to install the application installation package when the target object is an application installation package;

显示子模块,用于在所述目标对象为文件的情况下,显示所述文件。The display submodule is used to display the file when the target object is a file.

优选地,所述装置还包括:Preferably, the device also includes:

第二请求消息接收模块,用于接收服务器发送的第二请求消息,所述第二请求消息为建立第一通信通道的请求消息;The second request message receiving module is configured to receive a second request message sent by the server, where the second request message is a request message for establishing a first communication channel;

第二请求消息显示模块,用于在第三区域显示所述第二请求消息;a second request message display module, configured to display the second request message in the third area;

第三输入接收模块,用于接收用户在所述第三区域的第三输入,所述第三输入为滑动输入;A third input receiving module, configured to receive a third input from the user in the third area, where the third input is a sliding input;

反馈消息发送模块,用于在所述第三输入的滑动轨迹为第二预设轨迹的情况下,向第一终端发送反馈消息,并建立与所述第一终端之间的第一通信通道;其中,所述反馈消息指示所述第二终端接收建立所述第一通信通道的请求。A feedback message sending module, configured to send a feedback message to the first terminal and establish a first communication channel with the first terminal when the sliding track of the third input is a second preset track; Wherein, the feedback message instructs the second terminal to receive the request for establishing the first communication channel.

其中,第二请求消息接收模块和第二请求消息显示模块连接,第二请求消息显示模块和第三输入接收模块连接,第三输入接收模块和反馈消息发送模块连接,反馈消息发送模块和第一请求消息接收模块连接。Wherein, the second request message receiving module is connected with the second request message display module, the second request message display module is connected with the third input receiving module, the third input receiving module is connected with the feedback message sending module, and the feedback message sending module is connected with the first Request message receiving module connection.

本发明实施例中,在第一终端和第二终端间首先建立第一通信通道,则当第一终端希望给第二终端发送目标对象时,第二终端可以接收到第一终端发送的第一请求消息,第二终端用户只需要根据显示的第一请求消息,在第三区域中进行第三输入,第二终端就可以执行与目标对象对应的预设操作。本发明实施例中,第二终端用户只需要在第三区域中进行第三输入,就可以在第二终端执行与目标对象对应的预设操作,不需要另外打开传输应用,也不需要查找传输应用的发送框,操作非常便捷。In the embodiment of the present invention, the first communication channel is first established between the first terminal and the second terminal, then when the first terminal wishes to send the target object to the second terminal, the second terminal can receive the first communication channel sent by the first terminal. For the request message, the user of the second terminal only needs to make a third input in the third area according to the displayed first request message, and the second terminal can execute the preset operation corresponding to the target object. In the embodiment of the present invention, the user of the second terminal only needs to perform the third input in the third area, and then can execute the preset operation corresponding to the target object on the second terminal, without additionally opening the transfer application or searching for the transfer The sending box of the application is very convenient to operate.

上述第二终端能够实现方法实施例中第二终端实现的各个过程,为避免重复,这里不再赘述。The above-mentioned second terminal can implement various processes implemented by the second terminal in the method embodiment, and to avoid repetition, details are not repeated here.

图10为实现本发明各个实施例的一种移动终端的硬件结构示意图。FIG. 10 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.

该移动终端500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图10中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power supply 511 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 10 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.

其中,处理器510,用于接收用户的第一输入,所述第一输入用于将目标对象从第一区域移动至第二区域;响应于所述第一输入,将包括所述目标对象的第一请求消息发送至第二终端;其中,所述第一终端与所述第二终端之间已建立第一通信通道,所述第一通信通道为与所述第二区域关联的通信通道。Wherein, the processor 510 is configured to receive a first input from the user, the first input is used to move the target object from the first area to the second area; in response to the first input, include the target object The first request message is sent to the second terminal; wherein, a first communication channel has been established between the first terminal and the second terminal, and the first communication channel is a communication channel associated with the second area.

本发明实施例中,在第一终端和第二终端之间预先建立与第二区域关联的第一通信通道,当第一终端希望给第二终端发送目标对象时,第一终端用户只需要将目标对象从终端的第一区域移动至第二区域,第一终端就可以将包括目标对象的第一请求消息发送给第二终端。本发明实施例中,第一终端用户只需要将目标对象从第一区域移动到第二区域,就可以发出目标对象的传输请求,不需要另外打开传输应用,也不需要查找传输应用的发送框,操作非常便捷。In the embodiment of the present invention, the first communication channel associated with the second area is pre-established between the first terminal and the second terminal. When the first terminal wishes to send the target object to the second terminal, the first terminal user only needs to send the When the target object moves from the first area of the terminal to the second area, the first terminal may send the first request message including the target object to the second terminal. In the embodiment of the present invention, the first terminal user only needs to move the target object from the first area to the second area, and can send the transfer request of the target object without opening the transfer application or searching the sending box of the transfer application , the operation is very convenient.

应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 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 510 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 501 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 501 can also communicate with the network and other devices through a wireless communication system.

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

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

输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The input unit 504 is used for receiving audio or video signals. The input unit 504 may include a graphics processing unit (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 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 506 . The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage media) or sent via the radio frequency unit 501 or the network module 502 . The microphone 5042 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 501 for output in the case of a phone call mode.

移动终端500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在移动终端500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 500 also includes at least one sensor 505, 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 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and the display panel 5061 when the mobile terminal 500 moves to the ear / or backlighting. 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 still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer attitude calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 505 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

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

用户输入单元507可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 507 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072 . The touch panel 5071, 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 5071 or near the touch panel 5071). operate). The touch panel 5071 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 510, receive the command sent by the processor 510 and execute it. In addition, the touch panel 5071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071 , the user input unit 507 may also include other input devices 5072 . Specifically, other input devices 5072 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.

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

接口单元508为外部装置与移动终端500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端500内的一个或多个元件或者可以用于在移动终端500和外部装置之间传输数据。The interface unit 508 is an interface for connecting an external device to the mobile terminal 500 . 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 508 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 509 can be used to store software programs as well as various data. The memory 509 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.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 509 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.

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

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

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

优选的,本发明实施例还提供一种移动终端,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述通信方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 510, a memory 509, and a computer program stored in the memory 509 and operable on the processor 510. When the computer program is executed by the processor 510 The various processes of the foregoing communication method embodiments are implemented and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述通信方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned communication method embodiment is realized, and the same technical effect can be achieved. , to avoid repetition, it will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), 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. Those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, all of which belong to the protection of the present invention.

Claims (12)

1. a kind of communication means is applied to first terminal, which is characterized in that the method includes:
The first input of user is received, first input from first area by target object for being moved to second area;
In response to first input, the first request message including the target object is sent to second terminal;
Wherein, the first communication port has been established between the first terminal and the second terminal, first communication port is With the associated communication port of the second area.
2. according to the method described in claim 1, it is characterized in that, the method includes:
The first area and the second area are located at the different regions of the same display screen;
Alternatively, the first terminal includes the first screen and the second screen, the first area is located at the viewing area of first screen, and The second area is located at the viewing area of second screen.
3. according to the method described in claim 1, it is characterized in that, before the first input of reception user, further include:
Receive the second input that user selects second area;
In response to second input, the second request message is sent to server, second request message is to establish first The request message of communication port;
In the case where receiving the feedback message of second terminal transmission, foundation is communicated with first between the second terminal Road.
4. according to the method described in claim 1, it is characterized in that, after first input for receiving user, further include:
In the second area, the corresponding first passage mark of first communication port is shown;
It is described that the first request message including the target object is sent to second terminal, including:
The first request message including the target object and first passage mark is sent to the second terminal.
5. according to the method described in claim 1, it is characterized in that, the target object is for file or for executing preset function Instruction.
6. a kind of communication means is applied to second terminal, which is characterized in that the method includes:
The first request message that first terminal is sent is received, first request message includes target object;
Show first request message;
Receive second input of the user in third region;
In response to second input, predetermined registration operation corresponding with the target object is executed;
Wherein, the target object is that the first terminal user moves target object from the first area of the first terminal The first input to the second area of the first terminal triggers the object sent;The third region is the second terminal The region with the second area corresponding position;Wherein, first is had been established between the first terminal and the second terminal Communication port, first communication port are and the associated communication port of the second area.
7. according to the method described in claim 6, it is characterized in that, second input is to slidably input;
It is described to execute corresponding with target object predetermined registration operation, including:
In the case where the sliding trace of second input is the first desired guiding trajectory, the institute in first request message is received State target object;
Execute predetermined registration operation corresponding with the target object.
8. the method according to the description of claim 7 is characterized in that the target object is for file or for executing preset function Instruction.
9. according to the method described in claim 6, it is characterized in that, described execute default behaviour corresponding with the target object Make, including:
In the case where the target object is to build GC group command, GC group command is built described in the communications account addition by the second terminal Corresponding group;
In the case where the target object is payment instruction, delivery operation is executed;
In the case where the target object is application program installation kit, the application program installation kit is installed;
In the case where the target object is file, the file is shown.
10. according to the method described in claim 6, it is characterized in that, first request message for receiving first terminal and sending Before, further include:
The second request message that server is sent is received, second request message is to establish the request of the first communication port to disappear Breath;
Second request message is shown in third region;
It receives third of the user in the third region to input, the third input is to slidably input;
In the case where the sliding trace of third input is the second desired guiding trajectory, feedback message is sent to first terminal, and Establish the first communication port between the first terminal;
Wherein, the feedback message indicates that the second terminal receives the request for establishing first communication port.
11. a kind of first terminal, which is characterized in that the first terminal includes:
First input receiving module, the first input for receiving user, first input for by target object from first Region is moved to second area;
First input respond module, for being inputted in response to described first, by the first request message including the target object It is sent to second terminal;Wherein, the first communication port is had been established between the first terminal and the second terminal, described first Communication port be and the associated communication port of the second area.
12. a kind of second terminal, which is characterized in that the second terminal includes:
First request message receiving module, the first request message for receiving first terminal transmission, first request message Including target object;
Display module, for showing first request message;
Second input receiving module, for receiving second input of the user in third region;
Second input respond module, in response to second input, executing predetermined registration operation corresponding with the target object; Wherein, target object is moved to institute by the target object for the first terminal user from the first area of the first terminal The first input for stating the second area of first terminal triggers the object sent;The third region be the second terminal with The region of the second area corresponding position;Wherein, the first communication has been established between the first terminal and the second terminal Channel, first communication port are and the associated communication port of the second area.
CN201810533340.9A 2018-05-29 2018-05-29 Communication method and terminal Active CN108811177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810533340.9A CN108811177B (en) 2018-05-29 2018-05-29 Communication method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810533340.9A CN108811177B (en) 2018-05-29 2018-05-29 Communication method and terminal

Publications (2)

Publication Number Publication Date
CN108811177A true CN108811177A (en) 2018-11-13
CN108811177B CN108811177B (en) 2021-03-02

Family

ID=64090965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810533340.9A Active CN108811177B (en) 2018-05-29 2018-05-29 Communication method and terminal

Country Status (1)

Country Link
CN (1) CN108811177B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111565382A (en) * 2020-04-30 2020-08-21 维沃移动通信有限公司 Transmission method and electronic device
CN114518811A (en) * 2022-01-26 2022-05-20 维沃移动通信有限公司 Scroll screen-based information interaction method and device and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324458A (en) * 2013-06-27 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method for display information and mobile terminal
CN103973891A (en) * 2014-05-09 2014-08-06 平安付智能技术有限公司 Data security processing method for software interface
CN103995667A (en) * 2014-05-14 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal screen unlocking method
CN104168667A (en) * 2014-09-05 2014-11-26 北京奇虎科技有限公司 Data acquisition method, device and system
CN105045394A (en) * 2015-08-03 2015-11-11 歌尔声学股份有限公司 Method and apparatus for starting preset function in wearable electronic terminal
CN105337641A (en) * 2014-06-06 2016-02-17 北京壹人壹本信息科技有限公司 File transmission method and system, and mobile terminal
CN105898543A (en) * 2015-12-16 2016-08-24 乐视网信息技术(北京)股份有限公司 Video interaction mobile terminal, player and method
US20170303076A1 (en) * 2016-04-14 2017-10-19 Lg Electronics Inc. Method and apparatus for transmitting or receiving data using bluetooth in wireless communication system
CN107329959A (en) * 2017-06-23 2017-11-07 维沃移动通信有限公司 A kind of information processing method, first terminal and second terminal
CN107992244A (en) * 2017-12-01 2018-05-04 维沃移动通信有限公司 The control method and terminal device of a kind of application program

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324458A (en) * 2013-06-27 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method for display information and mobile terminal
CN103973891A (en) * 2014-05-09 2014-08-06 平安付智能技术有限公司 Data security processing method for software interface
CN103995667A (en) * 2014-05-14 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal screen unlocking method
CN105337641A (en) * 2014-06-06 2016-02-17 北京壹人壹本信息科技有限公司 File transmission method and system, and mobile terminal
CN104168667A (en) * 2014-09-05 2014-11-26 北京奇虎科技有限公司 Data acquisition method, device and system
CN105045394A (en) * 2015-08-03 2015-11-11 歌尔声学股份有限公司 Method and apparatus for starting preset function in wearable electronic terminal
CN105898543A (en) * 2015-12-16 2016-08-24 乐视网信息技术(北京)股份有限公司 Video interaction mobile terminal, player and method
US20170303076A1 (en) * 2016-04-14 2017-10-19 Lg Electronics Inc. Method and apparatus for transmitting or receiving data using bluetooth in wireless communication system
CN107329959A (en) * 2017-06-23 2017-11-07 维沃移动通信有限公司 A kind of information processing method, first terminal and second terminal
CN107992244A (en) * 2017-12-01 2018-05-04 维沃移动通信有限公司 The control method and terminal device of a kind of application program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SECRETARY OF SA WG2: "Draft Report of SA WG2 meetings #105", 《S2-143812_S2_105_DRAFT_REP_V010RM》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111565382A (en) * 2020-04-30 2020-08-21 维沃移动通信有限公司 Transmission method and electronic device
CN111565382B (en) * 2020-04-30 2023-10-27 维沃移动通信有限公司 Transmission methods and electronic equipment
CN114518811A (en) * 2022-01-26 2022-05-20 维沃移动通信有限公司 Scroll screen-based information interaction method and device and electronic equipment

Also Published As

Publication number Publication date
CN108811177B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN111083684B (en) Method for controlling electronic equipment and electronic equipment
CN108255378A (en) A kind of display control method and mobile terminal
WO2021197263A1 (en) Content sharing method and electronic device
CN108536509B (en) A kind of application avatar method and mobile terminal
WO2021129529A1 (en) Device switching method and related device
WO2020258929A1 (en) Folder interface switching method and terminal device
CN109871164B (en) Message sending method and terminal equipment
CN109857297B (en) Information processing method and terminal device
WO2020238497A1 (en) Icon moving method and terminal device
CN108228031A (en) A kind of picture sharing method, image display method and mobile terminal
WO2021083087A1 (en) Screen capturing method and terminal device
CN110855549A (en) Message display method and terminal equipment
WO2021057545A1 (en) Multi-network access method and terminal device
CN111414097A (en) Interaction method, interaction system and display equipment
CN110321046A (en) A kind of content selecting method and terminal
WO2020199783A1 (en) Interface display method and terminal device
WO2020215969A1 (en) Content input method and terminal device
WO2021017785A1 (en) Data transmission method and terminal device
WO2020220893A1 (en) Screenshot method and mobile terminal
WO2020173281A1 (en) Interface display method and terminal device
WO2020042921A1 (en) Screen control method and electronic device
CN111399792B (en) A content sharing method and electronic device
CN111090529B (en) Information sharing method and electronic equipment
WO2021036529A1 (en) Control method and terminal device
CN109542311B (en) A file processing method and electronic device

Legal Events

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