











技术领域technical field
本公开涉及终端技术领域,尤其涉及一种内容分享方法、装置及存储介质。The present disclosure relates to the field of terminal technologies, and in particular, to a content sharing method, device, and storage medium.
背景技术Background technique
相关技术中,当用户想要将某些内容分享给某位好友,通常情况下,首先在终端的人机交互界面上选择并复制待分享的内容,然后转到联系人列表中找到该好友,再在与好友的对话界面中输入或粘贴待分享的内容,最后点击发送将待分享的内容发送出去。该内容分享方法的过程复杂,用户体验差。In the related art, when a user wants to share some content with a friend, usually, first select and copy the content to be shared on the human-computer interaction interface of the terminal, and then go to the contact list to find the friend, Then enter or paste the content to be shared in the dialog interface with friends, and finally click Send to send the content to be shared. The content sharing method has a complicated process and poor user experience.
发明内容SUMMARY OF THE INVENTION
为克服相关技术中存在的问题,本公开提供一种内容分享方法、装置及存储介质。In order to overcome the problems existing in the related art, the present disclosure provides a content sharing method, device and storage medium.
根据本公开实施例的第一方面,提供一种内容分享方法,应用于终端设备,所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a content sharing method, which is applied to a terminal device, and the method includes:
若检测到对界面上的第一内容执行复制操作,则获取与所述终端设备的距离小于预设距离的至少一个联系人;If it is detected that a copy operation is performed on the first content on the interface, acquiring at least one contact whose distance from the terminal device is less than a preset distance;
在所述界面上显示内容分享提示信息;所述内容分享提示信息中包括所述至少一个联系人的标识信息,所述内容分享提示信息用于提示用户可以将复制的内容发送给指定的联系人;Content sharing prompt information is displayed on the interface; the content sharing prompt information includes identification information of the at least one contact, and the content sharing prompt information is used to prompt the user that the copied content can be sent to a designated contact ;
若检测到用户从所述至少一个联系人中选中第一联系人,则向所述第一联系人发送所述第一内容。If it is detected that the user selects the first contact from the at least one contact, the first content is sent to the first contact.
在第一方面的一种可能实现方式中,所述获取与所述终端设备的距离小于预设距离的至少一个联系人,包括:In a possible implementation manner of the first aspect, the acquiring at least one contact whose distance from the terminal device is less than a preset distance includes:
获取所述终端设备的位置信息;obtain the location information of the terminal device;
获取至少一个应用程序中的联系人列表中的每个联系人对应的终端设备的位置信息;Obtain the location information of the terminal device corresponding to each contact in the contact list in at least one application;
根据每个应用程序中的联系人列表中的每个联系人对应的终端设备的位置信息以及所述终端设备的位置信息,获取所述至少一个应用程序的联系人列表中与所述终端设备的距离小于预设距离的至少一个联系人。According to the location information of the terminal device corresponding to each contact in the contact list of each application program and the location information of the terminal device, obtain the contact information of the terminal device in the contact list of the at least one application program. At least one contact whose distance is less than the preset distance.
在第一方面的上述可能实现方式中,所述内容分享提示信息还包括每个联系人与所述终端设备的距离,其中,所述至少一个联系人按照与所述终端设备之间的距离由近至远的顺序进行显示。In the above possible implementation manner of the first aspect, the content sharing prompt information further includes a distance between each contact and the terminal device, wherein the at least one contact is determined by the distance from the terminal device by Displayed in order from near to far.
在第一方面的另一种可能实现方式中,所述方法还包括:In another possible implementation manner of the first aspect, the method further includes:
获取所述终端设备在检测到对所述界面上的第一内容执行复制操作之前的预设时间段内的联系人清单,所述联系人清单包括:至少一个应用程序中的联系人列表中的在所述预设时间段内与所述终端设备的用户进行联系的至少一个联系人;Acquire a contact list within a preset time period before the terminal device detects that a copy operation is performed on the first content on the interface, where the contact list includes: a contact list in at least one application program; at least one contact who is in contact with the user of the terminal device within the preset time period;
根据与所述终端设备的距离小于预设距离的至少一个联系人和所述联系人清单,确定所述内容分享提示信息中包括的所述至少一个联系人的标识信息。The identification information of the at least one contact included in the content sharing prompt information is determined according to at least one contact whose distance from the terminal device is less than a preset distance and the contact list.
在第一方面的再一种可能实现方式中,所述在所述界面上显示内容分享提示信息,包括:In yet another possible implementation manner of the first aspect, the displaying content sharing prompt information on the interface includes:
在所述界面目前显示内容上的浮层中突出显示所述内容分享提示信息;Highlighting the content sharing prompt information in a floating layer on the currently displayed content of the interface;
或者,or,
在所述界面上的内容分享区域中显示所述内容分享提示信息;其中,所述内容分享区域包括:所述界面上的一部分区域。The content sharing prompt information is displayed in the content sharing area on the interface; wherein, the content sharing area includes: a part of the area on the interface.
在第一方面的上述可能实现方式中,所述方法还包括:In the above possible implementation manner of the first aspect, the method further includes:
根据所述第一内容在界面上的位置,调整所述内容分享区域,以使所述第一内容和所述内容分享区域同时显示在界面上。The content sharing area is adjusted according to the position of the first content on the interface, so that the first content and the content sharing area are displayed on the interface at the same time.
在第一方面的又一种可能实现方式中,所述方法还包括:In yet another possible implementation manner of the first aspect, the method further includes:
根据用户的操作在界面上显示的内容中选中所述第一内容,并显示是否对所述第一内容进行复制的提示信息;According to the user's operation, the first content is selected from the content displayed on the interface, and a prompt message of whether to copy the first content is displayed;
若所述用户选择复制,则对所述第一内容执行复制操作。If the user chooses to copy, a copy operation is performed on the first content.
根据本公开实施例的第二方面,提供一种内容分享装置,应用于终端设备,所述装置包括:获取模块、显示模块和发送模块;According to a second aspect of the embodiments of the present disclosure, there is provided a content sharing apparatus, which is applied to a terminal device, the apparatus comprising: an acquisition module, a display module, and a transmission module;
所述获取模块,用于在检测到对界面上的第一内容执行复制操作时,获取与所述终端设备的距离小于预设距离的至少一个联系人;The obtaining module is configured to obtain at least one contact whose distance from the terminal device is less than a preset distance when a copy operation is performed on the first content on the interface;
所述显示模块,用于在所述界面上显示内容分享提示信息;所述内容分享提示信息中包括所述至少一个联系人的标识信息,所述内容分享提示信息用于提示用户可以将复制的内容发送给指定的联系人;The display module is configured to display content sharing prompt information on the interface; the content sharing prompt information includes identification information of the at least one contact, and the content sharing prompt information is used to prompt the user that the copied Content sent to designated contacts;
所述发送模块,用于在检测到用户从所述至少一个联系人中选中第一联系人时,向所述第一联系人发送所述第一内容。The sending module is configured to send the first content to the first contact when it is detected that the user selects the first contact from the at least one contact.
在第二方面的一种可能实现方式中,所述获取模块包括:第一获取子模块、第二获取子模块和第三获取子模块;In a possible implementation manner of the second aspect, the obtaining module includes: a first obtaining sub-module, a second obtaining sub-module, and a third obtaining sub-module;
所述第一获取子模块,用于获取所述终端设备的位置信息;the first acquisition submodule, configured to acquire the location information of the terminal device;
所述第二获取子模块,用于获取至少一个应用程序中的联系人列表中的每个联系人对应的终端设备的位置信息;The second obtaining submodule is used to obtain the location information of the terminal device corresponding to each contact in the contact list in the at least one application;
所述第三获取子模块,用于根据每个应用程序中的联系人列表中的每个联系人对应的终端设备的位置信息以及所述终端设备的位置信息,获取所述至少一个应用程序的联系人列表中与所述终端设备的距离小于预设距离的至少一个联系人。The third obtaining sub-module is configured to obtain the information of the at least one application according to the location information of the terminal device corresponding to each contact in the contact list in each application and the location information of the terminal device. At least one contact in the contact list whose distance from the terminal device is less than a preset distance.
在第二方面的上述可能实现方式中,所述内容分享提示信息还包括每个联系人与所述终端设备的距离,其中,所述至少一个联系人按照与所述终端设备之间的距离由近至远的顺序进行显示。In the above possible implementation manner of the second aspect, the content sharing prompt information further includes a distance between each contact and the terminal device, wherein the at least one contact is determined by the distance from the terminal device by Displayed in order from near to far.
在第二方面的另一种可能实现方式中,所述获取模块,还用于获取所述终端设备在检测到对所述界面上的第一内容执行复制操作之前的预设时间段内的联系人清单,所述联系人清单包括:至少一个应用程序中的联系人列表中的在所述预设时间段内与所述终端设备的用户进行联系的至少一个联系人;In another possible implementation manner of the second aspect, the acquiring module is further configured to acquire the contact of the terminal device within a preset time period before detecting that a copy operation is performed on the first content on the interface a person list, where the contact list includes: at least one contact in the contact list in at least one application program that is in contact with the user of the terminal device within the preset time period;
相应的,所述装置还包括:确定模块;Correspondingly, the device further includes: a determining module;
所述确定模块,用于根据所述获取模块获取到的与所述终端设备的距离小于预设距离的至少一个联系人和所述联系人清单,确定所述内容分享提示信息中包括的所述至少一个联系人的标识信息。The determining module is configured to determine the contact list included in the content sharing prompt information according to at least one contact and the contact list acquired by the acquiring module whose distance from the terminal device is less than a preset distance. Identification information of at least one contact.
在第二方面的再一种可能实现方式中,所述显示模块,具体用于在所述界面目前显示内容上的浮层中突出显示所述内容分享提示信息;In yet another possible implementation manner of the second aspect, the display module is specifically configured to highlight the content sharing prompt information in a floating layer on the content currently displayed on the interface;
或者,or,
所述显示模块,具体用于在所述界面上的内容分享区域中显示所述内容分享提示信息;其中,所述内容分享区域包括:所述界面上的一部分区域。The display module is specifically configured to display the content sharing prompt information in the content sharing area on the interface; wherein, the content sharing area includes: a part of the area on the interface.
在第二方面的上述可能实现方式中,所述装置还包括:调整模块;In the above possible implementation manner of the second aspect, the apparatus further includes: an adjustment module;
所述调整模块,用于根据所述第一内容在界面上的位置,调整所述内容分享区域,以使所述第一内容和所述内容分享区域同时显示在界面上。The adjustment module is configured to adjust the content sharing area according to the position of the first content on the interface, so that the first content and the content sharing area are simultaneously displayed on the interface.
在第二方面的又一种可能实现方式中,所述装置还包括:处理模块;In yet another possible implementation manner of the second aspect, the apparatus further includes: a processing module;
所述处理模块,用于根据用户的操作在界面上显示的内容中选中所述第一内容;The processing module is configured to select the first content from the content displayed on the interface according to the user's operation;
所述显示模块,还用于并显示是否对所述第一内容进行复制的提示信息;The display module is further configured to display prompt information on whether to copy the first content;
所述处理模块,还用于在所述用户选择复制时,对所述第一内容执行复制操作。The processing module is further configured to perform a copy operation on the first content when the user selects copy.
根据本公开实施例的第三方面,提供一种内容分享装置,所述装置包括:According to a third aspect of the embodiments of the present disclosure, there is provided a content sharing apparatus, the apparatus comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:wherein the processor is configured to:
若检测到对界面上的第一内容执行复制操作,则获取与所述装置的距离小于预设距离的至少一个联系人;If it is detected that a copy operation is performed on the first content on the interface, acquiring at least one contact whose distance from the device is less than a preset distance;
在所述界面上显示内容分享提示信息;所述内容分享提示信息中包括所述至少一个联系人的标识信息,所述内容分享提示信息用于提示用户可以将复制的内容发送给指定的联系人;Content sharing prompt information is displayed on the interface; the content sharing prompt information includes identification information of the at least one contact, and the content sharing prompt information is used to prompt the user that the copied content can be sent to a designated contact ;
若检测到用户从所述至少一个联系人中选中第一联系人,则向所述第一联系人发送所述第一内容。If it is detected that the user selects the first contact from the at least one contact, the first content is sent to the first contact.
根据本公开实施例的第四方面,提供一种存储介质,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如第一方面以及第一方面各种可能实现方式所述的方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a storage medium, where instructions are stored in the storage medium, and when executed on a computer, the storage medium causes the computer to execute the first aspect and various possible implementations of the first aspect. method described.
本公开的实施例提供的技术方案可以包括以下有益效果:终端设备若检测到对界面上的第一内容执行复制操作,则获取与终端设备的距离小于预设距离的至少一个联系人,并在该界面上显示内容分享提示信息,该内容分享提示信息中包括至少一个联系人的标识信息,该内容分享提示信息用于提示用户可以将复制的内容发送给指定的联系人,最后若检测到用户从上述至少一个联系人中选中第一联系人,则向第一联系人发送第一内容。该技术方案中终端设备在选定待分享的内容之后,可以直接显示出联系人选项清单,不需要转到通讯录中查找,简化了内容分享过程,提高了用户体验。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: if the terminal device detects that a copy operation is performed on the first content on the interface, it acquires at least one contact whose distance from the terminal device is less than a preset distance, and Content sharing prompt information is displayed on the interface, the content sharing prompt information includes identification information of at least one contact, and the content sharing prompt information is used to prompt the user that the copied content can be sent to a designated contact. The first contact is selected from the at least one contact, and the first content is sent to the first contact. In the technical solution, after selecting the content to be shared, the terminal device can directly display the contact option list without going to the address book to search, which simplifies the content sharing process and improves the user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
图1是根据一示例性实施例示出的一种内容分享方法的流程图;1 is a flowchart of a content sharing method according to an exemplary embodiment;
图2A示例性的示出了终端设备的界面上的第一内容从被选定时的示意图;FIG. 2A exemplarily shows a schematic diagram when the first content on the interface of the terminal device is selected;
图2B示例性的示出了终端设备的界面上显示出内容分享提示信息的示意图;FIG. 2B exemplarily shows a schematic diagram of displaying content sharing prompt information on the interface of the terminal device;
图3是根据另一示例性实施例示出的一种内容分享方法的流程图;3 is a flowchart of a content sharing method according to another exemplary embodiment;
图4是根据再一示例性实施例示出的一种内容分享方法的流程图;4 is a flowchart of a content sharing method according to yet another exemplary embodiment;
图5是根据又一示例性实施例示出的一种内容分享方法的流程图;5 is a flowchart of a content sharing method according to another exemplary embodiment;
图6是根据一示例性实施例示出的一种内容分享装置的框图;6 is a block diagram of a content sharing apparatus according to an exemplary embodiment;
图7是根据另一示例性实施例示出的一种内容分享装置的框图;7 is a block diagram of a content sharing apparatus according to another exemplary embodiment;
图8是根据另一示例性实施例示出的一种内容分享装置的框图;8 is a block diagram of a content sharing apparatus according to another exemplary embodiment;
图9是根据再一示例性实施例示出的一种内容分享装置的框图;9 is a block diagram of a content sharing apparatus according to yet another exemplary embodiment;
图10是根据又一示例性实施例示出的一种内容分享装置的框图;10 is a block diagram of a content sharing apparatus according to another exemplary embodiment;
图11是根据又一示例性实施例示出的一种内容分享装置的框图。Fig. 11 is a block diagram of a content sharing apparatus according to yet another exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with some aspects of the invention as recited in the appended claims.
本公开实施例提供了一种内容分享方法,本公开实施例以内容分享方法应用于终端设备中,并以对终端设备的界面上的显示内容进行分享来举例说明。其中,该终端设备例如是手机、个人数字助理(personal digital assistant,PDA)、便携式设备(portabledevice,PAD)、电脑终端(如笔记本电脑)等,也可以是具有界面显示功能的其他设备。The embodiments of the present disclosure provide a content sharing method, and the embodiments of the present disclosure use the content sharing method to be applied to a terminal device, and take sharing the displayed content on the interface of the terminal device as an example for illustration. The terminal device is, for example, a mobile phone, a personal digital assistant (PDA), a portable device (PAD), a computer terminal (such as a notebook computer), etc., and may also be other devices with an interface display function.
图1是根据一示例性实施例示出的一种内容分享方法的流程图。该内容分享方法应用于终端设备中,如图1所示,该方法可以包括以下步骤:Fig. 1 is a flow chart of a content sharing method according to an exemplary embodiment. The content sharing method is applied to a terminal device. As shown in FIG. 1 , the method may include the following steps:
在步骤S11中,若检测到对界面上的第一内容执行复制操作,则获取与该终端设备的距离小于预设距离的至少一个联系人。In step S11, if it is detected that a copy operation is performed on the first content on the interface, at least one contact whose distance from the terminal device is less than a preset distance is acquired.
可选的,在本实施例中,当用户对终端设备执行操作时,终端设备可以迅速检测到并做出响应,因而,终端设备在用户的操作下,界面上可以根据用户的需求显示出用户感兴趣的新闻、图片等各种内容,当用户想要将感兴趣的内容分享给联系人,一般情况下均需要通过复制指令指示终端设备执行复制操作。Optionally, in this embodiment, when the user performs an operation on the terminal device, the terminal device can quickly detect and respond. Therefore, under the operation of the user, the terminal device can display the user interface according to the user's needs. For various content such as news and pictures of interest, when a user wants to share the content of interest to a contact, in general, a copy instruction is required to instruct the terminal device to perform a copy operation.
因而,当用户通过终端设备的界面向终端设备下发复制指令时,终端设备可以迅速检测到该复制指令,并根据该复制指令对界面上的第一内容执行复制操作。可选的,该复制指令用于指示终端设备对该第一内容执行复制操作。可以理解的是,复制在一些实施例中也可以称为拷贝。Therefore, when the user issues a copy instruction to the terminal device through the interface of the terminal device, the terminal device can quickly detect the copy instruction and perform a copy operation on the first content on the interface according to the copy instruction. Optionally, the copy instruction is used to instruct the terminal device to perform a copy operation on the first content. It will be appreciated that duplication may also be referred to as copying in some embodiments.
示例性的,当终端设备检测到对界面上的第一内容执行复制操作时,为了减少分享操作需要的时间,终端设备可以根据自身与通信录中其他联系人的距离关系,获取与该终端设备的距离小于预设距离的至少一个联系人。Exemplarily, when the terminal device detects that a copy operation is performed on the first content on the interface, in order to reduce the time required for the sharing operation, the terminal device may obtain information about at least one contact whose distance is less than the preset distance.
示例性的,上述至少一个联系人可以是终端设备上存储的联系人列表中的联系人。可选的,该联系人列表可以是终端设备自身存储的手机号码通讯录,也可以是终端设备上安装的用户身份识别(subscriber identification module,SIM)卡上存储的通讯录,还可以是终端设备上应用程序的联系人列表,还可以同时是上述多个应用程序的联系人列表和/或通信录中的两个或多个,本申请实施例不对其进行限定,其可根据实际情况进行确定。Exemplarily, the at least one contact may be a contact in a contact list stored on the terminal device. Optionally, the contact list may be the phone number address book stored by the terminal device itself, or the address book stored on the subscriber identification module (SIM) card installed on the terminal device, or the terminal device. The contact list of the application program on the application program can also be two or more of the contact list and/or address book of the above-mentioned multiple application programs at the same time, which is not limited in the embodiment of the present application, which can be determined according to the actual situation .
在步骤S12中,在该界面上显示内容分享提示信息。In step S12, content sharing prompt information is displayed on the interface.
其中,该内容分享提示信息中包括上述至少一个联系人的标识信息,该内容分享提示信息用于提示用户可以将复制的内容发送给指定的联系人。The content sharing prompt information includes identification information of the at least one contact, and the content sharing prompt information is used to prompt the user that the copied content can be sent to a designated contact.
在本实施例中,当终端设备获取到与该终端设备的距离小于预设距离的至少一个联系人之后,终端设备在界面上可以直接显示出内容分享提示信息,该内容分享提示信息可以用于提示用户可以将复制的内容发送给指定的联系人,且该内容分享提示信息中需要包括上述至少一个联系人的标识信息,这样用户可以从内容分享提示信息中确定要分享的至少一个联系人。In this embodiment, after the terminal device acquires at least one contact whose distance from the terminal device is less than the preset distance, the terminal device can directly display content sharing prompt information on the interface, and the content sharing prompt information can be used for The user is prompted that the copied content can be sent to a designated contact, and the content sharing prompt information needs to include the identification information of the at least one contact, so that the user can determine at least one contact to share from the content sharing prompt information.
示例性的,若该至少一个联系人为至少两个联系人,则该至少两个联系人可以是同一个应用的通信录中的联系人,也可以是不同应用的通信录中的联系人,对此,本实施例并不限定。Exemplarily, if the at least one contact is at least two contacts, the at least two contacts may be contacts in the address book of the same application, or may be contacts in the address books of different applications. Therefore, this embodiment is not limited.
在步骤S13中,若检测到用户从至少一个联系人中选中第一联系人,则向第一联系人发送上述第一内容。In step S13, if it is detected that the user selects the first contact from the at least one contact, the above-mentioned first content is sent to the first contact.
可选的,在本实施例中,当终端设备检测到用户从上述内容分享提示信息中选中了第一联系人,且获取到发送指令时,该终端设备则可以向选中的第一联系人发送上述第一内容。Optionally, in this embodiment, when the terminal device detects that the user has selected the first contact from the above-mentioned content sharing prompt information, and acquires the sending instruction, the terminal device may send the selected first contact to the selected first contact. The first content above.
示例性的,本实施例中的第一联系人可以是一个或至少两个联系人,与上述步骤中记载的类似,该至少两个联系人可以是同一个应用的通信录中的联系人,也可以是不同应用的通信录中的联系人。Exemplarily, the first contact in this embodiment may be one or at least two contacts. Similar to what is described in the above steps, the at least two contacts may be contacts in the address book of the same application, It can also be a contact in the address book of different applications.
示例性的,下述以一个具体的例子说明上述过程。图2A示例性的示出了终端设备的界面上的第一内容从被选定时的示意图。图2B示例性的示出了终端设备的界面上显示出内容分享提示信息的示意图。参照图2A所示,终端设备的界面上显示有用户感兴趣的新闻内容,对于界面上的第一内容,用户想要将其分享给好友,此时,用户可以通过选定操作首先将其选定。例如,用户对界面上显示的新闻标题为“上市前XX致全员公开信:明天,让我们一起见证伟大时刻!”中的第一内容“明天将是激动人心的一天。经过八年的奋斗,我们就要在****上市了。”相应的,终端设备的界面上显示出多个供选项:复制、查询、添加、共享、搜索。Exemplarily, the following describes the above process with a specific example. FIG. 2A exemplarily shows a schematic diagram when the first content on the interface of the terminal device is selected. FIG. 2B exemplarily shows a schematic diagram of displaying content sharing prompt information on the interface of the terminal device. Referring to FIG. 2A , the interface of the terminal device displays news content that the user is interested in. For the first content on the interface, the user wants to share it with friends. At this time, the user can first select it through the selection operation. Certainly. For example, the first content in the news title displayed on the interface is "An open letter to all staff before listing: Tomorrow, let's witness a great moment together!" "Tomorrow will be an exciting day. After eight years of struggle, We are going to be listed in ****.” Correspondingly, the interface of the terminal device displays multiple options: copy, query, add, share, search.
在本实施例中,如图2A所示,当用户选定复制选项时,终端设备可以对上述的第一内容执行复制操作,相应的,终端设备在获取到与该终端设备的距离小于预设距离的至少一个联系人时,终端设备的界面上相应的显示出内容分享提示信息,参照图2B所示,该内容分享提示信息中可以包括上述至少一个联系人的标识信息以及供用户选择的发送或取消选项。In this embodiment, as shown in FIG. 2A , when the user selects the copy option, the terminal device can perform a copy operation on the above-mentioned first content. Correspondingly, when the terminal device obtains a distance from the terminal device that is less than the preset value When there is at least one contact in the distance, the content sharing prompt information is correspondingly displayed on the interface of the terminal device. Referring to FIG. 2B, the content sharing prompt information may include the identification information of the at least one contact and the sending information for the user to select. or cancel the option.
例如,内容分享提示信息中包括的至少一个联系人的标识信息可以是微信好友或/和QQ好友等中的联系人,如图2B所示,当内容分享提示信息中微信好友包括“李三”、“张四”,QQ好友包括“小明”、“小红”时,若用户在上述联系人中选定了“李三”和“小红”,且点击了“发送”选项时,终端设备相应的会检测到上述操作,并向选中的“李三”和“小红”分别发送复制的上述第一内容。For example, the identification information of at least one contact included in the content sharing prompt information may be a contact in a WeChat friend or/and a QQ friend, etc. As shown in FIG. 2B , when the WeChat friend in the content sharing prompt information includes "Li San" , "Zhang Si", when QQ friends include "Xiao Ming" and "Xiao Hong", if the user selects "Li San" and "Xiao Hong" in the above contacts, and clicks the "Send" option, the terminal device Accordingly, the above operation will be detected, and the copied first content will be sent to the selected "Li San" and "Xiaohong" respectively.
本公开实施例提供的内容分享方法,终端设备若检测到对界面上的第一内容执行复制操作,则获取与该终端设备的距离小于预设距离的至少一个联系人,并在界面上显示内容分享提示信息,该内容分享提示信息中包括上述至少一个联系人的标识信息,该内容分享提示信息用于提示用户可以将复制的内容发送给指定的联系人,最后若检测到用户从上述至少一个联系人中选中第一联系人,则向第一联系人发送上述第一内容。该技术方案中终端设备在选定待分享的内容之后,可以直接显示出联系人选项清单,不需要转到通讯录中查找,简化了内容分享过程,提高了用户体验。In the content sharing method provided by the embodiment of the present disclosure, if the terminal device detects that a copy operation is performed on the first content on the interface, it acquires at least one contact whose distance from the terminal device is less than the preset distance, and displays the content on the interface Sharing prompt information, the content sharing prompt information includes identification information of the above at least one contact, and the content sharing prompt information is used to prompt the user that the copied content can be sent to the designated contact, and finally if it is detected that the user has If the first contact is selected from the contacts, the above-mentioned first content is sent to the first contact. In the technical solution, after selecting the content to be shared, the terminal device can directly display the contact option list without going to the address book to search, which simplifies the content sharing process and improves the user experience.
可选的,图3是根据另一示例性实施例示出的一种内容分享方法的流程图。如图3所示,在本实施例中,上述步骤S11中的获取与终端设备的距离小于预设距离的至少一个联系人,可以通过如下步骤实现:Optionally, FIG. 3 is a flowchart of a content sharing method according to another exemplary embodiment. As shown in FIG. 3 , in this embodiment, obtaining at least one contact whose distance from the terminal device is less than the preset distance in the above step S11 can be achieved by the following steps:
在步骤S31中,获取终端设备的位置信息。In step S31, the location information of the terminal device is acquired.
在本实施例中,当终端设备检测到对界面上的第一内容执行复制操作后,终端设备可以通过卫星定位确定出该终端设备的位置信息,实际应用中,获取终端设备的位置信息也即确定终端设备所属用户的位置信息。In this embodiment, after the terminal device detects that the copy operation is performed on the first content on the interface, the terminal device can determine the location information of the terminal device through satellite positioning. In practical applications, acquiring the location information of the terminal device is Determine the location information of the user to which the terminal device belongs.
在步骤S32中,获取至少一个应用程序中的联系人列表中的每个联系人对应的终端设备的位置信息。In step S32, the location information of the terminal device corresponding to each contact in the contact list in the at least one application is acquired.
可选的,终端设备检测到对界面上的第一内容执行复制操作,在通过卫星定位获取该终端设备的位置信息的同时,也获取该终端设备上安装的至少一个应用程序中的联系人列表中的每个联系人的位置信息,也即,获取的是每个联系人对应的终端设备的位置信息,进而可以确定出终端设备所属用户与上述至少一个应用程序中的联系人列表中的每个联系人的位置关系。Optionally, when the terminal device detects that a copy operation is performed on the first content on the interface, and acquires the location information of the terminal device through satellite positioning, it also acquires a contact list in at least one application program installed on the terminal device. The location information of each contact in the contact list, that is, the location information of the terminal device corresponding to each contact is obtained, and then the user to which the terminal device belongs and each contact list in the above-mentioned at least one application can be determined. The location relationship of each contact.
示例性的,该至少一个应用程序可以是用户即时通讯软件,例如,通讯录、微信好友、QQ好友、微博好友等。本实施例并不对应用程序的具体表现形式进行限定。Exemplarily, the at least one application may be a user instant messaging software, such as an address book, a WeChat friend, a QQ friend, a Weibo friend, and the like. This embodiment does not limit the specific expression form of the application program.
在步骤S33中,根据每个应用程序中的联系人列表中的每个联系人对应的终端设备的位置信息以及该终端设备的位置信息,获取至少一个应用程序的联系人列表中与终端设备的距离小于预设距离的至少一个联系人。In step S33, according to the location information of the terminal device corresponding to each contact in the contact list in each application program and the location information of the terminal device, obtain the contact information of the terminal device in the contact list of at least one application program. At least one contact whose distance is less than the preset distance.
在本实施例中,终端设备可以根据终端设备的位置信息以及上述每个应用程序中的联系人列表中的每个联系人对应的终端设备的位置信息,按照与该终端设备的距离由近及远的顺序将每个应用程序中的联系人列表中的联系人进行排序,即确定出联系人列表中的联系人与该终端设备的用户的距离,这样可以获取至少一个应用程序的联系人列表中与终端设备的距离小于预设距离的至少一个联系人。In this embodiment, the terminal device may, according to the location information of the terminal device and the location information of the terminal device corresponding to each contact in the contact list in each of the above applications, calculate the distance from the terminal device in descending order of distance to the terminal device. Sort the contacts in the contact list in each application in order of distance, that is, determine the distance between the contacts in the contact list and the user of the terminal device, so that the contact list of at least one application can be obtained. at least one contact whose distance from the terminal device is less than the preset distance.
可选的,本实施例中的至少一个联系人包括上述至少一个应用程序的联系人列表中与该终端设备的距离小于预设距离的至少一个联系人。Optionally, the at least one contact in this embodiment includes at least one contact in the contact list of the at least one application whose distance from the terminal device is less than a preset distance.
本实施例提供的内容分享方法,通过获取终端设备的位置信息,获取至少一个应用程序中的联系人列表中的每个联系人对应的终端设备的位置信息,进而根据每个应用程序中的联系人列表中的每个联系人对应的终端设备的位置信息以及终端设备的位置信息,获取至少一个应用程序的联系人列表中与该终端设备的距离小于预设距离的至少一个联系人,其提高了界面上显示的内容分享提示信息中包括指定联系人的概率,节省了内容复制后到联系人列表中选择指定联系人的步骤,简化了分享流程,提高了用户体验。In the content sharing method provided by this embodiment, by acquiring the location information of the terminal device, the location information of the terminal device corresponding to each contact in the contact list in at least one application is acquired, and then according to the contact information in each application The location information of the terminal device corresponding to each contact in the people list and the location information of the terminal device, and obtaining at least one contact in the contact list of at least one application whose distance from the terminal device is less than the preset distance, which improves the The probability that the content sharing prompt information displayed on the interface includes the designated contact, saves the step of selecting the designated contact in the contact list after copying the content, simplifies the sharing process, and improves the user experience.
示例性的,在本公开的一个实施例中,上述内容分享提示信息还包括每个联系人与该终端设备的距离,其中,上述至少一个联系人按照与该终端设备之间的距离由近至远的顺序进行显示。Exemplarily, in an embodiment of the present disclosure, the above-mentioned content sharing prompt information further includes the distance between each contact and the terminal device, wherein the at least one contact is in descending order of the distance from the terminal device. displayed in the farthest order.
可选的,当终端设备中设置内容分享提示信息包括的至少一个联系人的显示方式为根据距离排序时,相应的,上述内容分享提示信息还可以包括每个联系人与该终端设备的距离信息。通常情况下,终端设备的用户很有可能在与周围的好友讨论某个内容时,需要将看到的某些内容(例如,第一内容)进行复制并分享给周围的好友,因而,可以将上述至少一个联系人按照与该终端设备之间的距离由近至远的顺序进行显示,以便终端设备的用户进行从中选定第一联系人。Optionally, when the display mode of at least one contact included in the content sharing prompt information is set in the terminal device to be sorted according to distance, correspondingly, the content sharing prompt information may also include distance information between each contact and the terminal device. . Usually, when a user of a terminal device is discussing a certain content with friends around him, he needs to copy and share some content he sees (for example, the first content) with his friends around him. The at least one contact is displayed in order of distance from the terminal device from near to farthest, so that the user of the terminal device selects the first contact therefrom.
也即,当终端设备检测到对界面上的第一内容执行复制操作后,终端设备的界面上显示的内容分享提示信息中可以包括终端设备根据距离设置方式自动推荐的距离终端设备由近至远的至少一个应用程序(如微信、QQ、微博等)的联系人列表中联系人,同时还可以包括与每个联系人的距离信息。That is, when the terminal device detects that the copy operation is performed on the first content on the interface, the content sharing prompt information displayed on the interface of the terminal device may include the distance automatically recommended by the terminal device according to the distance setting method from near to far. Contacts in the contact list of at least one application (such as WeChat, QQ, Weibo, etc.), and may also include distance information to each contact.
可选的,图4是根据再一示例性实施例示出的一种内容分享方法的流程图。如图4所示,在本实施例中,该内容分享方法还可以包括如下步骤:Optionally, FIG. 4 is a flowchart of a content sharing method according to yet another exemplary embodiment. As shown in FIG. 4 , in this embodiment, the content sharing method may further include the following steps:
在步骤S41中,获取该终端设备在检测到对所述界面上的第一内容执行复制操作之前的预设时间段内的联系人清单。In step S41, a contact list within a preset time period before the terminal device detects that a copy operation is performed on the first content on the interface is acquired.
其中,该联系人清单包括:至少一个应用程序中的联系人列表中的在该预设时间段内与终端设备的用户进行联系的至少一个联系人。Wherein, the contact list includes: at least one contact in the contact list in at least one application that is in contact with the user of the terminal device within the preset time period.
在本实施例中,终端设备在检测到对界面上的第一内容执行复制操作时,即终端设备根据接收到的复制命令执行复制操作时,终端设备还可以获取在接收该复制命令前的预设时间段内进行联系的联系人清单。In this embodiment, when the terminal device detects that a copy operation is performed on the first content on the interface, that is, when the terminal device performs a copy operation according to the received copy command, the terminal device may also obtain a preset before receiving the copy command. A list of contacts to contact during a set time period.
示例性的,本实施例中的联系人清单可以包括终端设备上安装的至少一个应用程序中的联系人列表中的至少一个联系人,例如,终端设备的微信、通讯录、QQ等中的联系人列表中的至少一个联系人。Exemplarily, the contact list in this embodiment may include at least one contact in the contact list in at least one application installed on the terminal device, for example, a contact in WeChat, address book, QQ, etc. of the terminal device. At least one contact in the people list.
在步骤S42中,根据与该终端设备的距离小于预设距离的至少一个联系人和联系人清单,确定该内容分享提示信息中包括的至少一个联系人的标识信息。In step S42, the identification information of at least one contact included in the content sharing prompt information is determined according to at least one contact whose distance from the terminal device is less than a preset distance and a contact list.
在本实施例中,终端设备在获取到与该终端设备的距离小于预设距离的至少一个联系人以及该终端设备在检测到对界面上的第一内容执行复制操作之前的预设时间段内的联系人清单时,可以将距离前次联系时间由短至长且位置距离由近至远的顺序进行排序,以确定出内容分享提示信息中实际包括的至少一个联系人的标识信息。In this embodiment, the terminal device acquires at least one contact whose distance from the terminal device is less than the preset distance and within a preset time period before the terminal device detects that a copy operation is performed on the first content on the interface When the contact list is stored, the last contact time can be sorted from short to long and the location distance from short to far to determine the identification information of at least one contact actually included in the content sharing prompt information.
值得说明的是,由于终端设备的界面区域有限,内容分享提示信息中显示的至少一个联系人的标识信息可以是所有联系人中的某几个,对于没有显示的联系人的标识可以通过滑动内容分享提示信息(例如,弹窗)内的联系人头像,以显示出其他联系人的标识信息。It is worth noting that, due to the limited interface area of the terminal device, the identification information of at least one contact displayed in the content sharing prompt information may be some of all contacts, and the identification information of the contacts that are not displayed can be displayed by sliding the content. Share the contact avatar in the prompt information (eg, pop-up window) to display the identification information of other contacts.
本公开实施例提供的内容分享方法,终端设备获取终端设备在检测到对界面上的第一内容执行复制操作之前的预设时间段内的联系人清单,根据与该终端设备的距离小于预设距离的至少一个联系人和所述联系人清单,确定该内容分享提示信息中包括的至少一个联系人的标识信息。该技术方案综合与终端设备的距离以及与该终端设备通信时间确定内容分享提示信息中包括的至少一个联系人的标识信息,可以提高终端设备确定待分享内容对应的指定联系人的准确度,减少联系人的选择时间。In the content sharing method provided by the embodiment of the present disclosure, the terminal device obtains the contact list of the terminal device within a preset time period before detecting that the copy operation is performed on the first content on the interface. The identification information of the at least one contact included in the content sharing prompt information is determined based on the at least one contact of the distance and the contact list. The technical solution combines the distance with the terminal device and the communication time with the terminal device to determine the identification information of at least one contact included in the content sharing prompt information, which can improve the accuracy of the terminal device in determining the designated contact corresponding to the content to be shared, and reduce the The selection time of the contact.
可选的,图5是根据又一示例性实施例示出的一种内容分享方法的流程图。如图5所示,在本实施例中,该内容分享方法还可以包括如下步骤:Optionally, FIG. 5 is a flowchart of a content sharing method according to another exemplary embodiment. As shown in FIG. 5, in this embodiment, the content sharing method may further include the following steps:
在步骤S51中,根据用户的操作在界面上显示的内容中选中上述第一内容,并显示是否对该第一内容进行复制的提示信息。In step S51, the above-mentioned first content is selected from the content displayed on the interface according to the user's operation, and prompt information of whether to copy the first content is displayed.
示例性的,在本实施例中,用户在通过终端设备的界面浏览内容时,若想将界面上显示的内容中的第一内容分享给某个好友,这时用户会通过对界面操作,以使终端设备从显示的内容中选中该第一内容。相应的,参照上述图2A所示,终端设备的界面上会显示出对该第一内容进行操作的提示信息框,该提示信息框中可以包括:复制、查询、添加、分享、搜索等选项。Exemplarily, in this embodiment, when the user browses content through the interface of the terminal device, if he wants to share the first content of the content displayed on the interface with a certain friend, the user will operate the interface to The terminal device is caused to select the first content from the displayed content. Correspondingly, referring to FIG. 2A , a prompt information box for operating the first content will be displayed on the interface of the terminal device, and the prompt information box may include options such as copy, query, add, share, and search.
在步骤S52中,若用户选择复制,则对第一内容执行复制操作。In step S52, if the user chooses to copy, a copy operation is performed on the first content.
可选的,在本实施例中,参照图2A所示,若用户从提示信息框中选择复制选项时,终端设备根据该复制指令,执行对第一内容的复制操作,相应的,终端设备的界面上会显示出上述内容分享提示信息。Optionally, in this embodiment, referring to FIG. 2A , if the user selects the copy option from the prompt information box, the terminal device performs a copy operation on the first content according to the copy instruction, and accordingly, the terminal device’s The above content sharing prompt information will be displayed on the interface.
本公开实施例提供的内容分享方法,终端设备根据用户的操作在界面上显示的内容中选中上述第一内容,并显示是否对该第一内容进行复制的提示信息,若用户选择复制,则对第一内容执行复制操作。该技术方案中,用户选中界面上的第一内容时,显示出提示信息,为后续进行内容分享提供了实现可能。In the content sharing method provided by the embodiment of the present disclosure, the terminal device selects the above-mentioned first content from the content displayed on the interface according to the user's operation, and displays prompt information whether to copy the first content. The first content performs a copy operation. In this technical solution, when the user selects the first content on the interface, prompt information is displayed, which provides the possibility for subsequent content sharing.
示例性的,在本实施例中,上述步骤12(在该界面上显示内容分享提示信息)至少可以通过如下两种可能实现方式中的任意一种实现:Exemplarily, in this embodiment, the above step 12 (displaying content sharing prompt information on the interface) can be implemented at least in any one of the following two possible implementation manners:
作为一种可能实现方式,在该界面目前显示内容上的浮层中突出显示内容分享提示信息。As a possible implementation manner, the content sharing prompt information is highlighted in the floating layer on the content currently displayed on the interface.
在该种可能实现方式中,当终端设备获取到与该终端设备的距离小于预设距离的至少一个联系人时,终端设备可以在界面目前显示内容上增加一个浮层,在该浮层中显示上述内容分享提示信息,即在界面上突出显示该内容分享提示信息,以使终端设备的用户可以根据内容分享提示信息选择待分享的第一联系人。In this possible implementation manner, when the terminal device acquires at least one contact whose distance from the terminal device is less than the preset distance, the terminal device may add a floating layer to the currently displayed content on the interface, and display the information in the floating layer. The above content sharing prompt information means that the content sharing prompt information is highlighted on the interface, so that the user of the terminal device can select the first contact to be shared according to the content sharing prompt information.
作为另一种可能实现方式,在该界面上的内容分享区域中显示上述内容分享提示信息;其中,该内容分享区域包括:界面上的一部分区域。As another possible implementation manner, the above-mentioned content sharing prompt information is displayed in the content sharing area on the interface; wherein, the content sharing area includes: a part of the area on the interface.
可选的,在该种可能实现方式中,终端设备可以根据实际需要将界面划分成多个区域,利用该多个区域中的一个区域来显示内容分享提示信息。例如,在本实施例中,可以将用于显示上述内容分享提示信息的区域称为内容分享区域,相应的,该内容分享区域包括界面上的一部分区域。Optionally, in this possible implementation manner, the terminal device may divide the interface into multiple areas according to actual needs, and use one of the multiple areas to display content sharing prompt information. For example, in this embodiment, an area for displaying the above-mentioned content sharing prompt information may be called a content sharing area, and correspondingly, the content sharing area includes a part of the area on the interface.
示例性的,在本实施例中,该内容分享方法还可以包括如下步骤:Exemplarily, in this embodiment, the content sharing method may further include the following steps:
根据该第一内容在界面上的位置,调整上述内容分享区域,以使该第一内容和内容分享区域同时显示在界面上。According to the position of the first content on the interface, the above-mentioned content sharing area is adjusted so that the first content and the content sharing area are displayed on the interface at the same time.
可选的,终端设备通过对界面上显示的内容进行操作,从中选择第一内容后,为了使得终端设备的用户在分享的过程中可以随时查看自己要分享的第一内容,终端设备可以根据第一内容在界面上的位置,通过调整内容分享区域的位置和大小,使得第一内容和内容分享区域始终同时显示在界面上。Optionally, after the terminal device selects the first content by operating the content displayed on the interface, in order to enable the user of the terminal device to view the first content to be shared at any time during the sharing process, the terminal device can view the first content according to the first content. For the position of a content on the interface, by adjusting the position and size of the content sharing area, the first content and the content sharing area are always displayed on the interface at the same time.
图6是根据一示例性实施例示出的一种内容分享装置的框图。该装置可以集成在终端设备中,也可以是终端设备。参照图6所示,该装置可以包括:获取模块61、显示模块62和发送模块63。Fig. 6 is a block diagram of a content sharing apparatus according to an exemplary embodiment. The apparatus can be integrated in a terminal device or can be a terminal device. Referring to FIG. 6 , the apparatus may include: an
其中,该获取模块61,用于在检测到对界面上的第一内容执行复制操作时,获取与所述终端设备的距离小于预设距离的至少一个联系人。Wherein, the acquiring
该显示模块62,用于在所述界面上显示内容分享提示信息。The
其中,所述内容分享提示信息中包括所述至少一个联系人的标识信息,所述内容分享提示信息用于提示用户可以将复制的内容发送给指定的联系人;Wherein, the content sharing prompt information includes identification information of the at least one contact, and the content sharing prompt information is used to prompt the user that the copied content can be sent to a designated contact;
该发送模块63,用于在检测到用户从所述至少一个联系人中选中第一联系人时,向所述第一联系人发送所述第一内容。The sending
可选的,在上述实施例的基础上,图7是根据另一示例性实施例示出的一种内容分享装置的框图。如图7所示,上述获取模块61包括:第一获取子模块71、第二获取子模块72和第三获取子模块73。Optionally, based on the foregoing embodiment, FIG. 7 is a block diagram of a content sharing apparatus according to another exemplary embodiment. As shown in FIG. 7 , the above obtaining
该第一获取子模块71,用于获取所述终端设备的位置信息。The first obtaining
该第二获取子模块72,用于获取至少一个应用程序中的联系人列表中的每个联系人对应的终端设备的位置信息。The second obtaining
该第三获取子模块73,用于根据每个应用程序中的联系人列表中的每个联系人对应的终端设备的位置信息以及所述终端设备的位置信息,获取所述至少一个应用程序的联系人列表中与所述终端设备的距离小于预设距离的至少一个联系人。The third obtaining
示例性的,在本实施例的一种可能实现方式中,上述内容分享提示信息还包括每个联系人与所述终端设备的距离,其中,所述至少一个联系人按照与所述终端设备之间的距离由近至远的顺序进行显示。Exemplarily, in a possible implementation manner of this embodiment, the above-mentioned content sharing prompt information further includes the distance between each contact and the terminal device, wherein the at least one contact is based on the distance between the contact and the terminal device. The distances between them are displayed in order from nearest to farthest.
可选的,在上述实施例的基础上,图8是根据另一示例性实施例示出的一种内容分享装置的框图。如图8所示,在本实施例中,上述获取模块61,还用于获取所述终端设备在检测到对所述界面上的第一内容执行复制操作之前的预设时间段内的联系人清单。Optionally, based on the foregoing embodiment, FIG. 8 is a block diagram of a content sharing apparatus according to another exemplary embodiment. As shown in FIG. 8 , in this embodiment, the above obtaining
其中,所述联系人清单包括:至少一个应用程序中的联系人列表中的在所述预设时间段内与所述终端设备的用户进行联系的至少一个联系人。Wherein, the contact list includes: at least one contact in the contact list in at least one application that is in contact with the user of the terminal device within the preset time period.
相应的,如图8所示,所述装置还包括:确定模块81。Correspondingly, as shown in FIG. 8 , the apparatus further includes: a
该确定模块81,用于根据上述获取模块61获取到的与所述终端设备的距离小于预设距离的至少一个联系人和所述联系人清单,确定所述内容分享提示信息中包括的所述至少一个联系人的标识信息。The determining
示例性的,在本实施例的一种可能实现方式中,上述显示模块62,具体用于在所述界面目前显示内容上的浮层中突出显示所述内容分享提示信息;Exemplarily, in a possible implementation manner of this embodiment, the above-mentioned
或者,or,
上述显示模块62,具体用于在所述界面上的内容分享区域中显示所述内容分享提示信息;其中,所述内容分享区域包括:所述界面上的一部分区域。The above-mentioned
可选的,在上述实施例的基础上,图9是根据再一示例性实施例示出的一种内容分享装置的框图。如图9所示,在本实施例中,所述装置还包括:调整模块91。Optionally, on the basis of the foregoing embodiment, FIG. 9 is a block diagram of a content sharing apparatus according to yet another exemplary embodiment. As shown in FIG. 9 , in this embodiment, the apparatus further includes: an
该调整模块91,用于根据所述第一内容在界面上的位置,调整所述内容分享区域,以使所述第一内容和所述内容分享区域同时显示在界面上。The
示例性的,该调整模块91可以位于显示模块62之后,发送模块63之前,即在显示模块在所述界面上显示内容分享提示信息之后,在发送模块63向选中的第一联系人发送第一内容之前,来调整上述内容分享区域。Exemplarily, the
可选的,在上述任一实施例的基础上,图10是根据又一示例性实施例示出的一种内容分享装置的框图。如图10所示,在本实施例中,所述装置还包括:处理模块101。Optionally, based on any of the foregoing embodiments, FIG. 10 is a block diagram of a content sharing apparatus according to another exemplary embodiment. As shown in FIG. 10 , in this embodiment, the apparatus further includes: a
该处理模块101,用于根据用户的操作在界面上显示的内容中选中该第一内容。The
该显示模块62,还用于并显示是否对所述第一内容进行复制的提示信息。The
该处理模块101,还用于在所述用户选择复制时,对所述第一内容执行复制操作。The
示例性的,该处理模块101既可以位于显示模块62之前,也可以位于显示模块62之后,其可以根据实际需要确定,本申请实施例并不对其进行限定。Exemplarily, the
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
示例性的,本公开实施例还提供一种内容分享装置,包括:Exemplarily, an embodiment of the present disclosure further provides a content sharing apparatus, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:wherein the processor is configured to:
若检测到对界面上的第一内容执行复制操作,则获取与所述装置的距离小于预设距离的至少一个联系人;If it is detected that a copy operation is performed on the first content on the interface, acquiring at least one contact whose distance from the device is less than a preset distance;
在所述界面上显示内容分享提示信息;所述内容分享提示信息中包括所述至少一个联系人的标识信息,所述内容分享提示信息用于提示用户可以将复制的内容发送给指定的联系人;Content sharing prompt information is displayed on the interface; the content sharing prompt information includes identification information of the at least one contact, and the content sharing prompt information is used to prompt the user that the copied content can be sent to a designated contact ;
若检测到用户从所述至少一个联系人中选中第一联系人,则向所述第一联系人发送所述第一内容。If it is detected that the user selects the first contact from the at least one contact, the first content is sent to the first contact.
关于上述实施例中的装置,其具体实现方式可参见上述方法的实施例中的记载,此处将不做详细阐述说明。Regarding the device in the foregoing embodiment, reference may be made to the description in the embodiment of the foregoing method for the specific implementation manner, which will not be described in detail here.
图11是根据又一示例性实施例示出的一种内容分享装置的框图。例如,该内容分享装置1100可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 11 is a block diagram of a content sharing apparatus according to yet another exemplary embodiment. For example, the
参照图11,装置1100可以包括以下一个或多个组件:处理组件1102,存储器1104,电源组件1106,多媒体组件1108,音频组件1110,输入/输出(I/O)的接口1112,传感器组件1114,以及通信组件1116。11, the
处理组件1102通常控制装置1100的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1102可以包括一个或多个处理器1120来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1102可以包括一个或多个模块,便于处理组件1102和其他组件之间的交互。例如,处理组件1102可以包括多媒体模块,以方便多媒体组件1108和处理组件1102之间的交互。The
存储器1104被配置为存储各种类型的数据以支持在装置1100的操作。这些数据的示例包括用于在装置1100上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件1106为装置1100的各种组件提供电力。电源组件1106可以包括电源管理系统,一个或多个电源,及其他与为装置1100生成、管理和分配电力相关联的组件。
多媒体组件1108包括在所述装置1100和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1108包括一个前置摄像头和/或后置摄像头。当装置1100处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件1110被配置为输出和/或输入音频信号。例如,音频组件1110包括一个麦克风(MIC),当装置1100处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1104或经由通信组件1116发送。在一些实施例中,音频组件1110还包括一个扬声器,用于输出音频信号。Audio component 1110 is configured to output and/or input audio signals. For example, audio component 1110 includes a microphone (MIC) that is configured to receive external audio signals when
I/O接口1112为处理组件1102和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件1114包括一个或多个传感器,用于为装置1100提供各个方面的状态评估。例如,传感器组件1114可以检测到装置1100的打开/关闭状态,组件的相对定位,例如所述组件为装置1100的显示器和小键盘,传感器组件1114还可以检测装置1100或装置1100一个组件的位置改变,用户与装置1100接触的存在或不存在,装置1100方位或加速/减速和装置1100的温度变化。传感器组件1114可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1114还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1114还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1116被配置为便于装置1100和其他设备之间有线或无线方式的通信。装置1100可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1116经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1116还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置1100可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment,
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1104,上述指令可由装置1100的处理器1120执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a
本公开实施例还可以提供一种存储介质,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如上述图1至图5所示方法实施例的步骤。Embodiments of the present disclosure may further provide a storage medium, where instructions are stored in the storage medium, when the storage medium runs on a computer, the computer executes the steps of the method embodiments shown in FIG. 1 to FIG. 5 .
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求书指出。Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or conventional techniques in the art not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。It should be understood that the present invention is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from its scope.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811475128.8ACN109600303B (en) | 2018-12-04 | 2018-12-04 | Content sharing method, device and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811475128.8ACN109600303B (en) | 2018-12-04 | 2018-12-04 | Content sharing method, device and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN109600303A CN109600303A (en) | 2019-04-09 |
| CN109600303Btrue CN109600303B (en) | 2021-08-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811475128.8AActiveCN109600303B (en) | 2018-12-04 | 2018-12-04 | Content sharing method, device and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN109600303B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110752981B (en)* | 2019-09-29 | 2022-02-08 | 维沃移动通信有限公司 | Information control method and electronic equipment |
| CN110929273A (en)* | 2019-11-08 | 2020-03-27 | 维沃移动通信有限公司 | Permission setting method and electronic equipment |
| CN110839211B (en)* | 2019-11-19 | 2022-05-31 | 腾讯科技(深圳)有限公司 | Information sharing method and device and storage medium |
| CN111258420B (en)* | 2020-01-13 | 2023-02-21 | 维沃移动通信有限公司 | Information interaction method, head-mounted device and medium |
| CN112306345B (en)* | 2020-10-29 | 2022-08-09 | 维沃移动通信有限公司 | Data sending method and device and electronic equipment |
| CN114356164A (en)* | 2022-01-05 | 2022-04-15 | 维沃移动通信有限公司 | Sharing method and sharing device |
| CN114510166B (en)* | 2022-04-01 | 2022-08-26 | 深圳传音控股股份有限公司 | Operation method, intelligent terminal and storage medium |
| CN115412522B (en)* | 2022-08-26 | 2024-09-06 | 维沃移动通信有限公司 | Content sharing method and device, electronic equipment and readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102546835A (en)* | 2012-03-08 | 2012-07-04 | 腾讯科技(深圳)有限公司 | Method for sharing contents, terminal, server and system |
| CN103812991A (en)* | 2012-11-06 | 2014-05-21 | 腾讯科技(深圳)有限公司 | Method for sharing the content of mobile terminal and mobile terminal |
| CN105898841A (en)* | 2016-06-30 | 2016-08-24 | 北京奇虎科技有限公司 | Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060101064A1 (en)* | 2004-11-08 | 2006-05-11 | Sharpcast, Inc. | Method and apparatus for a file sharing and synchronization system |
| US8725808B2 (en)* | 2012-05-10 | 2014-05-13 | Intel Mobile Communications GmbH | Method for transferring data between a first device and a second device |
| CN103020183A (en)* | 2012-11-27 | 2013-04-03 | 魏新成 | Search share operation by selecting string and activating search share bar by left button |
| CN104615416B (en)* | 2013-11-04 | 2019-02-26 | 腾讯科技(深圳)有限公司 | Picture copy process method and apparatus |
| CN103559288A (en)* | 2013-11-08 | 2014-02-05 | 惠州Tcl移动通信有限公司 | Method and mobile terminal for intelligent collecting and sharing |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102546835A (en)* | 2012-03-08 | 2012-07-04 | 腾讯科技(深圳)有限公司 | Method for sharing contents, terminal, server and system |
| CN103812991A (en)* | 2012-11-06 | 2014-05-21 | 腾讯科技(深圳)有限公司 | Method for sharing the content of mobile terminal and mobile terminal |
| CN105898841A (en)* | 2016-06-30 | 2016-08-24 | 北京奇虎科技有限公司 | Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal |
| Publication number | Publication date |
|---|---|
| CN109600303A (en) | 2019-04-09 |
| Publication | Publication Date | Title |
|---|---|---|
| CN109600303B (en) | Content sharing method, device and storage medium | |
| US10728196B2 (en) | Method and storage medium for voice communication | |
| CN107908351B (en) | Application interface display method, device and storage medium | |
| CN106791921B (en) | Processing method and device for live video and storage medium | |
| CN107066172B (en) | File transmission method and device for mobile terminal | |
| US20160262093A1 (en) | Method and device for displaying wifi list | |
| WO2017036039A1 (en) | Method for remote assistance and client | |
| WO2017088247A1 (en) | Input processing method, device and apparatus | |
| CN106202194A (en) | The storage method and device of screenshot picture | |
| CN107423386B (en) | Method and device for generating electronic card | |
| CN106354504B (en) | Message display method and device | |
| CN106572268B (en) | Information display method and device | |
| CN106020634A (en) | Screen capture method and device | |
| WO2017008400A1 (en) | Method and device for controlling intelligent device | |
| US20170090684A1 (en) | Method and apparatus for processing information | |
| CN105898573A (en) | Method and device for multimedia file playing | |
| CN106453032B (en) | Information-pushing method and device, system | |
| WO2016015404A1 (en) | Call transfer method, device and terminal | |
| CN105242837B (en) | Five application page acquisition methods and terminal | |
| CN108011990B (en) | Contact management method and device | |
| CN107247794B (en) | Topic guidance method in live broadcast, live broadcast device and terminal device | |
| CN106506808B (en) | Method and device for prompting communication message | |
| CN105682187B (en) | Icon display method and device | |
| CN103970831A (en) | Icon recommending method and device | |
| CN113885986B (en) | Data transmission method and device and electronic equipment |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |