[go: up one dir, main page]

CN115474292A - Information transmission method, device, equipment and storage medium - Google Patents

Information transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN115474292A
CN115474292A CN202110652460.2A CN202110652460A CN115474292A CN 115474292 A CN115474292 A CN 115474292A CN 202110652460 A CN202110652460 A CN 202110652460A CN 115474292 A CN115474292 A CN 115474292A
Authority
CN
China
Prior art keywords
target
electronic device
target object
application
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110652460.2A
Other languages
Chinese (zh)
Inventor
方建伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Pateo Network Technology Service Co Ltd
Original Assignee
Shanghai Pateo Network Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Pateo Network Technology Service Co Ltd filed Critical Shanghai Pateo Network Technology Service Co Ltd
Priority to CN202110652460.2A priority Critical patent/CN115474292A/en
Publication of CN115474292A publication Critical patent/CN115474292A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephone Function (AREA)

Abstract

本申请提供了一种信息传输方法、装置、设备以及存储介质,方法包括以下步骤:在当前界面上显示第一窗口,在检测针对所述当前界面中的目标对象的第一操作的情况下,响应于第一操作,获取目标对象的目标对象信息,在检测到第二操作的情况下,响应于第二操作,通过第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送目标对象信息,目标通道为第一电子设备与第二电子设备之间的数据传输通道,n为正整数,m为大于或者等于n的正整数。本申请实施例拓展了数据传输的机制,提升了数据传输的智能性,同时,提高了数据传输的效率。

Figure 202110652460

The present application provides an information transmission method, device, device, and storage medium. The method includes the following steps: displaying a first window on the current interface, and in the case of detecting a first operation on a target object in the current interface, In response to the first operation, the target object information of the target object is acquired, and in the case of detecting the second operation, in response to the second operation, through n target channels in the m target channels of the first window, to the n-th The second electronic device sends target object information, the target channel is a data transmission channel between the first electronic device and the second electronic device, n is a positive integer, and m is a positive integer greater than or equal to n. The embodiment of the present application expands the mechanism of data transmission, improves the intelligence of data transmission, and at the same time improves the efficiency of data transmission.

Figure 202110652460

Description

信息传输方法、装置、设备以及存储介质Information transmission method, device, equipment and storage medium

技术领域technical field

本申请涉及通信技术领域,特别是一种信息传输方法、装置、设备以及存储介质。The present application relates to the technical field of communication, in particular to an information transmission method, device, equipment and storage medium.

背景技术Background technique

随着通信技术领域的高速发展,电子设备已经成为生活中的智能助手,电子设备中存储着各类我们急需或备份的内容与资料,还有各种应用程序支持的能力延伸。电子设备的智能化程度越来越高,但是电子设备之间的数据交互往往依赖于应用程序提供的数据交互窗口进行数据分享。With the rapid development of communication technology, electronic devices have become smart assistants in our lives. Electronic devices store all kinds of content and data that we urgently need or back up, as well as the extension of capabilities supported by various applications. The degree of intelligence of electronic devices is getting higher and higher, but the data interaction between electronic devices often relies on the data interaction window provided by the application program for data sharing.

目前,电子设备之间的数据交互,往往需要用户选中交互数据,通过打开应用程序的数据交互窗口进行数据分享。导致用户进行数据传输操作的步骤繁琐,因而导致设备间的数据传输不够智能,传输效率低。At present, the data interaction between electronic devices often requires the user to select the interactive data and share the data by opening the data interaction window of the application. The steps for users to perform data transmission operations are cumbersome, resulting in insufficient intelligence and low transmission efficiency between devices.

发明内容Contents of the invention

基于上述问题,本申请提出了一种信息传输方法、装置、设备以及存储介质,电子设备的通过在当前界面上显示第一窗口,在检测到针对所述当前界面中的目标对象的第一操作的情况下,以响应于所述第一操作,获取所述目标对象的目标对象信息,进而实现在检测到第二操作的情况下,响应于所述第二操作,通过第一窗口的该电子设备与其他至少一个电子设备之间的至少一个数据传输通道,向其他至少一个电子设备中的部分或者全部发送该目标对象信息,以期拓展数据传输的机制,提升数据传输的智能性,同时,提高数据传输的效率。Based on the above problems, the present application proposes an information transmission method, device, device and storage medium. By displaying the first window on the current interface of the electronic device, the first operation on the target object in the current interface is detected In the case of the first operation, the target object information of the target object is obtained in response to the first operation, so that when the second operation is detected, in response to the second operation, the electronic At least one data transmission channel between the device and at least one other electronic device, sending the target object information to part or all of the other at least one electronic device, in order to expand the mechanism of data transmission, improve the intelligence of data transmission, and at the same time, improve Efficiency of data transfer.

第一方面,本申请实施例提供了一种信息传输方法,应用于第一电子设备,所述方法包括:In the first aspect, the embodiment of the present application provides an information transmission method, which is applied to the first electronic device, and the method includes:

在当前界面上显示第一窗口;Display the first window on the current interface;

在检测到针对所述当前界面中的目标对象的第一操作的情况下,响应于所述第一操作,获取所述目标对象的目标对象信息;In the case of detecting a first operation on a target object in the current interface, acquiring target object information of the target object in response to the first operation;

在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息,所述目标通道为所述第一电子设备与所述第二电子设备之间的数据传输通道,n为正整数,m为大于或者等于n的正整数。When the second operation is detected, in response to the second operation, sending the target object information to n second electronic devices through n target channels among the m target channels in the first window, The target channel is a data transmission channel between the first electronic device and the second electronic device, n is a positive integer, and m is a positive integer greater than or equal to n.

第二方面,本申请实施例提供了一种信息传输装置,应用于第一电子设备,所述装置包括:In a second aspect, an embodiment of the present application provides an information transmission device, which is applied to a first electronic device, and the device includes:

窗口显示单元,用于在当前界面上显示第一窗口;a window display unit, configured to display the first window on the current interface;

目标对象信息获取单元,用于在检测到针对所述当前界面中的目标对象的第一操作的情况下,响应于所述第一操作,获取所述目标对象的目标对象信息;A target object information acquiring unit, configured to acquire target object information of the target object in response to the first operation in response to the first operation when a first operation on the target object in the current interface is detected;

通信单元,用于在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息,所述目标通道为所述第一电子设备与所述第二电子设备之间的数据传输通道,n为正整数,m为大于或者等于n的正整数。The communication unit is configured to, in the case of detecting the second operation, in response to the second operation, send the information to n second electronic devices through n target channels among the m target channels in the first window. The target object information, the target channel is a data transmission channel between the first electronic device and the second electronic device, n is a positive integer, and m is a positive integer greater than or equal to n.

第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面中的步骤的指令。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured by the above Executed by a processor, the above program includes instructions for executing the steps in the first aspect of the embodiments of the present application.

第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables the computer to execute Some or all of the steps described in one aspect.

第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, the embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute the program as implemented in the present application. Some or all of the steps described in the first aspect. The computer program product may be a software installation package.

可以看出,本申请实施例中,在当前界面上显示第一窗口,在检测针对所述当前界面中的目标对象的第一操作的情况下,响应于第一操作,获取目标对象的目标对象信息,在检测到第二操作的情况下,响应于第二操作,通过第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送目标对象信息,目标通道为第一电子设备与第二电子设备之间的数据传输通道,n为正整数,m为大于或者等于n的正整数。可见,电子设备的通过在当前界面上显示第一窗口,在检测到针对所述当前界面中的目标对象的第一操作的情况下,以响应于所述第一操作,获取所述目标对象的目标对象信息,进而实现在检测到第二操作的情况下,响应于所述第二操作,通过第一窗口的该电子设备与其他至少一个电子设备之间的至少一个数据传输通道,向其他至少一个电子设备中的部分或者全部发送该目标对象信息,拓展了数据传输的机制,提升了数据传输的智能性,同时,提高了数据传输的效率。It can be seen that in the embodiment of the present application, the first window is displayed on the current interface, and in the case of detecting the first operation on the target object in the current interface, the target object of the target object is obtained in response to the first operation Information, in the case of detecting the second operation, in response to the second operation, send target object information to n second electronic devices through n target channels in the m target channels of the first window, and the target channel is the first For a data transmission channel between an electronic device and a second electronic device, n is a positive integer, and m is a positive integer greater than or equal to n. It can be seen that, by displaying the first window on the current interface, the electronic device acquires the information of the target object in response to the first operation when the first operation on the target object in the current interface is detected. The target object information, so that when the second operation is detected, in response to the second operation, at least one data transmission channel between the electronic device and at least one other electronic device through the first window is sent to other at least one electronic device Part or all of an electronic device sends the target object information, which expands the mechanism of data transmission, improves the intelligence of data transmission, and at the same time improves the efficiency of data transmission.

附图说明Description of drawings

为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present invention. Ordinary technicians can also obtain other drawings based on these drawings on the premise of not paying creative work.

图1为本申请实施例提供的一种通信系统的流程示意图;FIG. 1 is a schematic flow diagram of a communication system provided by an embodiment of the present application;

图2为本申请实施例提供的一种信息传输方法的流程示意图;FIG. 2 is a schematic flowchart of an information transmission method provided by an embodiment of the present application;

图3为本申请实施例提供的一种电子设备的结构示意图;FIG. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

图4为本申请实施例提供的一种信息传输装置的功能模块组成框图。FIG. 4 is a block diagram of functional modules of an information transmission device provided by an embodiment of the present application.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、设备以及存储介质、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, device, storage medium, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally further include unlisted steps or units, or Other steps or elements inherent to these processes, methods, products or devices are optionally included.

本申请实施例的电子设备(包括第一电子设备和第二电子设备)是一种具有通信功能的设备,可以称为终端(terminal)、用户设备(user equipment,UE)、移动台(mobilestation,MS)、移动终端(mobile terminal,MT)、接入电子设备、车载电子设备、工业控制电子设备、UE单元、UE站、移动站、远方站、远程电子设备、移动设备、UE电子设备、无线通信设备、UE代理或UE装置等。电子设备可以是固定的或者移动的。需要说明的是,电子设备可以支持至少一种无线通信技术,例如LTE、新空口(new radio,NR)、宽带码分多址(widebandcode division multiple access,WCDMA)等。例如,电子设备可以是手机(mobile phone)、平板电脑(pad)、台式机、笔记本电脑、一体机、车载终端、虚拟现实(virtual reality,VR)电子设备、增强现实(augmented reality,AR)电子设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medicalsurgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportationsafety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digitalassistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、可穿戴设备、未来移动通信网络中的电子设备或者未来演进的公共移动陆地网络(public land mobile network,PLMN)中的电子设备等。在本申请的一些实施例中,电子设备还可以是具有收发功能的装置,例如芯片系统。其中,芯片系统可以包括芯片,还可以包括其它分立器件。The electronic device (including the first electronic device and the second electronic device) in the embodiment of the present application is a device with a communication function, which may be called a terminal (terminal), user equipment (user equipment, UE), mobile station (mobilestation, MS), mobile terminal (mobile terminal, MT), access electronic equipment, vehicle electronic equipment, industrial control electronic equipment, UE unit, UE station, mobile station, remote station, remote electronic equipment, mobile equipment, UE electronic equipment, wireless Communication equipment, UE proxy or UE device, etc. Electronic devices may be stationary or mobile. It should be noted that the electronic device may support at least one wireless communication technology, such as LTE, new radio (new radio, NR), wideband code division multiple access (widebandcode division multiple access, WCDMA), and the like. For example, the electronic device may be a mobile phone (mobile phone), a tablet computer (pad), a desktop computer, a notebook computer, an all-in-one computer, a vehicle terminal, a virtual reality (virtual reality, VR) electronic device, an augmented reality (augmented reality, AR) electronic device, etc. Equipment, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grid, transportation safety ( Wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, cellular phones, cordless phones, session initiation protocol (session initiation protocol, SIP) phones, wireless local loop Road (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, wearable devices, future mobile communication networks An electronic device or an electronic device in a future evolved public land mobile network (public land mobile network, PLMN), etc. In some embodiments of the present application, the electronic device may also be a device capable of transmitting and receiving, such as a chip system. Wherein, the chip system may include a chip, and may also include other discrete devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

目前,电子设备之间的数据交互,往往需要用户选中交互数据,通过打开应用程序的数据交互窗口进行数据分享。导致用户进行数据传输操作的步骤繁琐,因而导致设备间的数据传输不够智能,传输效率低。At present, the data interaction between electronic devices often requires the user to select the interactive data and share the data by opening the data interaction window of the application. The steps for users to perform data transmission operations are cumbersome, resulting in insufficient intelligence and low transmission efficiency between devices.

基于上述问题,本发明实施例提供了一种信息传输方法,详述如下。Based on the above problems, an embodiment of the present invention provides an information transmission method, which is described in detail as follows.

请参阅图1,图1是本申请实施例提供的一种通信系统的架构示意图。如图1所示,通信系统包括第一电子设备110和第二电子设备120,此处以b=3为例进行说明。第一电子设备110和第二电子设备120之间可以创建数据传输通道以进行数据传输,另外,第二电子设备120之间还可以互相通信。Please refer to FIG. 1 . FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application. As shown in FIG. 1 , the communication system includes a first electronic device 110 and a second electronic device 120 , where b=3 is taken as an example for illustration. A data transmission channel may be established between the first electronic device 110 and the second electronic device 120 for data transmission, and in addition, the second electronic devices 120 may also communicate with each other.

基于图1所示的系统架构,第一电子设备110在当前界面上显示第一窗口;在检测到针对所述当前界面中的目标对象的第一操作的情况下,响应于所述第一操作,获取所述目标对象的目标对象信息;在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息,所述目标通道为所述第一电子设备与所述第二电子设备之间的数据传输通道,n为正整数,m为大于或者等于n的正整数,拓展了数据传输的机制,提升了数据传输的智能性,同时,提高了数据传输的效率。需要说明的是,图1中所示的第一电子设备110和第二电子设备120的形态和数量仅用于举例,并不构成对本申请实施例的限定。Based on the system architecture shown in FIG. 1 , the first electronic device 110 displays a first window on the current interface; in the case of detecting a first operation on a target object in the current interface, responding to the first operation , to obtain the target object information of the target object; in the case of detecting the second operation, in response to the second operation, through the n target channels in the m target channels of the first window, to n The second electronic device sends the target object information, the target channel is a data transmission channel between the first electronic device and the second electronic device, n is a positive integer, and m is a positive integer greater than or equal to n , expand the mechanism of data transmission, improve the intelligence of data transmission, and at the same time, improve the efficiency of data transmission. It should be noted that the shapes and quantities of the first electronic device 110 and the second electronic device 120 shown in FIG. 1 are for example only, and do not constitute a limitation to the embodiment of the present application.

下面结合图2对本申请实施例中的一种信息传输方法进行说明,图2为本申请实施例提供的一种信息传输方法的流程示意图,方法应用于第一电子设备,方法具体包括以下步骤:An information transmission method in the embodiment of the present application is described below in conjunction with FIG. 2. FIG. 2 is a schematic flowchart of an information transmission method provided in the embodiment of the present application. The method is applied to the first electronic device, and the method specifically includes the following steps:

步骤101,在当前界面上显示第一窗口。Step 101, displaying a first window on the current interface.

其中,所述第一窗口为浮动窗口,若第一电子设备满足显示该第一窗口的条件,则当该第一电子设备的界面发生变化时,变化后的界面依然会显示该第一窗口。Wherein, the first window is a floating window, and if the first electronic device meets the conditions for displaying the first window, when the interface of the first electronic device changes, the changed interface will still display the first window.

进一步的,在当前界面上显示第一窗口的实现方式可以是:根据所述当前界面中的内容调整该第一窗口的位置和/或尺寸,以便于调整后的所述第一窗口不会遮挡所述当前界面中的内容。Further, the implementation manner of displaying the first window on the current interface may be: adjusting the position and/or size of the first window according to the content in the current interface, so that the adjusted first window will not block The content in the current interface.

可选的,显示该第一窗口的条件可以但不限于是:检测到所述第一电子设备的屏幕被点亮、检测到针对第一窗口的显示操作以及检测到所述第一电子设备创建首个目标通道。首个目标通道是指第一电子设备从第一状态到第二状态的过程中,第二状态的数据传输通道。第一状态是指不存在目标通道的状态,即是,未与第二电子设备进行通信连接的状态;第二状态是指存在一个目标通道的状态,即是,与一个第二电子设备进行通信连接的状态。Optionally, the conditions for displaying the first window may be but not limited to: detecting that the screen of the first electronic device is turned on, detecting a display operation for the first window, and detecting that the first electronic device has created first target channel. The first target channel refers to the data transmission channel of the second state during the process of the first electronic device from the first state to the second state. The first state refers to the state in which there is no target channel, that is, the state of not communicating with the second electronic device; the second state refers to the state in which there is a target channel, that is, communicating with a second electronic device The state of the connection.

进一步的,该第一电子设备在显示该第一窗口之后可以隐藏该第一窗口。其中,隐藏该第一窗口的条件可以是:在显示该第一窗口的第一时长内未检测到第一操作和/或第二操作。第一时长可以是5分钟,10分钟,15分钟,等等,不作具体限定,用户可以基于需要覆盖第一时长进行设置,即是,第一电子设备在显示该第一窗口的第一时长内,未检测到用户执行信息传输的相关操作,则隐藏该第一窗口。Further, the first electronic device may hide the first window after displaying the first window. Wherein, the condition for hiding the first window may be: the first operation and/or the second operation is not detected within the first duration of displaying the first window. The first duration can be 5 minutes, 10 minutes, 15 minutes, etc., without specific limitation, and the user can set it based on the need to cover the first duration, that is, the first electronic device displays the first window within the first duration , if it is not detected that the user performs an operation related to information transmission, the first window is hidden.

举例来说,第一电子设备能够在确定出未与第二电子设备进行通信连接到与一个第二电子设备进行通信连接的情况下,在当前界面上显示该第一窗口,显示该第一窗口后,若在第一时长内,未检测到用户执行信息传输的相关操作,则隐藏该第一窗口。For example, the first electronic device can display the first window on the current interface when it is determined that the first electronic device is not in communication with the second electronic device and is in communication with a second electronic device, and displaying the first window Afterwards, if it is not detected that the user performs an operation related to information transmission within the first period of time, the first window is hidden.

步骤102,在检测到针对所述当前界面中的目标对象的第一操作的情况下,响应于所述第一操作,获取所述目标对象的目标对象信息。Step 102, in a case where a first operation on the target object in the current interface is detected, in response to the first operation, acquire target object information of the target object.

其中,目标对象可以是正在运行的目标应用,或者,地图应用的应用界面中的信息点。Wherein, the target object may be a running target application, or an information point in an application interface of a map application.

可选的,所述响应于所述第一操作,获取所述目标对象的目标对象信息的实现方式但不限于:确定所述目标对象的目标对象类型;根据所述目标对象类型获取所述目标对象信息。Optionally, the method of obtaining the target object information of the target object in response to the first operation is but not limited to: determining the target object type of the target object; acquiring the target object according to the target object type object information.

可以理解的是,所述对象类型包括正在运行的目标应用的目标应用图标,或者,地图应用的应用界面中的信息点标识。It can be understood that the object type includes a target application icon of a running target application, or an information point identifier in an application interface of a map application.

可选的,所述根据所述目标对象类型获取所述目标对象信息,包括:若所述目标对象类型为所述地图应用的应用界面中的目标信息点标识,则获取所述目标信息点的所述目标对象信息,所述目标对象信息包括所述目标信息点的名称、地址、坐标。Optionally, the acquiring the target object information according to the target object type includes: if the target object type is a target information point identifier in the application interface of the map application, then acquiring the target information point The target object information includes the name, address, and coordinates of the target information point.

其中,所述名称可以是全称也可以是简称,不作具体限定。Wherein, the name may be a full name or an abbreviation, which is not specifically limited.

可选的,所述根据所述目标对象类型获取所述目标对象信息,包括:若所述目标对象类型为所述正在运行的目标应用的目标应用图标,则确定所述目标应用的目标应用类型;获取所述目标应用的运行状态;根据所述目标应用类型和所述运行状态,获取所述目标对象信息。Optionally, the acquiring the target object information according to the target object type includes: if the target object type is the target application icon of the running target application, determining the target application type of the target application ; Obtain the running state of the target application; and obtain the target object information according to the type of the target application and the running state.

其中,所述应用类型包括但不限于以下至少一种:音频播放应用、视频播放应用、音频通信应用、视频通信应用、图像应用以及新闻应用。Wherein, the application type includes but is not limited to at least one of the following: audio playback application, video playback application, audio communication application, video communication application, image application, and news application.

具体实现中,用户可以根据需要设置应用的应用类型。In specific implementation, the user can set the application type of the application according to needs.

可选的,所述根据所述目标应用类型和所述运行状态,获取所述目标对象信息可以是:若所述目标应用类型为音频播放应用,所述运行状态为正在播放第一音频,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第一音频的名称和/或关联信息、所述目标应用的应用名称。Optionally, the acquiring the target object information according to the target application type and the running state may be: if the target application type is an audio playback application and the running state is playing the first audio, then Acquire the target object information of the target application, where the target object information includes the name and/or associated information of the first audio, and the application name of the target application.

其中,第一音频可以包括但不限于歌曲音频、文章朗读音频,等等。Wherein, the first audio may include but not limited to song audio, article reading audio, and so on.

具体的,当第一音频为歌曲音频时,所述关联信息可以包括但不限于:演唱者信息、作词者信息、作曲者信息、音频录制者的信息、歌词以及网络地址中的至少一种。具体的,当第一音频为文章朗读音频时,所述关联信息可以包括但不限于:朗读者信息、文章作者信息以及文章内容中的至少一种。Specifically, when the first audio is song audio, the associated information may include but not limited to: at least one of singer information, lyricist information, composer information, audio recorder information, lyrics and network address. Specifically, when the first audio is an article reading audio, the associated information may include but not limited to: at least one of reader information, article author information, and article content.

可见,本示例中,电子设备能够在检测到针对正在播放音频的音频播放应用的第一操作的情况下,响应于该第一操作,获取该正在播放音频的名称和/或关联信息、该音频播放应用的应用名称,以便于将该正在播放音频的名称和/或关联信息、该音频播放应用的应用名称发送给需要进行数据分享的其他电子设备。It can be seen that in this example, when the electronic device detects the first operation on the audio playing application that is playing the audio, in response to the first operation, it can acquire the name and/or associated information of the audio being played, the audio The application name of the playing application, so as to send the name and/or associated information of the audio being played, and the application name of the audio playing application to other electronic devices that need to share data.

可选的,所述根据所述目标应用类型和所述运行状态,获取所述目标对象信息可以是:若所述目标应用类型为视频播放应用,所述运行状态为正在播放第一视频,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第一视频的名称和/或关联信息、所述目标应用的应用名称。Optionally, the acquiring the target object information according to the target application type and the running state may be: if the target application type is a video playback application and the running state is playing the first video, then Obtain the target object information of the target application, where the target object information includes the name and/or associated information of the first video, and the application name of the target application.

其中,第一视频可以包括但不限于音乐视频、电视剧视频,等等。Wherein, the first video may include but not limited to music video, TV drama video, and so on.

具体的,当第一视频为音乐视频时,所述关联信息可以包括但不限于:视频录制参与者信息、作词者信息、作曲者信息、视频录制者的信息、歌词以及网络地址中的至少一种。当第一视频为电视剧视频时,所述关联信息可以包括但不限于:电视剧演员信息、当前播放的剧集简介以及网络地址中的至少一种。Specifically, when the first video is a music video, the associated information may include but not limited to: at least one of video recording participant information, lyricist information, composer information, video recorder information, lyrics and network address kind. When the first video is a TV series video, the associated information may include but not limited to: at least one of TV series actor information, a brief introduction of a currently played series, and a network address.

可见,本示例中,电子设备能够在检测到针对正在播放视频的视频播放应用的第一操作的情况下,响应于该第一操作,获取该正在播放视频的名称和/或关联信息、该视频播放应用的应用名称,以便于将该正在播放视频的名称和/或关联信息、该视频播放应用的应用名称发送给需要进行数据分享的其他电子设备。It can be seen that in this example, when the electronic device detects the first operation on the video playing application that is playing the video, in response to the first operation, acquire the name and/or associated information of the video being played, the video The application name of the playback application, so as to send the name and/or associated information of the video being played, and the application name of the video playback application to other electronic devices that need to share data.

可选的,所述根据所述目标应用类型和所述运行状态,获取所述目标对象信息可以是:若所述目标应用类型为音频通信应用,所述运行状态为正在与第一用户语音通话,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第一用户的用户信息、所述目标应用的应用名称。Optionally, the acquiring the target object information according to the target application type and the running state may be: if the target application type is an audio communication application, the running state is being in a voice call with the first user , then acquire the target object information of the target application, where the target object information includes user information of the first user and an application name of the target application.

所述第一用户的用户信息包括但不限于所述第一用户的备注名称、昵称、电话号码、qq号、qq昵称、微信号以及微信昵称中的至少一种。The user information of the first user includes but is not limited to at least one of the first user's remark name, nickname, phone number, qq number, qq nickname, WeChat ID, and WeChat nickname.

可见,本示例中,电子设备能够在检测到针对正在进行音频通话的音频通信应用的第一操作的情况下,响应于该第一操作,获取该正在音频通话的音频通信应用的应用名称以及正在音频通话的用户的用户信息,以便于将该正在音频通话的音频通信应用的应用名称以及正在音频通话的用户的用户信息发送给需要进行数据分享的其他电子设备。It can be seen that in this example, when the electronic device detects the first operation on the audio communication application that is making an audio call, in response to the first operation, it can acquire the application name and the current status of the audio communication application that is making an audio call. The user information of the user in the audio call, so as to send the application name of the audio communication application in the audio call and the user information of the user in the audio call to other electronic devices that need to share data.

可选的,所述根据所述目标应用类型和所述运行状态,获取所述目标对象信息可以是:若所述目标应用类型为视频通信应用,所述运行状态为正在与第二用户视频通话,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第二用户的用户信息、所述目标应用的应用名称。Optionally, the acquiring the target object information according to the target application type and the running state may be: if the target application type is a video communication application, the running state is video calling with a second user , then acquire the target object information of the target application, where the target object information includes user information of the second user and an application name of the target application.

所述第二用户的用户信息包括但不限于所述第二用户的备注名称、昵称、电话号码、qq号、qq昵称、微信号以及微信昵称中的至少一种。The user information of the second user includes but is not limited to at least one of the second user's remark name, nickname, phone number, qq number, qq nickname, WeChat ID and WeChat nickname.

可见,本示例中,电子设备能够在检测到针对正在进行视频通话的视频通信应用的第一操作的情况下,响应于该第一操作,获取该正在视频通话的视频通信应用的应用名称以及正在视频通话的用户的用户信息,以便于将该正在视频通话的视频通信应用的应用名称以及正在视频通话的用户的用户信息发送给需要进行数据分享的其他电子设备。It can be seen that, in this example, when the electronic device detects the first operation on the video communication application that is making the video call, in response to the first operation, it can acquire the application name and the current status of the video communication application that is making the video call. The user information of the user who is making the video call, so as to send the application name of the video communication application that is making the video call and the user information of the user who is making the video call to other electronic devices that need to share data.

可选的,所述根据所述目标应用类型和所述运行状态,获取所述目标对象信息可以是:若所述目标应用类型为图片应用,所述运行状态为正在展示图片,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述正在展示的图片。Optionally, the acquiring the target object information according to the target application type and the running state may be: if the target application type is a picture application and the running state is displaying pictures, then acquiring the The target object information of the target application, where the target object information includes the picture being displayed.

可见,本示例中,电子设备能够在检测到针对正在进行图片展示的图片应用的第一操作的情况下,响应于该第一操作,获取该正在展示的图片,以便于将该正在展示的图片发送给需要进行数据分享的其他电子设备。It can be seen that, in this example, when the electronic device detects that the first operation is being applied to the picture being displayed, it can respond to the first operation to acquire the picture being displayed, so that the picture being displayed can be Send to other electronic devices that need to share data.

可选的,所述根据所述目标应用类型和所述运行状态,获取所述目标对象信息可以是:若所述目标应用类型为新闻应用,所述运行状态为正在播报新闻,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述正在播报的新闻内容。Optionally, the acquiring the target object information according to the target application type and the running state may be: if the target application type is a news application and the running state is broadcasting news, then obtaining the The target object information of the target application, where the target object information includes the news content being broadcast.

可见,本示例中,电子设备能够在检测到针对正在播报新闻的新闻应用的第一操作的情况下,响应于该第一操作,获取该正在播报的新闻内容,以便于将该正在播报的新闻内容发送给需要进行数据分享的其他电子设备。It can be seen that in this example, when the electronic device detects the first operation on the news application that is broadcasting the news, it can respond to the first operation to obtain the content of the news that is being broadcast, so that the news that is being broadcast The content is sent to other electronic devices that require data sharing.

其中,所述第一操作,包括以下任意一种:针对所述目标对象的单次点击操作;针对所述目标对象的多次点击操作;针对所述目标对象的点击时长超过第一时长的操作;针对所述目标对象的第一目标语音指令;针对所述目标对象的第一目标手势。Wherein, the first operation includes any of the following: a single click operation on the target object; multiple click operations on the target object; an operation in which the click duration of the target object exceeds the first duration ; a first target voice command for the target object; a first target gesture for the target object.

其中,所述多次点击操作可以是2次、3次,等等,不作具体限定。其中,所述第一时长可以是3秒、5秒、两秒,等等,不作具体限定。第一目标语音指令可以是类似“分享正在播放的音乐”、“分享正在播放的电视剧”等等的语音指令,具体实现中,用户可以根据需要设置该第一目标语音指令。第一目标手势可以是单个手势,如“比耶”的手势,“握拳”的手势,等等,第一目标手势也可以是连续手势,如伸出食指由下向上滑动,如伸出食指由左向右滑动,等等,用户可以根据需要设置该第一目标手势,对该第一目标手势不作具体限定。Wherein, the multiple click operations may be 2 times, 3 times, etc., which are not specifically limited. Wherein, the first duration may be 3 seconds, 5 seconds, two seconds, etc., which is not specifically limited. The first target voice command may be a voice command such as "share the music being played", "share the TV series being played", etc. In specific implementation, the user may set the first target voice command as required. The first target gesture can be a single gesture, such as the gesture of "Bye", the gesture of "clenching a fist", etc., and the first target gesture can also be a continuous gesture, such as extending the index finger and sliding from bottom to top, such as extending the index finger by Sliding from left to right, etc., the user can set the first target gesture as required, and the first target gesture is not specifically limited.

步骤103,在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息,所述目标通道为所述第一电子设备与所述第二电子设备之间的数据传输通道,n为正整数,m为大于或者等于n的正整数。Step 103, when the second operation is detected, in response to the second operation, send the target to n second electronic devices through n target channels among the m target channels in the first window For object information, the target channel is a data transmission channel between the first electronic device and the second electronic device, n is a positive integer, and m is a positive integer greater than or equal to n.

其中,所述m个目标通道为所述第一电子设备与m个所述第二电子设备之间建立的数据传输通道。一个目标通道对应一个第二电子设备。Wherein, the m target channels are data transmission channels established between the first electronic device and the m second electronic devices. One target channel corresponds to one second electronic device.

其中,第二操作是指针对所述第一窗口的所有目标通道中的部分或者全部目标通道的选定操作。Wherein, the second operation refers to a selection operation for some or all of the target channels in the first window.

举例来说,电子设备A与电子设备B建立目标通道1,电子设备A与电子设备C建立目标通道2,电子设备A与电子设备D建立目标通道3,电子设备A与电子设备E建立目标通道4。当用户选定电子设备A的目标通道1和目标通道3时,则电子设备A会通过目标通道1将待发送的信息发送到电子设备B以及通过目标通道3将待发送的信息发送到电子设备D。当用户选定电子设备A的目标通道1、目标通道2、目标通道3以及目标通道4时,则电子设备A会通过目标通道1将待发送的信息发送到电子设备B、通过目标通道2将待发送的信息发送到电子设备C,通过目标通道3将待发送的信息发送到电子设备D,通过目标通道4将待发送的信息发送到电子设备E。For example, electronic device A and electronic device B establish target channel 1, electronic device A and electronic device C establish target channel 2, electronic device A and electronic device D establish target channel 3, electronic device A and electronic device E establish target channel 4. When the user selects target channel 1 and target channel 3 of electronic device A, electronic device A will send the information to be sent to electronic device B through target channel 1 and send the information to be sent to electronic device through target channel 3 d. When the user selects target channel 1, target channel 2, target channel 3, and target channel 4 of electronic device A, electronic device A will send the information to be sent to electronic device B through target channel 1, and send information to electronic device B through target channel 2. The information to be sent is sent to the electronic device C, the information to be sent is sent to the electronic device D through the target channel 3 , and the information to be sent is sent to the electronic device E through the target channel 4 .

其中,所述第一窗口包括m个第一控件,一个所述第一控件对应一个所述目标通道。Wherein, the first window includes m first controls, and one first control corresponds to one target channel.

进一步的,所述在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息,包括:若所述第二操作为针对所述m个第一控件中的n个第一控件的第一选定操作,则通过所述第一窗口的与所述n个第一控件对应的n个目标通道,向n个第二电子设备发送所述目标对象信息。Further, when the second operation is detected, in response to the second operation, the n target channels among the m target channels in the first window are used to send the received information to n second electronic devices. The target object information includes: if the second operation is the first selected operation for the n first controls among the m first controls, through the first window and the nth The n target channels corresponding to a control send the target object information to n second electronic devices.

举例来说,电子设备A与电子设备B建立目标通道1,第一窗口中会显示目标通道1对应的第一控件1,电子设备A与电子设备C建立目标通道2,第一窗口中会显示目标通道2对应的第一控件2,电子设备A与电子设备D建立目标通道3,第一窗口中会显示目标通道3对应的第一控件3,电子设备A与电子设备E建立目标通道4,第一窗口中会显示目标通道4对应的第一控件4,电子设备A与电子设备F建立目标通道5,第一窗口中会显示目标通道5对应的第一控件5。当用户选定第一窗口中的第一控件2和第一控件5时,则电子设备A会通过目标通道2将待发送的信息发送到电子设备B以及通过目标通道5将待发送的信息发送到电子设备F。当用户选定电子设备A的第一控件1、第一控件2、第一控件3、第一控件4、第一控件5时,则电子设备A会通过目标通道1将待发送的信息发送到电子设备B、通过目标通道2将待发送的信息发送到电子设备C、通过目标通道3将待发送的信息发送到电子设备D、通过目标通道4将待发送的信息发送到电子设备E以及通过目标通道5将待发送的信息发送到电子设备F。For example, if electronic device A and electronic device B establish target channel 1, the first control 1 corresponding to target channel 1 will be displayed in the first window; if electronic device A and electronic device C establish target channel 2, the first window will display The first control 2 corresponding to the target channel 2, the electronic device A and the electronic device D establish the target channel 3, the first control 3 corresponding to the target channel 3 is displayed in the first window, the electronic device A and the electronic device E establish the target channel 4, The first control 4 corresponding to the target channel 4 will be displayed in the first window, and the electronic device A and the electronic device F establish the target channel 5, and the first control 5 corresponding to the target channel 5 will be displayed in the first window. When the user selects the first control 2 and the first control 5 in the first window, the electronic device A will send the information to be sent to the electronic device B through the target channel 2 and send the information to be sent through the target channel 5 to Electronics F. When the user selects the first control 1, the first control 2, the first control 3, the first control 4, and the first control 5 of the electronic device A, the electronic device A will send the information to be sent to Electronic device B sends the information to be sent to electronic device C through target channel 2, sends the information to be sent to electronic device D through target channel 3, sends the information to be sent to electronic device E through target channel 4, and passes The destination channel 5 sends the information to be sent to the electronic device F.

其中,所述m个第一控件中的每个第一控件为所述第一电子设备执行以下操作得到的:确定所述第一电子设备与第二电子设备首次建立通信连接;根据所述第一电子设备与所述第二电子设备之间的目标通道,生成与所述第二电子设备对应的第一控件。Wherein, each of the m first controls is obtained by the first electronic device performing the following operations: determining that the first electronic device establishes a communication connection with the second electronic device for the first time; according to the first electronic device A target channel between an electronic device and the second electronic device generates a first control corresponding to the second electronic device.

举例来说,当电子设备A确定出与电子设备B首次建立通信连接,根据电子设备A与电子设备B之间的目标通道1,生成与电子设备B对应的第一控件1,当电子设备A确定出与电子设备C首次建立通信连接,根据电子设备A与电子设备C之间的目标通道2,生成与电子设备C对应的第一控件2。For example, when electronic device A determines to establish a communication connection with electronic device B for the first time, a first control 1 corresponding to electronic device B is generated according to the target channel 1 between electronic device A and electronic device B. When electronic device A It is determined that the communication connection with the electronic device C is established for the first time, and the first control 2 corresponding to the electronic device C is generated according to the target channel 2 between the electronic device A and the electronic device C.

可以看出,本申请实施例中,在当前界面上显示第一窗口,在检测针对所述当前界面中的目标对象的第一操作的情况下,响应于第一操作,获取目标对象的目标对象信息,在检测到第二操作的情况下,响应于第二操作,通过第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送目标对象信息,目标通道为第一电子设备与第二电子设备之间的数据传输通道,n为正整数,m为大于或者等于n的正整数。可见,电子设备的通过在当前界面上显示第一窗口,在检测到针对所述当前界面中的目标对象的第一操作的情况下,以响应于所述第一操作,获取所述目标对象的目标对象信息,进而实现在检测到第二操作的情况下,响应于所述第二操作,通过第一窗口的该电子设备与其他至少一个电子设备之间的至少一个数据传输通道,向其他至少一个电子设备中的部分或者全部发送该目标对象信息,拓展了数据传输的机制,提升了数据传输的智能性,同时,提高了数据传输的效率。It can be seen that in the embodiment of the present application, the first window is displayed on the current interface, and in the case of detecting the first operation on the target object in the current interface, the target object of the target object is obtained in response to the first operation Information, in the case of detecting the second operation, in response to the second operation, send target object information to n second electronic devices through n target channels in the m target channels of the first window, and the target channel is the first For a data transmission channel between an electronic device and a second electronic device, n is a positive integer, and m is a positive integer greater than or equal to n. It can be seen that, by displaying the first window on the current interface, the electronic device acquires the information of the target object in response to the first operation when the first operation on the target object in the current interface is detected. The target object information, so that when the second operation is detected, in response to the second operation, at least one data transmission channel between the electronic device and at least one other electronic device through the first window is sent to other at least one electronic device Part or all of an electronic device sends the target object information, which expands the mechanism of data transmission, improves the intelligence of data transmission, and at the same time improves the efficiency of data transmission.

在一个可能的示例中,所述在当前界面上显示第一窗口之后,所述方法还包括:在所述目标应用类型为音频通信应用,所述运行状态为正在与第一用户语音通话的情况下,若检测到第三操作,则响应于所述第三操作,对所述当前语音通话内容进行录音;在检测到当前语音通话结束时,结束当前录音进程,得到目标录音;确定检测到所述第二操作,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标录音。In a possible example, after the first window is displayed on the current interface, the method further includes: when the target application type is an audio communication application, and the running state is a voice call with the first user Next, if the third operation is detected, the content of the current voice call is recorded in response to the third operation; when the end of the current voice call is detected, the current recording process is ended to obtain the target recording; The second operation, in response to the second operation, sending the target recording to n second electronic devices through n target channels among the m target channels in the first window.

其中,所述第三操作,包括但不限于以下任意一种:针对所述当前语音通话的第二目标语音指令;针对所述当前语音通话的第二目标手势。Wherein, the third operation includes, but is not limited to, any one of the following: a second target voice command for the current voice call; a second target gesture for the current voice call.

第二目标语音指令可以是类似“录制并分享当前语音通话内容”、“录制语音通话内容”等等的语音指令,具体实现中,用户可以根据需要设置该第二目标语音指令,第二目标语音指令与第一目标语音指令不同。第二目标手势可以是单个手势,如“比ok的的手势,“竖起大拇指”的手势,等等,第二目标手势也可以是连续手势,如伸出食指由下向上滑动,用户可以根据需要设置该第二目标手势,对该第二目标手势不作具体限定,第二目标手势与第一目标手势不同。The second target voice command can be a voice command like "record and share the content of the current voice call", "record the content of the voice call" and so on. In the specific implementation, the user can set the second target voice command as needed. The instruction is different from the first target voice instruction. The second target gesture can be a single gesture, such as a gesture of "better than ok", a gesture of "thumbs up", etc., and the second target gesture can also be a continuous gesture, such as extending the index finger and sliding from bottom to top, the user can The second target gesture is set as required, and the second target gesture is not specifically limited, and the second target gesture is different from the first target gesture.

可见,本示例中,电子设备能够在所述目标应用类型为音频通信应用,所述运行状态为正在与第一用户语音通话的情况下,若检测到第三操作,则响应于所述第三操作,对所述当前语音通话内容进行录音,并在检测到当前语音通话结束时,结束当前录音进程,得到目标录音,以及在确定检测到所述第二操作的情况下,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标录音。It can be seen that in this example, when the target application type is an audio communication application and the running state is a voice call with the first user, if a third operation is detected, the electronic device can respond to the third operation. Operation, recording the content of the current voice call, and when the end of the current voice call is detected, ending the current recording process to obtain the target recording, and when it is determined that the second operation is detected, through the first The n target channels among the m target channels in the window send the target recordings to the n second electronic devices.

在一个可能的示例中,所述在当前界面上显示第一窗口之后,所述方法还包括:在检测到所述第一电子设备与任意一个所述第二电子设备断开通信连接的情况下,更新所述第一窗口,更新后的所述第一窗口不包括与断开通信连接后的所述第二电子设备对应的第一控件,或者,更新后的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式和更新前的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式不同。In a possible example, after the first window is displayed on the current interface, the method further includes: when it is detected that the communication connection between the first electronic device and any one of the second electronic devices is disconnected , updating the first window, the updated first window does not include the first control corresponding to the second electronic device after the communication connection is disconnected, or, the updated first window is disconnected from the The display mode of the first control corresponding to the second electronic device after the communication connection is opened and the display mode of the first control corresponding to the second electronic device after the communication connection is disconnected in the first window before updating different.

其中显示方式不同可以是尺寸,和/或,颜色不同。The different display methods may be different sizes, and/or, different colors.

举例来说,电子设备A与电子设备B建立目标通道1,电子设备A与电子设备C建立目标通道2,电子设备A与电子设备D建立目标通道3,电子设备A与电子设备E建立目标通道4,电子设备A与电子设备F建立目标通道5,则第一窗口中会显示目标通道1对应的第一控件1、目标通道2对应的第一控件2、目标通道3对应的第一控件3、目标通道4对应的第一控件4以及目标通道5对应的第一控件5。当电子设备A与电子设备C断开通信连接的情况下,则第一窗口中不会显示目标通道2对应的第一控件2;或者,当电子设备A与电子设备C断开通信连接的情况下,则第一窗口中目标通道2对应的第一控件2的尺寸变小;或者,当电子设备A与电子设备C断开通信连接的情况下,则第一窗口中目标通道2对应的第一控件2的颜色变浅;或者,当电子设备A与电子设备C断开通信连接的情况下,则第一窗口中目标通道2对应的第一控件2的尺寸变小且颜色变浅,等等,不作具体限定。For example, electronic device A and electronic device B establish target channel 1, electronic device A and electronic device C establish target channel 2, electronic device A and electronic device D establish target channel 3, electronic device A and electronic device E establish target channel 4. Electronic device A and electronic device F establish target channel 5, then the first control 1 corresponding to target channel 1, the first control 2 corresponding to target channel 2, and the first control 3 corresponding to target channel 3 will be displayed in the first window , the first control 4 corresponding to the target channel 4 and the first control 5 corresponding to the target channel 5 . When electronic device A and electronic device C are disconnected in communication, the first control 2 corresponding to target channel 2 will not be displayed in the first window; or, when electronic device A and electronic device C are disconnected in communication Next, the size of the first control 2 corresponding to the target channel 2 in the first window becomes smaller; The color of a control 2 becomes lighter; or, when the communication connection between the electronic device A and the electronic device C is disconnected, the size of the first control 2 corresponding to the target channel 2 in the first window becomes smaller and the color becomes lighter, etc. etc., without specific limitation.

在一个可能的示例中,所述在当前界面上显示第一窗口之后,所述方法还包括:在检测到所述第一电子设备与任意一个所述第二电子设备断开通信连接的时长超过第二时长时,更新所述第一窗口,更新后的所述第一窗口不包括与断开通信连接后的所述第二电子设备对应的第一控件,或者,更新后的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式和更新前的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式不同。In a possible example, after the first window is displayed on the current interface, the method further includes: after detecting that the communication connection between the first electronic device and any one of the second electronic devices has been disconnected for longer than For the second duration, the first window is updated, and the updated first window does not include the first control corresponding to the second electronic device after the communication connection is disconnected, or, the updated first window The display mode of the first control corresponding to the second electronic device after disconnection of the communication connection in the window and the first control corresponding to the second electronic device after disconnection of the communication connection in the first window before updating Controls are displayed differently.

其中,第二时长可以是5分钟,10分钟,15分钟,等等,不作具体限定,用户可以根据需要对该第二时长进行设置。Wherein, the second duration may be 5 minutes, 10 minutes, 15 minutes, etc., which are not specifically limited, and the user may set the second duration as required.

举例来说,第二时长为5分钟时,电子设备A与电子设备B建立目标通道1,电子设备A与电子设备C建立目标通道2,电子设备A与电子设备D建立目标通道3,电子设备A与电子设备E建立目标通道4,电子设备A与电子设备F建立目标通道5,则第一窗口中会显示目标通道1对应的第一控件1、目标通道2对应的第一控件2、目标通道3对应的第一控件3、目标通道4对应的第一控件4以及目标通道5对应的第一控件5。当电子设备A与电子设备C断开通信连接的时长超过5分钟时,则第一窗口中不会显示目标通道2对应的第一控件2;或者,当电子设备A与电子设备C断开通信连接的时长超过5分钟时,则第一窗口中目标通道2对应的第一控件2的尺寸变小;或者,当电子设备A与电子设备C断开通信连接的时长超过5分钟时,则第一窗口中目标通道2对应的第一控件2的颜色变浅;或者,当电子设备A与电子设备C断开通信连接的时长超过5分钟时,则第一窗口中目标通道2对应的第一控件2的尺寸变小且颜色变浅,等等,不作具体限定。For example, when the second duration is 5 minutes, electronic device A and electronic device B establish target channel 1, electronic device A and electronic device C establish target channel 2, electronic device A and electronic device D establish target channel 3, electronic device A establishes target channel 4 with electronic device E, and electronic device A establishes target channel 5 with electronic device F, then the first control 1 corresponding to target channel 1, the first control 2 corresponding to target channel 2, and the target The first control 3 corresponding to the channel 3 , the first control 4 corresponding to the target channel 4 , and the first control 5 corresponding to the target channel 5 . When electronic device A and electronic device C are disconnected for more than 5 minutes, the first control 2 corresponding to target channel 2 will not be displayed in the first window; or, when electronic device A and electronic device C are disconnected When the duration of the connection exceeds 5 minutes, the size of the first control 2 corresponding to the target channel 2 in the first window becomes smaller; or, when the electronic device A and electronic device C are disconnected for more than 5 minutes, the first The color of the first control 2 corresponding to the target channel 2 in the first window becomes lighter; or, when electronic device A and electronic device C are disconnected for more than 5 minutes, the first control 2 corresponding to the target channel 2 in the first window The size of the control 2 becomes smaller and the color becomes lighter, etc., which are not specifically limited.

在一个可能的示例中,所述若所述第二操作为针对所述m个第一控件中的n个第一控件的第一选定操作,则通过所述第一窗口的与所述n个第一控件对应的n个目标通道,向n个第二电子设备发送所述目标对象信息,包括根据所述n个第一控件中的每个所述第一控件执行如下操作:检测到针对当前第一控件的选定操作;确定所述第一电子设备与目标第二电子设备断开通信连接的时长小于所述第三时长,所述目标第二电子设备为与所述当前第一控件对应的第二电子设备;若检测到所述第一电子设备与所述目标第二电子设备建立通信连接,则通过所述第一电子设备与所述目标第二电子设备之间的目标通道,向所述目标第二电子设备发送所述目标对象信息。In a possible example, if the second operation is a first selection operation for n first controls among the m first controls, then through the first window and the n For the n target channels corresponding to the first controls, sending the target object information to the n second electronic devices includes performing the following operations according to each of the n first controls: Selected operation of the current first control; determining that the time period for disconnecting the communication connection between the first electronic device and the target second electronic device is less than the third time period, and the target second electronic device is connected with the current first control the corresponding second electronic device; if it is detected that the first electronic device establishes a communication connection with the target second electronic device, passing through the target channel between the first electronic device and the target second electronic device, sending the target object information to the target second electronic device.

其中,第三时长可以是1个小时,一天,15天,等等,不作具体限定。Wherein, the third duration may be 1 hour, one day, 15 days, etc., and is not specifically limited.

举例来说,第三时长为15天时,若电子设备A与电子设备B建立目标通道1,第一窗口中会显示目标通道1对应的第一控件1,当电子设备A与电子设备B断开连接的时长小于15天的情况下,若电子设备A检测到针对所述当前界面中的目标对象的第一操作,检测到针对当前第一控件的选定操作,且在15天之内该电子设备A与电子设备B重新建立通信连接,则电子设备A通过与电子设备B重新建立通信连接对应的目标通道,向电子设备B发送该目标对象的目标对象信息。For example, when the third duration is 15 days, if electronic device A and electronic device B establish target channel 1, the first control 1 corresponding to target channel 1 will be displayed in the first window, and when electronic device A and electronic device B are disconnected If the connection duration is less than 15 days, if electronic device A detects the first operation on the target object in the current interface, detects the selected operation on the current first control, and within 15 days, the electronic device A When device A re-establishes a communication connection with electronic device B, electronic device A sends the target object information of the target object to electronic device B through the target channel corresponding to the re-established communication connection with electronic device B.

在一个可能的示例中,所述第一窗口包括第二控件,所述第二控件与所述m个目标通道对应。In a possible example, the first window includes a second control, and the second control corresponds to the m target channels.

在一个可能的示例中,在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息,包括:若所述第二操作为针对所述第二控件的第二选定操作,则通过所述第一窗口的m个目标通道,向m个第二电子设备发送所述目标对象信息。In a possible example, when the second operation is detected, in response to the second operation, through the n target channels in the m target channels of the first window, the n second electronic devices Sending the target object information includes: if the second operation is a second selected operation for the second control, sending the information to m second electronic devices through m target channels of the first window The target object information.

举例来说,电子设备A与电子设备B建立目标通道1,电子设备A与电子设备C建立目标通道2,电子设备A与电子设备D建立目标通道3,电子设备A与电子设备E建立目标通道4,电子设备A与电子设备F建立目标通道5,则第一窗口中会显示目标通道1、目标通道2、目标通道3、目标通道4以及目标通道5五者共同对应的第二控件。若所述第二操作为针对所述第二控件的第二选定操作,则电子设备A会通过目标通道1将待发送的信息发送到电子设备B、通过目标通道2将待发送的信息(也即目标对象信息)发送到电子设备C、通过目标通道3将待发送的信息发送到电子设备D、通过目标通道4将待发送的信息发送到电子设备E以及通过目标通道5将待发送的信息发送到电子设备F。For example, electronic device A and electronic device B establish target channel 1, electronic device A and electronic device C establish target channel 2, electronic device A and electronic device D establish target channel 3, electronic device A and electronic device E establish target channel 4. The electronic device A and the electronic device F establish the target channel 5, and the second control corresponding to the target channel 1, the target channel 2, the target channel 3, the target channel 4 and the target channel 5 will be displayed in the first window. If the second operation is the second selected operation for the second control, electronic device A will send the information to be sent to electronic device B through target channel 1, and send the information to be sent to electronic device B through target channel 2 ( That is, the target object information) is sent to the electronic device C, the information to be sent is sent to the electronic device D through the target channel 3, the information to be sent is sent to the electronic device E through the target channel 4, and the information to be sent is sent to the electronic device E through the target channel 5 The information is sent to electronic device F.

在一个可能的示例中,所述第一控件的生成方式,包括:在检测到所述第一电子设备与第二电子设备建立通信连接时,获取所述第二电子设备的设备标识;判断所述第一窗口中是否包括所述第二电子设备对应的第一控件;若否,则根据所述设备标识,生成与所述第二电子设备对应的第一控件。In a possible example, the method for generating the first control includes: when it is detected that the first electronic device establishes a communication connection with the second electronic device, obtaining the device identifier of the second electronic device; Whether the first control corresponding to the second electronic device is included in the first window; if not, the first control corresponding to the second electronic device is generated according to the device identification.

其中,所述设备标识可以是第一电子设备的用户命名的设备标识,也可以是第二电子设备的用户命名的设备标识,还可以是电子设备自身携带的设备标识,等等,对设备标识的设置方式不作具体限定。此外,一个电子设备对应一个标识,不同的电子设备对应不同的设备标识。Wherein, the device identifier may be a device identifier named by the user of the first electronic device, may also be a device identifier named by the user of the second electronic device, or may be a device identifier carried by the electronic device itself, and so on. The setting method is not specifically limited. In addition, one electronic device corresponds to one identifier, and different electronic devices correspond to different device identifiers.

可见,本示例中,电子设备能够基于与该电子设备进行通信连接的其他设备的设备标识生成相应的第一控件,以便于用户在进行数据(如目标对象信息)分享操作时,便于选择接收数据的电子设备。It can be seen that in this example, the electronic device can generate a corresponding first control based on the device identification of other devices that communicate with the electronic device, so that the user can easily choose to receive data when sharing data (such as target object information). electronic equipment.

上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的模块、单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of executing the process on the method side. It can be understood that, in order to realize the above functions, the electronic device includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that, in combination with the modules, units and algorithm steps of the examples described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

与上述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种电子设备300的结构示意图,如图3所示,所述电子设备300包括应用处理器310、存储器320、通信接口330以及一个或多个程序321,其中,所述一个或多个程序321被存储在上述存储器320中,并且被配置由上述应用处理器310执行,所述一个或多个程序321包括用于执行以下步骤的指令;Consistent with the above embodiment shown in FIG. 2, please refer to FIG. 3. FIG. 3 is a schematic structural diagram of an electronic device 300 provided in an embodiment of the present application. As shown in FIG. 3, the electronic device 300 includes an application processor 310, memory 320, communication interface 330, and one or more programs 321, wherein the one or more programs 321 are stored in the memory 320 and are configured to be executed by the application processor 310, the one or more A program 321 includes instructions for performing the following steps;

在当前界面上显示第一窗口;Display the first window on the current interface;

在检测到针对所述当前界面中的目标对象的第一操作的情况下,响应于所述第一操作,获取所述目标对象的目标对象信息;In the case of detecting a first operation on a target object in the current interface, acquiring target object information of the target object in response to the first operation;

在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息,所述目标通道为所述第一电子设备与所述第二电子设备之间的数据传输通道,n为正整数,m为大于或者等于n的正整数。When the second operation is detected, in response to the second operation, sending the target object information to n second electronic devices through n target channels among the m target channels in the first window, The target channel is a data transmission channel between the first electronic device and the second electronic device, n is a positive integer, and m is a positive integer greater than or equal to n.

可以看出,本申请实施例中,在当前界面上显示第一窗口,在检测针对所述当前界面中的目标对象的第一操作的情况下,响应于第一操作,获取目标对象的目标对象信息,在检测到第二操作的情况下,响应于第二操作,通过第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送目标对象信息,目标通道为第一电子设备与第二电子设备之间的数据传输通道,n为正整数,m为大于或者等于n的正整数。可见,电子设备的通过在当前界面上显示第一窗口,在检测到针对所述当前界面中的目标对象的第一操作的情况下,以响应于所述第一操作,获取所述目标对象的目标对象信息,进而实现在检测到第二操作的情况下,响应于所述第二操作,通过第一窗口的该电子设备与其他至少一个电子设备之间的至少一个数据传输通道,向其他至少一个电子设备中的部分或者全部发送该目标对象信息,拓展了数据传输的机制,提升了数据传输的智能性,同时,提高了数据传输的效率。It can be seen that in the embodiment of the present application, the first window is displayed on the current interface, and in the case of detecting the first operation on the target object in the current interface, the target object of the target object is obtained in response to the first operation Information, in the case of detecting the second operation, in response to the second operation, send target object information to n second electronic devices through n target channels in the m target channels of the first window, and the target channel is the first For a data transmission channel between an electronic device and a second electronic device, n is a positive integer, and m is a positive integer greater than or equal to n. It can be seen that, by displaying the first window on the current interface, the electronic device acquires the information of the target object in response to the first operation when the first operation on the target object in the current interface is detected. The target object information, so that when the second operation is detected, in response to the second operation, at least one data transmission channel between the electronic device and at least one other electronic device through the first window is sent to other at least one electronic device Part or all of an electronic device sends the target object information, which expands the mechanism of data transmission, improves the intelligence of data transmission, and at the same time improves the efficiency of data transmission.

在一个可能的示例中,在所述响应于所述第一操作,获取所述目标对象的目标对象信息方面,所述一个或多个程序321中的指令,具体用于:确定所述目标对象的目标对象类型;根据所述目标对象类型获取所述目标对象信息。In a possible example, in the aspect of acquiring target object information of the target object in response to the first operation, the instructions in the one or more programs 321 are specifically used to: determine the target object the target object type; acquire the target object information according to the target object type.

在一个可能的示例中,所述对象类型包括正在运行的目标应用的目标应用图标,或者,地图应用的应用界面中的信息点标识。In a possible example, the object type includes a target application icon of a running target application, or an information point identifier in an application interface of a map application.

在一个可能的示例中,在所述根据所述目标对象类型获取所述目标对象信息方面,所述一个或多个程序321中的指令,具体用于:若所述目标对象类型为所述地图应用的应用界面中的目标信息点标识,则获取所述目标信息点的所述目标对象信息,所述目标对象信息包括所述目标信息点的名称、地址、坐标;若所述目标对象类型为所述正在运行的目标应用的目标应用图标,则确定所述目标应用的目标应用类型;获取所述目标应用的运行状态;根据所述目标应用类型和所述运行状态,获取所述目标对象信息。In a possible example, in terms of acquiring the target object information according to the target object type, the instructions in the one or more programs 321 are specifically used to: if the target object type is the map The target information point identifier in the application interface of the application, the target object information of the target information point is obtained, and the target object information includes the name, address, and coordinates of the target information point; if the target object type is The target application icon of the running target application determines the target application type of the target application; obtains the running state of the target application; obtains the target object information according to the target application type and the running state .

在一个可能的示例中,所述应用类型包括以下至少一种:音频播放应用、视频播放应用、音频通信应用、视频通信应用、图像应用以及新闻应用。In a possible example, the application type includes at least one of the following: an audio playback application, a video playback application, an audio communication application, a video communication application, an image application, and a news application.

在一个可能的示例中,在所述根据所述目标应用类型和所述运行状态,获取所述目标对象信息方面,所述一个或多个程序321中的指令具体用于执行以下其中一种:若所述目标应用类型为音频播放应用,所述运行状态为正在播放第一音频,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第一音频的名称和/或关联信息、所述目标应用的应用名称;若所述目标应用类型为视频播放应用,所述运行状态为正在播放第一视频,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第一视频的名称和/或关联信息、所述目标应用的应用名称;若所述目标应用类型为音频通信应用,所述运行状态为正在与第一用户语音通话,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第一用户的用户信息、所述目标应用的应用名称;若所述目标应用类型为视频通信应用,所述运行状态为正在与第二用户视频通话,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第二用户的用户信息、所述目标应用的应用名称;若所述目标应用类型为图片应用,所述运行状态为正在展示图片,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述正在展示的图片;若所述目标应用类型为新闻应用,所述运行状态为正在播报新闻,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述正在播报的新闻内容。In a possible example, in terms of acquiring the target object information according to the target application type and the running state, the instructions in the one or more programs 321 are specifically configured to perform one of the following: If the type of the target application is an audio playback application and the running state is playing the first audio, then acquire the target object information of the target application, the target object information includes the name of the first audio and/or Or associated information, the application name of the target application; if the type of the target application is a video playback application, and the running state is playing the first video, then obtain the target object information of the target application, and the target The object information includes the name and/or associated information of the first video, and the application name of the target application; if the type of the target application is an audio communication application, and the running state is a voice call with the first user, then the The target object information of the target application, the target object information includes the user information of the first user and the application name of the target application; if the target application type is a video communication application, the running state is During a video call with a second user, acquire the target object information of the target application, where the target object information includes the user information of the second user and the application name of the target application; if the target application type is a picture application, and the running state is displaying pictures, then acquire the target object information of the target application, and the target object information includes the picture being displayed; if the target application type is a news application, the If the running state is broadcasting news, the target object information of the target application is acquired, and the target object information includes the news content being broadcast.

在一个可能的示例中,所述第一操作,包括以下任意一种:针对所述目标对象的单次点击操作;针对所述目标对象的多次点击操作;针对所述目标对象的点击时长超过第一时长的操作;针对所述目标对象的第一目标语音指令;针对所述目标对象的第一目标手势。In a possible example, the first operation includes any one of the following: a single click operation on the target object; multiple click operations on the target object; An operation of the first duration; a first target voice instruction for the target object; a first target gesture for the target object.

在一个可能的示例中,所述一个或多个程序321还包括用于执行以下步骤的指令:在当前界面上显示第一窗口之后,在所述目标应用类型为音频通信应用,所述运行状态为正在与第一用户语音通话的情况下,若检测到第三操作,则响应于所述第三操作,对所述当前语音通话内容进行录音;在检测到当前语音通话结束时,结束当前录音进程,得到目标录音;确定检测到所述第二操作,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标录音。In a possible example, the one or more programs 321 further include instructions for performing the following steps: after the first window is displayed on the current interface, when the target application type is an audio communication application, the running state In the case of a voice call with the first user, if a third operation is detected, the content of the current voice call is recorded in response to the third operation; when the end of the current voice call is detected, the current recording is ended process, obtain the target recording; determine that the second operation is detected, and in response to the second operation, send the n target channels to n second electronic devices through n target channels in the m target channels in the first window target recording.

在一个可能的示例中,所述第一窗口包括m个第一控件,一个所述第一控件对应一个所述目标通道。In a possible example, the first window includes m first controls, and one first control corresponds to one target channel.

在一个可能的示例中,所述在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息方面,所述一个或多个程序321中的指令,具体用于:若所述第二操作为针对所述m个第一控件中的n个第一控件的第一选定操作,则通过所述第一窗口的与所述n个第一控件对应的n个目标通道,向n个第二电子设备发送所述目标对象信息。In a possible example, when the second operation is detected, in response to the second operation, n target channels among the m target channels passing through the first window send to n second In terms of sending the target object information by the electronic device, the instructions in the one or more programs 321 are specifically used for: if the second operation is for the nth first controls among the m first controls When a selection operation is performed, the target object information is sent to n second electronic devices through n target channels of the first window corresponding to the n first controls.

在一个可能的示例中,所述m个第一控件中的每个第一控件为所述第一电子设备执行以下操作得到的:确定所述第一电子设备与第二电子设备首次建立通信连接;根据所述第一电子设备与所述第二电子设备之间的目标通道,生成与所述第二电子设备对应的第一控件。In a possible example, each of the m first controls is obtained by the first electronic device performing the following operations: determining that the first electronic device establishes a communication connection with the second electronic device for the first time ; Generate a first control corresponding to the second electronic device according to the target channel between the first electronic device and the second electronic device.

在一个可能的示例中,所述一个或多个程序321还包括用于执行以下步骤的指令:在当前界面上显示第一窗口之后,在检测到所述第一电子设备与任意一个所述第二电子设备断开通信连接的情况下,更新所述第一窗口,更新后的所述第一窗口不包括与断开通信连接后的所述第二电子设备对应的第一控件,或者,更新后的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式和更新前的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式不同。In a possible example, the one or more programs 321 further include instructions for performing the following steps: after displaying the first window on the current interface, after detecting that the first electronic device is in contact with any one of the first When the second electronic device disconnects the communication connection, update the first window, and the updated first window does not include the first control corresponding to the second electronic device after the communication connection is disconnected, or update The display mode of the first control corresponding to the second electronic device after disconnection of the communication connection in the first window after update and the display mode of the first control in the first window before updating and the second electronic device after disconnection of communication connection The display manners of the first controls corresponding to the electronic devices are different.

在一个可能的示例中,所述一个或多个程序321还包括用于执行以下步骤的指令:在当前界面上显示第一窗口之后,在检测到所述第一电子设备与任意一个所述第二电子设备断开通信连接的时长超过第二时长时,更新所述第一窗口,更新后的所述第一窗口不包括与断开通信连接后的所述第二电子设备对应的第一控件,或者,更新后的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式和更新前的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式不同。In a possible example, the one or more programs 321 further include instructions for performing the following steps: after displaying the first window on the current interface, after detecting that the first electronic device is in contact with any one of the first When the duration of the disconnection of the communication connection of the second electronic device exceeds the second duration, the first window is updated, and the updated first window does not include the first control corresponding to the second electronic device after the disconnection of the communication connection , or, the updated display mode of the first control in the first window corresponding to the second electronic device after the communication connection is disconnected and the display mode of the first control before the update in the first window after the communication connection is disconnected The display modes of the first controls corresponding to the second electronic device are different.

在一个可能的示例中,所述若所述第二操作为针对所述m个第一控件中的n个第一控件的第一选定操作,则通过所述第一窗口的与所述n个第一控件对应的n个目标通道,向n个第二电子设备发送所述目标对象信息,包括根据所述n个第一控件中的每个所述第一控件执行如下操作:检测到针对当前第一控件的选定操作;确定所述第一电子设备与目标第二电子设备断开通信连接的时长小于所述第三时长,所述目标第二电子设备为与所述当前第一控件对应的第二电子设备;若检测到所述第一电子设备与所述目标第二电子设备建立通信连接,则通过所述第一电子设备与所述目标第二电子设备之间的目标通道,向所述目标第二电子设备发送所述目标对象信息。In a possible example, if the second operation is a first selection operation for n first controls among the m first controls, then through the first window and the n For the n target channels corresponding to the first controls, sending the target object information to the n second electronic devices includes performing the following operations according to each of the n first controls: Selected operation of the current first control; determining that the time period for disconnecting the communication connection between the first electronic device and the target second electronic device is less than the third time period, and the target second electronic device is connected with the current first control the corresponding second electronic device; if it is detected that the first electronic device establishes a communication connection with the target second electronic device, passing through the target channel between the first electronic device and the target second electronic device, sending the target object information to the target second electronic device.

在一个可能的示例中,所述第一窗口包括第二控件,所述第二控件与所述m个目标通道对应。In a possible example, the first window includes a second control, and the second control corresponds to the m target channels.

在一个可能的示例中,所述在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息方面,所述一个或多个程序321中的指令,具体用于:若所述第二操作为针对所述第二控件的第二选定操作,则通过所述第一窗口的m个目标通道,向m个第二电子设备发送所述目标对象信息。In a possible example, when the second operation is detected, in response to the second operation, n target channels among the m target channels passing through the first window send to n second In terms of sending the target object information by the electronic device, the instructions in the one or more programs 321 are specifically used to: if the second operation is the second selected operation for the second control, then through the The m target channels of the first window send the target object information to the m second electronic devices.

在一个可能的示例中,所述第一控件的生成方式方面,所述一个或多个程序321中的指令,具体用于:在检测到所述第一电子设备与第二电子设备建立通信连接时,获取所述第二电子设备的设备标识;判断所述第一窗口中是否包括所述第二电子设备对应的第一控件;若否,则根据所述设备标识,生成与所述第二电子设备对应的第一控件。In a possible example, in terms of the generation method of the first control, the instructions in the one or more programs 321 are specifically used to: when it is detected that the first electronic device establishes a communication connection with the second electronic device , acquire the device identification of the second electronic device; judge whether the first control corresponding to the second electronic device is included in the first window; if not, generate a control corresponding to the second electronic device according to the device identification The first control corresponding to the electronic device.

本申请实施例可以根据上述方法示例对电子设备进行功能模块和功能单元的划分,例如,可以对应各个功能划分各个模块以及各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元或者一个处理模块中。上述集成的模块和单元既可以采用硬件的形式实现,也可以采用软件功能模块和单元的形式实现。需要说明的是,本申请实施例中对模块和单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application can divide the electronic device into functional modules and functional units according to the above-mentioned method examples. For example, each module and each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing unit or a processing module. The above-mentioned integrated modules and units can be implemented in the form of hardware or in the form of software function modules and units. It should be noted that the division of modules and units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.

在采用对应各个功能划分各个功能模块和单元的情况下,下面结合图4对本申请实施例中的一种信息传输装置进行详细说明,如图4所示,信息传输装置400应用于电子设备,该信息传输装置400包括:In the case of dividing each functional module and unit corresponding to each function, an information transmission device in the embodiment of the present application will be described in detail below in conjunction with FIG. 4. As shown in FIG. 4, the information transmission device 400 is applied to electronic equipment. The information transmission device 400 includes:

窗口显示单元401,用于在当前界面上显示第一窗口;a window display unit 401, configured to display the first window on the current interface;

目标对象信息获取单元402,用于在检测到针对所述当前界面中的目标对象的第一操作的情况下,响应于所述第一操作,获取所述目标对象的目标对象信息;A target object information acquiring unit 402, configured to acquire target object information of the target object in response to the first operation when a first operation on the target object in the current interface is detected;

通信单元403,用于在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息,所述目标通道为所述第一电子设备与所述第二电子设备之间的数据传输通道,n为正整数,m为大于或者等于n的正整数。The communication unit 403 is configured to, in the case where the second operation is detected, in response to the second operation, send a message to n second electronic devices through n target channels among the m target channels in the first window For the target object information, the target channel is a data transmission channel between the first electronic device and the second electronic device, n is a positive integer, and m is a positive integer greater than or equal to n.

可以看出,本申请实施例中,在当前界面上显示第一窗口,在检测针对所述当前界面中的目标对象的第一操作的情况下,响应于第一操作,获取目标对象的目标对象信息,在检测到第二操作的情况下,响应于第二操作,通过第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送目标对象信息,目标通道为第一电子设备与第二电子设备之间的数据传输通道,n为正整数,m为大于或者等于n的正整数。可见,电子设备的通过在当前界面上显示第一窗口,在检测到针对所述当前界面中的目标对象的第一操作的情况下,以响应于所述第一操作,获取所述目标对象的目标对象信息,进而实现在检测到第二操作的情况下,响应于所述第二操作,通过第一窗口的该电子设备与其他至少一个电子设备之间的至少一个数据传输通道,向其他至少一个电子设备中的部分或者全部发送该目标对象信息,拓展了数据传输的机制,提升了数据传输的智能性,同时,提高了数据传输的效率。It can be seen that in the embodiment of the present application, the first window is displayed on the current interface, and in the case of detecting the first operation on the target object in the current interface, the target object of the target object is obtained in response to the first operation Information, in the case of detecting the second operation, in response to the second operation, send target object information to n second electronic devices through n target channels in the m target channels of the first window, and the target channel is the first For a data transmission channel between an electronic device and a second electronic device, n is a positive integer, and m is a positive integer greater than or equal to n. It can be seen that, by displaying the first window on the current interface, the electronic device acquires the information of the target object in response to the first operation when the first operation on the target object in the current interface is detected. The target object information, so that when the second operation is detected, in response to the second operation, at least one data transmission channel between the electronic device and at least one other electronic device through the first window is sent to other at least one electronic device Part or all of an electronic device sends the target object information, which expands the mechanism of data transmission, improves the intelligence of data transmission, and at the same time improves the efficiency of data transmission.

在一个可能的示例中,在所述响应于所述第一操作,获取所述目标对象的目标对象信息方面,所述目标对象信息获取单元402具体用于:确定所述目标对象的目标对象类型;根据所述目标对象类型获取所述目标对象信息。In a possible example, in terms of acquiring target object information of the target object in response to the first operation, the target object information obtaining unit 402 is specifically configured to: determine the target object type of the target object ; Obtain the target object information according to the target object type.

在一个可能的示例中,所述对象类型包括正在运行的目标应用的目标应用图标,或者,地图应用的应用界面中的信息点标识。In a possible example, the object type includes a target application icon of a running target application, or an information point identifier in an application interface of a map application.

在一个可能的示例中,在所述根据所述目标对象类型获取所述目标对象信息方面,所述目标对象信息获取单元402具体用于:若所述目标对象类型为所述地图应用的应用界面中的目标信息点标识,则获取所述目标信息点的所述目标对象信息,所述目标对象信息包括所述目标信息点的名称、地址、坐标;若所述目标对象类型为所述正在运行的目标应用的目标应用图标,则确定所述目标应用的目标应用类型;获取所述目标应用的运行状态;根据所述目标应用类型和所述运行状态,获取所述目标对象信息。In a possible example, in terms of acquiring the target object information according to the target object type, the target object information acquiring unit 402 is specifically configured to: if the target object type is an application interface of the map application The target information point identifier in the target information point, then obtain the target object information of the target information point, the target object information includes the name, address, and coordinates of the target information point; if the target object type is the running determine the target application type of the target application; obtain the running state of the target application; and obtain the target object information according to the target application type and the running state.

在一个可能的示例中,所述应用类型包括以下至少一种:音频播放应用、视频播放应用、音频通信应用、视频通信应用、图像应用以及新闻应用。In a possible example, the application type includes at least one of the following: an audio playback application, a video playback application, an audio communication application, a video communication application, an image application, and a news application.

在一个可能的示例中,在所述根据所述目标应用类型和所述运行状态,获取所述目标对象信息方面,所述目标对象信息获取单元402具体用于执行以下其中一种:若所述目标应用类型为音频播放应用,所述运行状态为正在播放第一音频,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第一音频的名称和/或关联信息、所述目标应用的应用名称;若所述目标应用类型为视频播放应用,所述运行状态为正在播放第一视频,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第一视频的名称和/或关联信息、所述目标应用的应用名称;若所述目标应用类型为音频通信应用,所述运行状态为正在与第一用户语音通话,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第一用户的用户信息、所述目标应用的应用名称;若所述目标应用类型为视频通信应用,所述运行状态为正在与第二用户视频通话,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述第二用户的用户信息、所述目标应用的应用名称;若所述目标应用类型为图片应用,所述运行状态为正在展示图片,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述正在展示的图片;若所述目标应用类型为新闻应用,所述运行状态为正在播报新闻,则获取所述目标应用的所述目标对象信息,所述目标对象信息包括所述正在播报的新闻内容。In a possible example, in terms of acquiring the target object information according to the target application type and the running state, the target object information acquiring unit 402 is specifically configured to perform one of the following: if the The target application type is an audio playback application, and the running state is playing the first audio, then the target object information of the target application is obtained, and the target object information includes the name and/or associated information of the first audio , the application name of the target application; if the type of the target application is a video playback application, and the running state is playing the first video, the target object information of the target application is obtained, and the target object information includes The name and/or associated information of the first video, and the application name of the target application; if the type of the target application is an audio communication application, and the running state is a voice call with the first user, then obtain the target The target object information of the application, the target object information includes the user information of the first user and the application name of the target application; if the type of the target application is a video communication application, the running state is in progress with the Two-user video call, then obtain the target object information of the target application, the target object information includes the user information of the second user, the application name of the target application; if the target application type is a picture application , the running state is displaying pictures, then acquire the target object information of the target application, the target object information includes the picture being displayed; if the target application type is a news application, the running state If the news is being broadcast, the target object information of the target application is acquired, and the target object information includes the news content being broadcast.

在一个可能的示例中,所述第一操作,包括以下任意一种:针对所述目标对象的单次点击操作;针对所述目标对象的多次点击操作;针对所述目标对象的点击时长超过第一时长的操作;针对所述目标对象的第一目标语音指令;针对所述目标对象的第一目标手势。In a possible example, the first operation includes any one of the following: a single click operation on the target object; multiple click operations on the target object; An operation of the first duration; a first target voice instruction for the target object; a first target gesture for the target object.

在一个可能的示例中,所述通信单元403还用于:在当前界面上显示第一窗口之后,在所述目标应用类型为音频通信应用,所述运行状态为正在与第一用户语音通话的情况下,若检测到第三操作,则响应于所述第三操作,对所述当前语音通话内容进行录音;在检测到当前语音通话结束时,结束当前录音进程,得到目标录音;确定检测到所述第二操作,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标录音。In a possible example, the communication unit 403 is further configured to: after the first window is displayed on the current interface, when the type of the target application is an audio communication application, and the running state is an audio communication with the first user In this case, if the third operation is detected, the content of the current voice call is recorded in response to the third operation; when the end of the current voice call is detected, the current recording process is ended to obtain the target recording; In the second operation, in response to the second operation, send the target recording to n second electronic devices through n target channels among the m target channels in the first window.

在一个可能的示例中,所述第一窗口包括m个第一控件,一个所述第一控件对应一个所述目标通道。In a possible example, the first window includes m first controls, and one first control corresponds to one target channel.

在一个可能的示例中,所述在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息方面,所述通信单元403具体用于:若所述第二操作为针对所述m个第一控件中的n个第一控件的第一选定操作,则通过所述第一窗口的与所述n个第一控件对应的n个目标通道,向n个第二电子设备发送所述目标对象信息。In a possible example, when the second operation is detected, in response to the second operation, n target channels among the m target channels passing through the first window send to n second In terms of sending the target object information by the electronic device, the communication unit 403 is specifically configured to: if the second operation is a first selection operation for n first controls among the m first controls, then by The n target channels of the first window corresponding to the n first controls send the target object information to n second electronic devices.

在一个可能的示例中,所述m个第一控件中的每个第一控件为所述第一电子设备执行以下操作得到的:确定所述第一电子设备与第二电子设备首次建立通信连接;根据所述第一电子设备与所述第二电子设备之间的目标通道,生成与所述第二电子设备对应的第一控件。In a possible example, each of the m first controls is obtained by the first electronic device performing the following operations: determining that the first electronic device establishes a communication connection with the second electronic device for the first time ; Generate a first control corresponding to the second electronic device according to the target channel between the first electronic device and the second electronic device.

在一个可能的示例中,所述信息传输装置还包括窗口更新单元(图中未示出),所述窗口更新单元用于:在当前界面上显示第一窗口之后,在检测到所述第一电子设备与任意一个所述第二电子设备断开通信连接的情况下,更新所述第一窗口,更新后的所述第一窗口不包括与断开通信连接后的所述第二电子设备对应的第一控件,或者,更新后的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式和更新前的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式不同。In a possible example, the information transmission device further includes a window update unit (not shown in the figure), the window update unit is configured to: after the first window is displayed on the current interface, after the first window is detected, When the electronic device is disconnected from any one of the second electronic devices, the first window is updated, and the updated first window does not include the information corresponding to the second electronic device after the disconnection of the communication connection. or, the display mode of the first control corresponding to the second electronic device after the disconnection of the communication connection in the updated first window and the disconnection of the first window before the update The display modes of the first control corresponding to the second electronic device after communication connection are different.

在一个可能的示例中,所述窗口更新单元用于:在当前界面上显示第一窗口之后,在检测到所述第一电子设备与任意一个所述第二电子设备断开通信连接的时长超过第二时长时,更新所述第一窗口,更新后的所述第一窗口不包括与断开通信连接后的所述第二电子设备对应的第一控件,或者,更新后的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式和更新前的所述第一窗口的与断开通信连接后的所述第二电子设备对应的第一控件的显示方式不同。In a possible example, the window updating unit is configured to: after the first window is displayed on the current interface, when it is detected that the communication connection between the first electronic device and any one of the second electronic devices has been disconnected for longer than For the second duration, the first window is updated, and the updated first window does not include the first control corresponding to the second electronic device after the communication connection is disconnected, or, the updated first window The display mode of the first control corresponding to the second electronic device after disconnection of the communication connection in the window and the first control corresponding to the second electronic device after disconnection of the communication connection in the first window before updating Controls are displayed differently.

在一个可能的示例中,所述若所述第二操作为针对所述m个第一控件中的n个第一控件的第一选定操作,则通过所述第一窗口的与所述n个第一控件对应的n个目标通道,向n个第二电子设备发送所述目标对象信息,包括根据所述n个第一控件中的每个所述第一控件执行如下操作:检测到针对当前第一控件的选定操作;确定所述第一电子设备与目标第二电子设备断开通信连接的时长小于所述第三时长,所述目标第二电子设备为与所述当前第一控件对应的第二电子设备;若检测到所述第一电子设备与所述目标第二电子设备建立通信连接,则通过所述第一电子设备与所述目标第二电子设备之间的目标通道,向所述目标第二电子设备发送所述目标对象信息。In a possible example, if the second operation is a first selection operation for n first controls among the m first controls, then through the first window and the n For the n target channels corresponding to the first controls, sending the target object information to the n second electronic devices includes performing the following operations according to each of the n first controls: Selected operation of the current first control; determining that the time period for disconnecting the communication connection between the first electronic device and the target second electronic device is less than the third time period, and the target second electronic device is connected with the current first control the corresponding second electronic device; if it is detected that the first electronic device establishes a communication connection with the target second electronic device, passing through the target channel between the first electronic device and the target second electronic device, sending the target object information to the target second electronic device.

在一个可能的示例中,所述第一窗口包括第二控件,所述第二控件与所述m个目标通道对应。In a possible example, the first window includes a second control, and the second control corresponds to the m target channels.

在一个可能的示例中,所述第二操作的情况下在检测到第二操作的情况下,响应于所述第二操作,通过所述第一窗口的m个目标通道中的n个目标通道,向n个第二电子设备发送所述目标对象信息方面,所述通信单元403具体用于:若所述第二操作为针对所述第二控件的第二选定操作,则通过所述第一窗口的m个目标通道,向m个第二电子设备发送所述目标对象信息。In a possible example, when the second operation is detected, in response to the second operation, n target channels among the m target channels passing through the first window , in terms of sending the target object information to n second electronic devices, the communication unit 403 is specifically configured to: if the second operation is a second selected operation for the second control, through the second The m target channels of a window send the target object information to m second electronic devices.

在一个可能的示例中,所述第一控件的生成方式方面,所述窗口显示单元401具体用于:在检测到所述第一电子设备与第二电子设备建立通信连接时,获取所述第二电子设备的设备标识;判断所述第一窗口中是否包括所述第二电子设备对应的第一控件;若否,则根据所述设备标识,生成与所述第二电子设备对应的第一控件。In a possible example, in terms of the generation method of the first control, the window display unit 401 is specifically configured to: when detecting that the first electronic device establishes a communication connection with the second electronic device, acquire the first The device identification of the second electronic device; judging whether the first window includes the first control corresponding to the second electronic device; if not, generating the first control corresponding to the second electronic device according to the device identification controls.

可以理解的是,由于方法实施例与系统实施例为相同技术构思的不同呈现形式,因此,本申请中方法实施例部分的内容应同步适配于系统实施例部分,此处不再赘述。上述电子设备300以及信息传输装置400均可执行上述方法实施例包括的全部的信息传输方法。It can be understood that since the method embodiment and the system embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be simultaneously adapted to the system embodiment part, and will not be repeated here. Both the above electronic device 300 and the information transmission apparatus 400 can execute all the information transmission methods included in the above method embodiments.

本申请实施例还提供一种计算机可读存储介质,其中,该计算机可读存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括鱼群检测设备。An embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute any method as described in the above-mentioned method embodiments For some or all of the steps, the computer includes fish detection equipment.

本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。An embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute any one of the methods described in the above method embodiments. Some or all steps of the method. The computer program product may be a software installation package, and the computer includes electronic equipment.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,可通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,系统或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system can be implemented in other ways. For example, the system embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of systems or units may be in electrical or other forms.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the above-mentioned methods in various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disk, etc.

以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; meanwhile, for Those skilled in the art will have changes in specific implementation methods and application scopes based on the ideas of the present application. In summary, the contents of this specification should not be construed as limiting the present application.

Claims (20)

1. An information transmission method applied to a first electronic device, the method comprising:
displaying a first window on the current interface;
under the condition that a first operation aiming at a target object in the current interface is detected, responding to the first operation, and acquiring target object information of the target object;
under the condition that a second operation is detected, in response to the second operation, sending the target object information to n second electronic devices through n target channels in m target channels of the first window, where the target channels are data transmission channels between the first electronic device and the second electronic devices, n is a positive integer, and m is a positive integer greater than or equal to n.
2. The method of claim 1, wherein said obtaining target object information for the target object in response to the first operation comprises:
determining a target object type of the target object;
and acquiring the target object information according to the target object type.
3. The method of claim 2, wherein the object type comprises a target application icon of a running target application or an identification of an information point in an application interface of a mapping application.
4. The method of claim 3, wherein the obtaining the target object information according to the target object type comprises:
if the target object type is a target information point identifier in an application interface of the map application, acquiring the target object information of the target information point, wherein the target object information comprises the name, the address and the coordinate of the target information point;
if the target object type is the target application icon of the running target application, determining the target application type of the target application;
acquiring the running state of the target application;
and acquiring the target object information according to the target application type and the running state.
5. The method of claim 4, wherein the application type comprises at least one of: audio playback applications, video playback applications, audio communication applications, video communication applications, image applications, and news applications.
6. The method of claim 5, wherein the obtaining the target object information according to the target application type and the running state comprises one of:
if the target application type is an audio playing application and the running state is that a first audio is being played, acquiring the target object information of the target application, wherein the target object information comprises the name and/or associated information of the first audio and the application name of the target application;
if the type of the target application is a video playing application and the running state is that a first video is being played, acquiring the target object information of the target application, wherein the target object information comprises the name and/or associated information of the first video and the application name of the target application;
if the target application type is an audio communication application and the running state is that the target application is in a voice call with a first user, acquiring target object information of the target application, wherein the target object information comprises user information of the first user and an application name of the target application;
if the target application type is a video communication application and the running state is that the video communication is currently carried out with a second user, acquiring target object information of the target application, wherein the target object information comprises user information of the second user and an application name of the target application;
if the target application type is a picture application and the running state is that a picture is being displayed, acquiring the target object information of the target application, wherein the target object information comprises the picture being displayed;
and if the type of the target application is news application and the running state is news broadcasting, acquiring the target object information of the target application, wherein the target object information comprises the news content which is broadcasting.
7. The method of claim 1, wherein the first operation comprises any one of:
a single click operation for the target object;
a multi-click operation for the target object;
an operation that the click duration of the target object exceeds a first duration;
a first target voice instruction for the target object;
a first target gesture for the target object.
8. The method of claim 5, wherein after the displaying the first window on the current interface, the method further comprises:
under the condition that the target application type is an audio communication application and the running state is that the target application is in a voice call with a first user, if a third operation is detected, responding to the third operation, and recording the current voice call content;
when the current voice call is detected to be finished, finishing the current recording process to obtain a target recording;
and determining that the second operation is detected, and responding to the second operation, and sending the target sound records to n second electronic devices through n target channels in the m target channels of the first window.
9. The method of claim 1, wherein the first window includes m first controls, one for each of the target channels.
10. The method of claim 9, wherein the sending the target object information to n second electronic devices through n target channels of the m target channels of the first window in response to the second operation if the second operation is detected comprises:
and if the second operation is a first selected operation aiming at n first controls in the m first controls, sending the target object information to n second electronic devices through n target channels of the first window corresponding to the n first controls.
11. The method of claim 9, wherein each of the m first controls is a result of the first electronic device performing the following:
determining that the first electronic equipment and the second electronic equipment establish communication connection for the first time;
and generating a first control corresponding to the second electronic equipment according to a target channel between the first electronic equipment and the second electronic equipment.
12. The method of claim 9, wherein after the displaying the first window on the current interface, the method further comprises:
under the condition that the first electronic device is detected to be disconnected from any one of the second electronic devices, updating the first window, wherein the updated first window does not include the first control corresponding to the second electronic device after the disconnection from communication, or the display mode of the first control corresponding to the second electronic device after the disconnection from communication of the updated first window is different from the display mode of the first control corresponding to the second electronic device after the disconnection from communication of the first window before the update.
13. The method of claim 9, wherein after the displaying the first window on the current interface, the method further comprises:
when it is detected that the duration of the first electronic device disconnecting communication with any one of the second electronic devices exceeds a second duration, updating the first window, wherein the updated first window does not include a first control corresponding to the second electronic device after disconnecting communication, or the updated first window has a different display mode of the first control corresponding to the second electronic device after disconnecting communication from the first window than the display mode of the first control corresponding to the second electronic device before disconnecting communication.
14. The method of claim 13, wherein, if the second operation is a first selected operation for n first controls of the m first controls, sending the target object information to n second electronic devices through n target channels of the first window corresponding to the n first controls, includes, according to each of the n first controls, performing the following operations:
detecting a selected operation aiming at a current first control;
determining that the duration of the communication disconnection between the first electronic device and a target second electronic device is less than the third duration, wherein the target second electronic device is a second electronic device corresponding to the current first control;
and if the first electronic device is detected to be in communication connection with the target second electronic device, sending the target object information to the target second electronic device through a target channel between the first electronic device and the target second electronic device.
15. The method of claim 1 or 9, wherein the first window includes a second control corresponding to the m target channels.
16. The method of claim 15, wherein the sending the target object information to n second electronic devices through n target channels of the m target channels of the first window in response to the second operation if the second operation is detected comprises:
and if the second operation is a second selected operation aiming at the second control, sending the target object information to m second electronic devices through m target channels of the first window.
17. The method of claim 9, wherein the first control is generated in a manner that includes:
when the first electronic device is detected to be in communication connection with a second electronic device, acquiring a device identifier of the second electronic device;
judging whether the first window comprises a first control corresponding to the second electronic device;
and if not, generating a first control corresponding to the second electronic equipment according to the equipment identification.
18. An information transmission apparatus applied to a first electronic device, the apparatus comprising:
the window display unit is used for displaying a first window on the current interface;
a target object information acquiring unit, configured to, in a case where a first operation for a target object in the current interface is detected, acquire target object information of the target object in response to the first operation;
a communication unit, configured to send, in response to a second operation when the second operation is detected, the target object information to n second electronic devices through n target channels of m target channels of the first window, where the target channels are data transmission channels between the first electronic device and the second electronic devices, n is a positive integer, and m is a positive integer greater than or equal to n.
19. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-17.
20. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the steps in the method according to any of claims 1-17.
CN202110652460.2A 2021-06-11 2021-06-11 Information transmission method, device, equipment and storage medium Pending CN115474292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110652460.2A CN115474292A (en) 2021-06-11 2021-06-11 Information transmission method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110652460.2A CN115474292A (en) 2021-06-11 2021-06-11 Information transmission method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115474292A true CN115474292A (en) 2022-12-13

Family

ID=84364591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110652460.2A Pending CN115474292A (en) 2021-06-11 2021-06-11 Information transmission method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115474292A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630876A (en) * 2015-12-17 2016-06-01 百度在线网络技术(北京)有限公司 Cross-application information obtaining method and device
US20170017640A1 (en) * 2015-07-13 2017-01-19 International Business Machines Corporation Managing Drop-Ins on Focal Points of Activities
CN107124661A (en) * 2017-04-07 2017-09-01 广州市百果园网络科技有限公司 Communication means, apparatus and system in direct broadcast band
CN107819811A (en) * 2016-09-14 2018-03-20 阿里巴巴集团控股有限公司 Data communications method, device and equipment
CN108628507A (en) * 2017-03-23 2018-10-09 深圳大学 A kind of method and medical information system of patient information transmission
CN109391834A (en) * 2017-08-03 2019-02-26 阿里巴巴集团控股有限公司 A kind of play handling method, device, equipment and storage medium
CN110389697A (en) * 2019-07-25 2019-10-29 腾讯科技(深圳)有限公司 Data interactive method and device, storage medium and electronic device
CN111049979A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic device and computer-readable storage medium
CN111371988A (en) * 2020-02-27 2020-07-03 Oppo广东移动通信有限公司 Content operation method, device, terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170017640A1 (en) * 2015-07-13 2017-01-19 International Business Machines Corporation Managing Drop-Ins on Focal Points of Activities
CN105630876A (en) * 2015-12-17 2016-06-01 百度在线网络技术(北京)有限公司 Cross-application information obtaining method and device
CN107819811A (en) * 2016-09-14 2018-03-20 阿里巴巴集团控股有限公司 Data communications method, device and equipment
CN108628507A (en) * 2017-03-23 2018-10-09 深圳大学 A kind of method and medical information system of patient information transmission
CN107124661A (en) * 2017-04-07 2017-09-01 广州市百果园网络科技有限公司 Communication means, apparatus and system in direct broadcast band
CN109391834A (en) * 2017-08-03 2019-02-26 阿里巴巴集团控股有限公司 A kind of play handling method, device, equipment and storage medium
CN110389697A (en) * 2019-07-25 2019-10-29 腾讯科技(深圳)有限公司 Data interactive method and device, storage medium and electronic device
CN111049979A (en) * 2019-12-02 2020-04-21 维沃移动通信有限公司 Application sharing method, electronic device and computer-readable storage medium
CN111371988A (en) * 2020-02-27 2020-07-03 Oppo广东移动通信有限公司 Content operation method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
US20190273630A1 (en) Wireless communication system, communication apparatus, setting information providing method, setting information obtaining method, and computer program
KR101810403B1 (en) Apparatus and method for storing data of peripheral device in portable terminal
US10091345B2 (en) Media out interface
CN105263196A (en) Connection state prompting method and device
CN113556588B (en) Reverse control method, device, computer equipment and storage medium
CN110536156A (en) Information processing method, system, communication device, and computer-readable storage medium
CN106445199A (en) Touch pen, mobile terminal and method for realizing data continuous application
CN106982286A (en) A kind of way of recording, equipment and computer-readable recording medium
CN113365153A (en) Data sharing method and device, storage medium and electronic equipment
WO2023125205A1 (en) Multi-device connection method, apparatus and system, and device and storage medium
CN111465076A (en) Connection method and device of wireless local area network and computer storage medium
CN104780206A (en) A data sharing method and device
CN112086081A (en) Chorus method, terminal and computer storage medium
US8595852B2 (en) Method for providing shared contents in a portable terminal to an external apparatus
CN114510166B (en) Operation method, intelligent terminal and storage medium
US20170251504A1 (en) Apparatus and method for requesting and transferring contents
CN113840033B (en) Audio data playing method and device
CN114639392A (en) Audio processing method and device, electronic equipment and storage medium
CN115474292A (en) Information transmission method, device, equipment and storage medium
CN112291769B (en) A wireless control method and related equipment
CN116668582A (en) Audio file sharing method and electronic device
CN115955529A (en) Screen recording method, intelligent terminal and storage medium
WO2022226800A1 (en) Processing method, terminal device, and storage medium
CN117278707A (en) Processing method, intelligent terminal and storage medium
CN112738910B (en) Application control method and device and electronic equipment

Legal Events

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