WO2016123896A1 - 一种分享信息的方法和装置 - Google Patents

一种分享信息的方法和装置 Download PDF

Info

Publication number
WO2016123896A1
WO2016123896A1 PCT/CN2015/082215 CN2015082215W WO2016123896A1 WO 2016123896 A1 WO2016123896 A1 WO 2016123896A1 CN 2015082215 W CN2015082215 W CN 2015082215W WO 2016123896 A1 WO2016123896 A1 WO 2016123896A1
Authority
WO
WIPO (PCT)
Prior art keywords
sharing
shared
target contact
information
policy
Prior art date
Application number
PCT/CN2015/082215
Other languages
English (en)
French (fr)
Inventor
金崇庭
范瑞涛
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016123896A1 publication Critical patent/WO2016123896A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • This document relates to the field of wireless communications, and in particular, to a method and apparatus for sharing information.
  • users can only share through one type of application at a time, and can not simultaneously send information to different types of contacts through multiple applications at the same time.
  • the success rate of the transmission is low, and the retransmission operation is troublesome.
  • the present invention provides a method and device for sharing information that can only be used to share information through one application at a time, but cannot simultaneously send information to different types of contacts through multiple applications at the same time, and the transmission success rate is low, and the retransmission operation is troublesome. .
  • a method of sharing information including:
  • the sharing policy includes one of the following policies: sharing according to a preset fixed sharing manner, sharing in one of a plurality of sharing modes in a preset order, and simultaneously Share sharing methods and pop-up queries each time and share them according to the sharing method determined by the user.
  • the method before receiving the sharing instruction for the information to be shared, and determining the target contact to be shared, the method further includes:
  • the sharing policy corresponding to the target contact is determined according to the sharing policy preset by each contact, and sharing the to-be-shared information to the target contact by using the determined sharing policy includes:
  • the target contact is stored in the address book, sharing the information to be shared to the target contact according to the corresponding sharing policy in the target contact;
  • the information to be shared is shared to the target contact according to the default sharing policy.
  • the method further includes:
  • sharing the to-be-shared information to the target contact according to the corresponding sharing policy in the target contact includes:
  • the fixed sharing mode corresponding to the target contact is determined, and the to-be-shared information is passed through the determined fixed sharing mode. Share to the target contact;
  • the sharing policy corresponding to the target contact is shared by one of the multiple sharing modes in the preset order, determining a plurality of sharing modes and sequences corresponding to the target contact, and in accordance with the determined order,
  • the information to be shared is sequentially shared to the target contact by using a corresponding multiple sharing manner, until the sharing is successful by any sharing method or all sharing methods fail;
  • the sharing policy corresponding to the target contact is the same, the plurality of sharing modes corresponding to the target contact are determined, and the information to be shared is determined according to the determined multiple sharing manners. Share to the target contact;
  • the sharing policy corresponding to the target contact is the pop-up query and sharing according to the sharing mode determined by the user, receiving a selection instruction input by the user, and selecting one or more corresponding sharing modes, the waiting The sharing information is shared with the target contact according to the selected sharing method.
  • sharing the information to be shared to the target contact according to the default sharing policy includes:
  • the fixed sharing mode corresponding to the target contact is determined, and the to-be-shared information is shared by the determined fixed sharing mode.
  • the information to be shared is shared to the target contact in a corresponding multiple sharing manner, until the sharing is successful through any sharing method or all sharing methods fail.
  • the multiple sharing modes corresponding to the target contact are determined, and the to-be-shared information is shared according to the determined multiple sharing modes.
  • the selected sharing method is shared with the target contact.
  • a device for sharing information including:
  • the receiving module is configured to: receive a sharing instruction for the information to be shared, and determine a target contact to be shared;
  • the sharing module is configured to: according to the sharing policy preset by each contact, determine a sharing policy corresponding to the target contact, and share the to-be-shared information to the target contact by using the determined sharing policy.
  • the sharing policy includes one of the following policies: sharing according to a preset fixed sharing manner, sharing in one of a plurality of sharing modes in a preset order, and sharing by using multiple sharing methods at the same time. Each time a pop-up question is made and shared according to the sharing method determined by the user.
  • the device further includes:
  • the setting module is set to: set a corresponding sharing policy for each contact already stored in the address book, and set a default sharing policy for contacts not stored in the address book.
  • the sharing module includes:
  • the first determining unit is configured to: determine whether the target contact is stored in the address book, and when the target contact is stored in the address book, trigger the first sharing unit, when the target contact is not stored in the communication When recording, triggering the second sharing unit;
  • the first sharing unit is configured to: according to the triggering of the determining unit, share the information to be shared to the target contact by using a corresponding sharing policy in the target contact;
  • the second sharing unit is configured to: according to the triggering of the determining unit, share the information to be shared to the target contact by using the default sharing policy.
  • the device further includes:
  • the second determining unit is configured to: determine whether the sharing is successful, if the sharing is successful, trigger the first output unit, and if the sharing fails, trigger the second output unit;
  • the first output unit outputs the prompt information of the sharing success and the sharing mode adopted according to the triggering of the second determining unit;
  • the second output unit outputs the prompt information of the sharing failure according to the trigger of the second determining unit.
  • the first sharing unit includes:
  • a first determining sub-unit configured to: determine a sharing policy corresponding to the target contact, where the first sharing is triggered when the sharing policy corresponding to the target contact is shared by the preset fixed sharing mode And the sub-unit, when the sharing policy corresponding to the target contact is shared by the one of the multiple sharing modes in the preset order, triggering the second sharing sub-unit, where the sharing policy corresponding to the target contact is When the sharing is performed by using multiple sharing modes, the third sharing unit is triggered. When the sharing policy corresponding to the target contact is the pop-up query and sharing according to the sharing mode determined by the user, the fourth trigger is triggered. Sharing subunits;
  • a first sharing subunit configured to: determine, according to a trigger of the first determining subunit, a fixed sharing manner corresponding to the target contact, and share the to-be-shared information to the target contact by using the determined fixed sharing manner people;
  • the second sharing subunit is configured to: determine, according to the triggering of the first determining subunit, a plurality of sharing modes and sequences corresponding to the target contact, and sequentially pass the to-be-shared information through corresponding multiples according to the determined order Sharing methods are shared with the target contact until the sharing is successful by any sharing method or all sharing methods fail;
  • the third sharing subunit is configured to: determine, according to the triggering of the first determining subunit, multiple sharing manners corresponding to the target contact, and share the to-be-shared information to the target according to the determined multiple sharing manners Contact person
  • the fourth sharing subunit is configured to: according to the triggering of the first determining subunit, receive a selection instruction input by the user, select one or more corresponding sharing modes, and share the to-be-shared information according to the selected sharing mode to the The target contact.
  • the second sharing unit includes:
  • a second determining sub-unit configured to: determine the default sharing policy, where the fifth sharing sub-unit is triggered when the default sharing policy is shared by the preset fixed sharing mode, The default sharing policy triggers the sixth sharing sub-unit when the sharing is performed by one of the multiple sharing modes in the preset order, and when the default sharing policy is shared by the multiple sharing modes at the same time, Triggering a seventh sharing sub-unit, triggering an eighth sharing sub-unit when the default sharing policy is the pop-up query and sharing according to the sharing manner determined by the user;
  • the fifth sharing subunit is configured to: determine, according to the triggering of the second determining subunit, the default fixed sharing mode, and share the to-be-shared information to the target contact by using the determined fixed sharing manner;
  • the sixth sharing sub-unit is configured to: determine, according to the triggering of the second determining sub-unit, the default multiple sharing modes and sequences, and sequentially pass the to-be-shared information through the corresponding multiple sharing manners according to the determined order Share to the target contact until the sharing is successful by any sharing method or all sharing methods fail;
  • the seventh sharing subunit is configured to: determine, according to the triggering of the second determining subunit, the default multiple sharing manners, and share the to-be-shared information to the target contact according to the determined multiple sharing manners;
  • the eighth sharing subunit is configured to: according to the trigger of the second determining subunit, receive a selection instruction input by the user, select one or more corresponding sharing manners, and share the to-be-shared information according to the selected sharing manner to the The target contact.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the sharing policy adopted by each or each type of contact in advance when the user shares the related information to the target contact, the related information is directly shared according to the sharing policy preset in the target contact to the target. Contacts, without the need for the user to manually select, reduce the sharing steps.
  • the method for sharing information provided by the embodiment of the present invention can simultaneously share the information to be shared to the target contact through multiple sharing methods, and avoid the inconvenience caused by manual operation retransmission when the transmission fails in one sharing mode; It is possible to share the information to be shared to different target contacts according to different sharing modes at the same time, so as to avoid sharing different applications to manually share the information to be shared when different sharing methods of different target contacts are different. Inconvenience caused by the target contact.
  • FIG. 1 is a flowchart 1 of a method for sharing information according to an embodiment of the present invention
  • FIG. 2 is a flowchart 2 of a method for sharing information according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of setting a sharing policy according to an embodiment of the present invention.
  • FIG. 4 is a flow chart of sharing when the sharing policy is shared according to a preset fixed sharing manner according to an embodiment of the present invention
  • FIG. 5 is a flow chart of sharing when a sharing policy is shared by one of a plurality of sharing modes in a preset order according to an embodiment of the present invention
  • FIG. 6 is a sharing policy according to an embodiment of the present invention, which is shared by multiple sharing modes at the same time. Time sharing flow chart;
  • FIG. 7 is a flowchart of sharing when a sharing policy is performed each time a pop-up query is performed according to a sharing manner determined by a user according to an embodiment of the present invention
  • FIG. 8 is a structural flowchart of an apparatus for sharing information according to an embodiment of the present invention.
  • a method for sharing information including:
  • Step 10 Receive a sharing instruction for the information to be shared, and determine a target contact to be shared;
  • Step 11 Determine, according to the sharing policy preset by each contact, the sharing policy corresponding to the target contact, and share the to-be-shared information to the target contact by using the determined sharing policy.
  • a corresponding sharing policy is set in advance for each or each type of contact, and when the information to be shared needs to be shared, the target contact to be shared is determined, according to a pre-made sharing policy in the target contact, The information to be shared is shared with the target contact.
  • the sharing strategy includes at least one of the following strategies: sharing according to a preset fixed sharing method, sharing in one of a plurality of sharing modes in a preset order, and simultaneously sharing through multiple sharing. Ways to share and pop-up queries each time and share according to the sharing method determined by the user.
  • one or more target contacts can be input, or one or more target contacts can be selected in the phone book, wherein the sharing mode includes at least WIFI, Bluetooth, Infrared, NFC, SMS, MMS, email, all kinds of instant messaging and social applications.
  • the method for sharing information includes:
  • Step 20 Set a corresponding sharing policy for each contact that has been stored in the address book, and set a default sharing policy for contacts that are not stored in the address book. Receiving a sharing instruction for the information to be shared, and determining a target contact to be shared;
  • Step 21 it is determined whether the target contact is stored in the address book, if the target contact is stored in the address book, step 22 is performed, if the target contact is not stored in the address book, step 23 is performed;
  • Step 22 Share the information to be shared according to the corresponding sharing policy in the target contact The target contact;
  • Step 23 Share the information to be shared to the target contact according to the default sharing policy.
  • Step 24 it is determined whether the sharing is successful, if the sharing is successfully performed in step 25, if the sharing is not successful, step 26 is performed;
  • Step 25 output prompt information about the success of the sharing and the sharing mode used
  • step 26 the prompt information of the sharing failure is output.
  • the address corresponding to one or more sharing modes of the contact is recorded in the address book, and the contacts stored in the address book all correspond to respective sharing policies, and the unstored contacts are set.
  • the sharing policy setting page is shown in Figure 3. 30 is to set a default sharing policy for unsaved contacts, 31 to set a corresponding sharing policy for stored contacts, 32 to select sharing policies, and 33 to share policies.
  • 34 is to share in order of priority, 35 to share according to historical usage habits, and 36 to share by multiple sharing methods at the same time. It should be noted here that the text content in the figure is only an illustration and does not affect the solution.
  • the number of times of using the sharing mode in the contact is updated, and the historical contact is used for the target contact. Provide a basis for strategies to share information.
  • sharing the to-be-shared information to the target contact according to the corresponding sharing policy in the target contact includes:
  • the fixed sharing mode corresponding to the target contact is determined, and the to-be-shared information is passed through the determined fixed sharing mode. Share to the target contact;
  • the sharing policy corresponding to the target contact is shared by one of the multiple sharing modes in the preset order, determining a plurality of sharing modes and sequences corresponding to the target contact, and in accordance with the determined order,
  • the information to be shared is sequentially shared by the corresponding multiple sharing methods.
  • the sharing policy corresponding to the target contact is the same, the plurality of sharing modes corresponding to the target contact are determined, and the information to be shared is determined according to the determined multiple sharing manners. Share to the target contact;
  • the sharing policy corresponding to the target contact is the pop-up query and sharing according to the sharing mode determined by the user, receiving a selection instruction input by the user, and selecting one or more corresponding sharing modes, the waiting The sharing information is shared with the target contact according to the selected sharing method.
  • sharing the information to be shared to the target contact according to the default sharing policy includes:
  • the fixed sharing mode corresponding to the target contact is determined, and the to-be-shared information is shared by the determined fixed sharing mode.
  • the information to be shared is shared to the target contact in a corresponding multiple sharing manner, until the sharing is successful through any sharing method or all sharing methods fail.
  • the multiple sharing modes corresponding to the target contact are determined, and the to-be-shared information is shared according to the determined multiple sharing modes.
  • the selected sharing method is shared with the target contact.
  • the priority order may be randomly set in advance for all sharing modes, and the information may be shared according to the priority order; According to the number of times of sharing with the contact history, the order is set for all sharing modes, and the information is shared in the order set by the historical sharing mode; or the sharing method of the application described in the information to be shared is first shared, if sharing Unsuccessful, then Then share in order of priority.
  • the terminal includes a Wi-Fi, Bluetooth, NFC hardware module, and can work in the following.
  • the terminal includes a Wi-Fi, Bluetooth, NFC hardware module, and can work in the following.
  • the content to be shared is represented by “content to be shared”, and the characters and symbols on the screen of the mobile phone in the above-mentioned drawings are merely illustrative contents, which are applicable to the embodiment of the present invention.
  • the understanding of the program does not constitute a substantial impact.
  • the sharing process includes:
  • Step 40 Receive a sharing instruction for the information to be shared.
  • step 41 the target contact to be shared is determined.
  • Step 42 In the sending of the prompt information, the microblog application is invoked in the background, and the information to be shared is sent to the microblog account of the target contact.
  • step 43 if the sending is successful, the message “This information has been shared to the target contact's Weibo account through Weibo” is prompted. Otherwise, the sharing fails.
  • the sharing process includes:
  • Step 50 Receive a sharing instruction for the information to be shared.
  • step 51 the target contact to be shared is determined.
  • step 52 when the prompt information is sent, the background call Wi-Fi establishes a connection with the target contact, and sends the to-be-shared information to the target contact.
  • Step 53 If the sending is successful, the prompt information is successfully sent by some sharing method, and the process ends. Otherwise go to the next step 54.
  • step 54 if the sending fails, it is checked whether the current sharing mode is the last sharing mode. If it is not the last sharing mode, return to step 52 and try to send the information in the next sharing mode.
  • step 55 if the current sharing mode is the last sharing mode, the information sharing fails.
  • the sharing mode set for the target contact includes “Wi-Fi, Weibo, and WeChat”.
  • the sharing process includes:
  • Step 60 Receive a sharing instruction for the information to be shared.
  • step 61 the target contact to be shared is determined.
  • step 62 the prompt information is sent.
  • Step 63 The background call Wi-Fi establishes a data connection with the target contact, and sends the selected information to the target contact. If the sending is successful, the prompt information is successfully shared by Wi-Fi, otherwise the sharing fails.
  • Step 64 The background microblog invokes the selected information to send the selected information to the target contact. If the sending succeeds, the prompt information is successfully shared by the microblog, otherwise the sharing fails.
  • Step 65 The background call WeChat sends the selected information to the target contact. If the sending is successful, the prompt information is successfully shared by WeChat, otherwise the sharing fails.
  • the sharing process includes:
  • Step 70 Receive a sharing instruction for the information to be shared.
  • Step 71 Determine a target contact to be shared.
  • Step 72 prompting to select one or more sharing modes, and transmitting after receiving the selection instruction.
  • the user chooses the microblogging method.
  • step 73 in the sending of the prompt information, the sharing mode selected by the user is invoked in the background, and the selected information is sent to the target contact.
  • step 74 if the sending is successful, the prompt information is successfully shared by the microblog, otherwise the sharing fails.
  • the sharing policy set by the user is not limited to the above-mentioned sharing policies.
  • the following describes the basic flow of the method for sharing information provided by the embodiment of the present invention.
  • the user only needs to manually operate the first two steps under most settings, which is much less than the traditional operation steps. If the user needs to share information to different types of target contacts across multiple applications, then The convenience of this article will be better reflected.
  • the embodiment of the present invention further provides an apparatus for sharing information, including:
  • the receiving module 80 is configured to: receive a sharing instruction for the information to be shared, and determine a target contact to be shared;
  • the sharing module 81 is configured to: determine, according to a sharing policy preset by each contact, a sharing policy corresponding to the target contact, and share the to-be-shared information to the target contact by using the determined sharing policy ;
  • the sharing policy includes at least one of the following policies: sharing according to a preset fixed sharing manner, sharing in one of a plurality of sharing modes in a preset order, and simultaneously passing through multiple Share sharing methods and pop-up queries each time and share them according to the sharing method determined by the user.
  • the device further includes:
  • the setting module is set to: set a corresponding sharing policy for each contact already stored in the address book, and set a default sharing policy for contacts not stored in the address book.
  • the sharing module includes:
  • the first determining unit is configured to: determine whether the target contact is stored in the address book, and when the target contact is stored in the address book, trigger the first sharing unit, when the target contact is not stored in the communication When recording, triggering the second sharing unit;
  • the first sharing unit is configured to: according to the triggering of the determining unit, share the information to be shared to the target contact by using a corresponding sharing policy in the target contact;
  • a second sharing unit configured to: pass the default score according to the triggering of the determining unit enjoy the strategy to share the information to be shared to the target contact.
  • the device further includes:
  • the second determining unit is configured to: determine whether the sharing is successful, if the sharing is successful, trigger the first output unit, and if the sharing fails, trigger the second output unit;
  • the first output unit outputs the prompt information of the sharing success and the sharing mode adopted according to the triggering of the second determining unit;
  • the second output unit outputs the prompt information of the sharing failure according to the trigger of the second determining unit.
  • the first sharing unit includes:
  • Determining a sub-unit configured to: determine a sharing policy corresponding to the target contact, where the first sharing sub-unit is triggered when the sharing policy corresponding to the target contact is the sharing according to the preset fixed sharing mode
  • the second sharing sub-unit is triggered, and the sharing policy corresponding to the target contact is the
  • the third sharing unit is triggered, and when the sharing policy corresponding to the target contact is the pop-up query and sharing according to the sharing mode determined by the user, the fourth sharing sub-trigger is triggered. unit;
  • a first sharing sub-unit configured to: determine, according to the triggering of the determining sub-unit, a fixed sharing manner corresponding to the target contact, and share the to-be-shared information to the target contact by using the determined fixed sharing manner;
  • the second sharing sub-unit is configured to: determine, according to the triggering of the determining sub-unit, multiple sharing modes and sequences corresponding to the target contact, and sequentially pass the to-be-shared information through corresponding multiple sharing according to the determined order Sharing the way to the target contact until the sharing is successful by any sharing method or all sharing methods fail;
  • a third sharing sub-unit configured to: determine, according to the triggering of the determining sub-unit, multiple sharing modes corresponding to the target contact, and share the to-be-shared information to the target contact according to the determined multiple sharing modes ;
  • the fourth sharing subunit is configured to: according to the triggering of the determining subunit, receive a selection instruction input by the user, select one or more corresponding sharing manners, and share the to-be-shared information to the target according to the selected sharing manner Contact person.
  • the second sharing unit includes:
  • a second determining sub-unit configured to: determine the default sharing policy, where the fifth sharing sub-unit is triggered when the default sharing policy is shared by the preset fixed sharing mode, The default sharing policy triggers the sixth sharing sub-unit when the sharing is performed by one of the multiple sharing modes in the preset order, and when the default sharing policy is shared by the multiple sharing modes at the same time, Triggering a seventh sharing sub-unit, triggering an eighth sharing sub-unit when the default sharing policy is the pop-up query and sharing according to the sharing manner determined by the user;
  • the fifth sharing subunit is configured to: determine, according to the triggering of the second determining subunit, the default fixed sharing mode, and share the to-be-shared information to the target contact by using the determined fixed sharing manner;
  • the sixth sharing sub-unit is configured to: determine, according to the triggering of the second determining sub-unit, the default multiple sharing modes and sequences, and sequentially pass the to-be-shared information through the corresponding multiple sharing manners according to the determined order Share to the target contact until the sharing is successful by any sharing method or all sharing methods fail;
  • the seventh sharing subunit is configured to: determine, according to the triggering of the second determining subunit, the default multiple sharing manners, and share the to-be-shared information to the target contact according to the determined multiple sharing manners;
  • the eighth sharing subunit is configured to: according to the trigger of the second determining subunit, receive a selection instruction input by the user, select one or more corresponding sharing manners, and share the to-be-shared information according to the selected sharing manner to the The target contact.
  • the device is a device corresponding to the foregoing method for sharing information. All the implementations in the foregoing method embodiments are applicable to the embodiment of the device, and the same technical effects can be achieved.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the embodiment of the present invention by sharing the sharing policy adopted by each or each type of contact in advance, when the user shares the related information to the target contact, the related information is directly shared according to the sharing policy preset in the target contact to the target. Contacts, without the need for the user to manually select, reduce the sharing steps.
  • the embodiment of the present invention can simultaneously share the information to be shared to the target contact through multiple sharing modes, and avoid the inconvenience caused by manual operation retransmission when the transmission fails in one sharing mode.
  • it can also be implemented separately according to different
  • the sharing method will share the information to be shared to different target contacts, avoiding the need to manually open different applications to share the information to be shared to different target contacts due to different sharing methods of multiple target contacts. Convenience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种分享信息的方法和装置,所述方法包括:接收针对待分享信息的分享指令,并确定待分享的目标联系人;根据每个联系人预设的分享策略,确定所述目标联系人对应的分享策略,并通过所确定的分享策略,将所述待分享信息分享给所述目标联系人;其中,所述分享策略至少包括以下策略中的一种:按照预设的固定分享方式进行分享、按预设顺序通过多个分享方式中的一个进行分享、同时通过多种分享方式进行分享和每次弹出询问并根据用户确定的分享方式进行分享。

Description

一种分享信息的方法和装置 技术领域
本文涉及无线通信领域,特别涉及一种分享信息的方法和装置。
背景技术
随着移动终端的不断发展,移动终端的分享信息的方法越来越多,用户使用也越来越频繁。由于分享信息的应用程序越来越多,且彼此独立,服务器和客户端接口各不相同,用户想要把同一个信息快速准确的发送给目标用户,操作越来越麻烦。比如用户看到网络上一篇很好的文章,想要分享给QQ某个好友时,需要先选择该网页内容,点击分享,选择QQ方式分享,选择该好友ID,然后发送。如果用户还想把该文章分享给微信中的某个朋友圈,那么又需要调用微信方式进行一次分享。也就是用户一次只能通过一类应用进行分享,而无法同时通过多种应用给不同类型联系人同时发送信息。且相关技术的分享方式在网络不好、应用连接不上服务器等情况下,发送的成功率低,重发操作麻烦。
发明内容
本文提供一种分享信息的方法和装置解决目前一次只能通过一种应用分享信息,而无法同时通过多种应用给不同类型联系人同时发送信息,且发送成功率低、重发操作麻烦的问题。
一种分享信息的方法,包括:
接收针对待分享信息的分享指令,并确定待分享的目标联系人;
根据每个联系人预设的分享策略,确定所述目标联系人对应的分享策略,并通过所确定的分享策略,将所述待分享信息分享给所述目标联系人。
可选地,所述分享策略包括以下策略中的一种:按照预设的固定分享方式进行分享、按预设顺序通过多个分享方式中的一个进行分享、同时通过多 种分享方式进行分享和每次弹出询问并根据用户确定的分享方式进行分享。
可选地,接收针对待分享信息的分享指令,并确定待分享的目标联系人之前,所述方法还包括:
针对已存储在通讯录中的每个联系人均设置一种对应的分享策略,针对未存储在通讯录里的联系人设置一种默认的分享策略。
可选地,根据每个联系人预设的分享策略,确定所述目标联系人对应的分享策略,并通过所确定的分享策略,将所述待分享信息分享给所述目标联系人包括:
判断所述目标联系人是否存储在通讯录中;
如果所述目标联系人存储在通讯录中,则根据所述目标联系人中对应的分享策略,把待分享信息分享给所述目标联系人;
如果所述目标联系人未存储在通讯录中,则根据所述默认的分享策略,把待分享信息分享给所述目标联系人。
可选地,把所述待分享信息分享给所述目标联系人之后,所述方法还包括:
判断分享是否成功,如果分享成功,则输出分享成功及所采用的分享方式的提示信息;如果分享失败,则输出分享失败的提示信息。
可选地,如果所述目标联系人存储在通讯录中,则根据所述目标联系人中对应的分享策略,把待分享信息分享给所述目标联系人包括:
确定所述目标联系人对应的分享策略;其中,
在所述目标联系人对应的分享策略为所述按照预设的固定分享方式进行分享时,确定所述目标联系人对应的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
在所述目标联系人对应的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,确定所述目标联系人对应的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
在所述目标联系人对应的分享策略为所述同时通过多种分享方式进行分享时,确定所述目标联系人对应的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
在所述目标联系人对应的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
可选地,根据所述默认的分享策略,把待分享信息分享给所述目标联系人包括:
确定所述默认的分享策略;其中,
在所述默认的分享策略为所述按照预设的固定分享方式进行分享时,确定所述目标联系人对应的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
在所述默认的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,确定所述目标联系人对应的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
在所述默认的分享策略为所述同时通过多种分享方式进行分享时,确定所述目标联系人对应的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
在所述默认的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
一种分享信息的装置,包括:
接收模块,设置为:接收针对待分享信息的分享指令,并确定待分享的目标联系人;
分享模块,设置为:根据每个联系人预设的分享策略,确定所述目标联系人对应的分享策略,并通过所确定的分享策略,将所述待分享信息分享给所述目标联系人。
可选地,所述分享策略包括以下策略中的一种:按照预设的固定分享方式进行分享、按预设顺序通过多个分享方式中的一个进行分享、同时通过多种分享方式进行分享和每次弹出询问并根据用户确定的分享方式进行分享。
可选地,所述装置还包括:
设置模块,设置为:针对已存储在通讯录中的每个联系人均设置一种对应的分享策略,针对未存储在通讯录里的联系人设置一种默认的分享策略。
可选地,所述分享模块包括:
第一判断单元,设置为:判断所述目标联系人是否存储在通讯录中,当所述目标联系人存储在通讯录中时,触发第一分享单元,当所述目标联系人未存储在通讯录中时,触发第二分享单元;
第一分享单元,设置为:根据所述判断单元的触发,通过所述目标联系人中对应的分享策略,把待分享信息分享给所述目标联系人;
第二分享单元,设置为:根据所述判断单元的触发,通过所述默认的分享策略,把待分享信息分享给所述目标联系人。
可选地,所述装置还包括:
第二判断单元,设置为:判断分享是否成功,如果分享成功,触发第一输出单元,如果分享失败,触发第二输出单元;
第一输出单元,根据第二判断单元的触发,输出分享成功及所采用的分享方式的提示信息;
第二输出单元,根据第二判断单元的触发,输出分享失败的提示信息。
可选地,所述第一分享单元包括:
第一确定子单元,设置为:确定所述目标联系人对应的分享策略,其中,在所述目标联系人对应的分享策略为所述按照预设的固定分享方式进行分享时,触发第一分享子单元,在所述目标联系人对应的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,触发第二分享子单元,在所述目标联系人对应的分享策略为所述同时通过多种分享方式进行分享时,触发第三分享自单元,在所述目标联系人对应的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,触发第四分享子单元;
第一分享子单元,设置为:根据第一确定子单元的触发,确定所述目标联系人对应的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
第二分享子单元,设置为:根据第一确定子单元的触发,确定所述目标联系人对应的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
第三分享子单元,设置为:根据第一确定子单元的触发,确定所述目标联系人对应的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
第四分享子单元,设置为:根据第一确定子单元的触发,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
可选地,所述第二分享单元包括:
第二确定子单元,设置为:确定所述默认的分享策略,其中,在所述默认的分享策略为所述按照预设的固定分享方式进行分享时,触发第五分享子单元,在所述默认的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,触发第六分享子单元,在所述默认的分享策略为所述同时通过多种分享方式进行分享时,触发第七分享子单元,在所述默认的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,触发第八分享子单元;
第五分享子单元,设置为:根据第二确定子单元的触发,确定所述默认的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
第六分享子单元,设置为:根据第二确定子单元的触发,确定所述默认的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
第七分享子单元,设置为:根据第二确定子单元的触发,确定所述默认的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
第八分享子单元,设置为:根据第二确定子单元的触发,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。
本发明实施例通过预先设置每个或者每类联系人采用的分享策略,在用户把相关信息分享给目标联系人时,直接按照目标联系人中预置的分享策略,将相关信息分享给该目标联系人,而无需用户手动选择,减少分享的操作步骤。本发明实施例提供的分享信息的方法可以实现通过多种分享方式同时分享待分享信息给目标联系人,避免用一种分享方式发送失败时,需要手动操作重发造成的不方便;另外,也可以实现同时分别按照不同的分享方式将待分享信息分享给不同的目标联系人,避免因多个目标联系人的分享方式不同时,需要手动多次打开不同的应用去把待分享信息分享给不同目标联系人造成的不方便。
附图概述
图1为本发明实施例所述的分享信息方法的流程图1;
图2为本发明实施例所述的分享信息方法的流程图2;
图3为本发明实施例所述的设置分享策略的流程图;
图4为本发明实施例所述的分享策略为所述按照预设的固定分享方式进行分享时的分享流程图;
图5为本发明实施例所述的分享策略为按预设顺序通过多个分享方式中的一个进行分享时的分享流程图;
图6为本发明实施例所述的分享策略为同时通过多种分享方式进行分享 时的分享流程图;
图7为本发明实施例所述的分享策略为每次弹出询问并根据用户确定的分享方式进行分享时的分享流程图;
图8为本发明实施例所述的分享信息的装置的结构流程图。
本发明的实施方式
下面将结合附图对本发明的实施方式进行详细描述。
如图1所示,在本发明的实施例中,提供一种分享信息的方法,包括:
步骤10,接收针对待分享信息的分享指令,并确定待分享的目标联系人;
步骤11,根据每个联系人预设的分享策略,确定所述目标联系人对应的分享策略,并通过所确定的分享策略,将所述待分享信息分享给所述目标联系人。
在本发明的实施例中,预先为每个或每类联系人设置对应的分享策略,当需要分享待分享信息时,确定待分享的目标联系人,根据目标联系人中预制的分享策略,将待分享信息分享给目标联系人,分享策略至少包括以下策略中的一种:按照预设的固定分享方式进行分享、按预设顺序通过多个分享方式中的一个进行分享、同时通过多种分享方式进行分享和每次弹出询问并根据用户确定的分享方式进行分享,在这里可以输入一个或多个目标联系人,也可以在电话本中选择一个或多个目标联系人,其中分享方式至少包括WIFI、蓝牙、红外、NFC、短信、彩信、电子邮件、各类即时通讯和社交应用。
如图2所示,在本发明的上述实施例中,分享信息的方法包括:
步骤20,针对已存储在通讯录中的每个联系人均设置一种对应的分享策略,针对未存储在通讯录里的联系人设置一种默认的分享策略。接收针对待分享信息的分享指令,并确定待分享的目标联系人;
步骤21,判断所述目标联系人是否存储在通讯录中,若目标联系人存储在通讯录中,执行步骤22,若目标联系人未存储在通讯录中,执行步骤23;
步骤22,根据所述目标联系人中对应的分享策略,把待分享信息分享给 所述目标联系人;
步骤23,根据所述默认的分享策略,把待分享信息分享给所述目标联系人;
步骤24,判断分享是否成功,若分享成功执行步骤25,若分享不成功执行步骤26;
步骤25,输出分享成功及所采用的分享方式的提示信息;
步骤26,输出分享失败的提示信息。
在本发明的实施例中,所述通讯录中记录了联系人的一种或多种分享方式对应的ID,存储在通讯录中的联系人均对应各自的分享策略,未存储的联系人设置一种默认的分享策略。分享策略设置页面如图3所示,30为给未存储的联系人设置一种默认的分享策略,31为已存储联系人设置一种对应的分享策略,32为选择分享策略,33为分享策略为按照预设的固定分享方式进行分享,34为按优先级顺序进行分享,35为按历史使用习惯进行分享,36为同时通过多种分享方式进行分享。在此需要说明的是图中文字内容仅为示意,对方案不构成影响。
在本发明的实施例中,当通过某一分享方式把待分享信息分享给目标联系人分享成功时,更新该联系人中该分享方式的使用次数,为该目标联系人采用按历史分享方式的策略分享信息时提供依据。
在本发明的上述实施例中,如果所述目标联系人存储在通讯录中,则根据所述目标联系人中对应的分享策略,把待分享信息分享给所述目标联系人包括:
确定所述目标联系人对应的分享策略;其中,
在所述目标联系人对应的分享策略为所述按照预设的固定分享方式进行分享时,确定所述目标联系人对应的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
在所述目标联系人对应的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,确定所述目标联系人对应的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所 述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
在所述目标联系人对应的分享策略为所述同时通过多种分享方式进行分享时,确定所述目标联系人对应的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
在所述目标联系人对应的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
在本发明的上述实施例中,根据所述默认的分享策略,把待分享信息分享给所述目标联系人包括:
确定所述默认的分享策略;其中,
在所述默认的分享策略为所述按照预设的固定分享方式进行分享时,确定所述目标联系人对应的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
在所述默认的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,确定所述目标联系人对应的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
在所述默认的分享策略为所述同时通过多种分享方式进行分享时,确定所述目标联系人对应的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
在所述默认的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
在本发明的实施例中,分享策略为按预设顺序通过多个分享方式中的一个进行分享时,可以是为所有分享方式预先随机设置一个优先级顺序,按照优先级顺序分享信息;也可以是按照与该联系人的历史分享方式的次数,为所有分享方式设置顺序,按照历史分享方式设置的顺序分享信息;同时也可以是首先按照待分享信息所述的应用的分享方式分享,如果分享不成功,则 再按照优先级顺序分享。
以下通过附图4-7,结合本发明中实施例所述方法在智能手机终端的实施为例,介绍几种实施例,其中该终端包括Wi-Fi、蓝牙、NFC的硬件模块,可工作在4GLTE/WCDMA/GSM移动通信网络中。需要指出的是,附图4-7中,用“待分享的内容”表示实际期望分享的内容,上述附图中手机屏幕上的文字和符号,仅为示意性的内容,其对本发明实施例方案的理解不构成实质影响。
实施例1:
如图4所示,在所述目标联系人对应的分享策略为所述按照预设的固定分享方式进行分享时,并预设的固定分享方式为“微博”,分享流程包括:
步骤40,接收到针对待分享信息的分享指令。
步骤41,确定待分享的目标联系人。
步骤42,提示信息发送中,后台调用微博应用,把待分享信息发送到目标联系人的微博帐号。
步骤43,如果发送成功则提示“该信息已经通过微博分享给目标联系人的微博帐号”。否则则提示分享失败。
实施例2:
如图5所示,在所述目标联系人对应的分享策略为按预设顺序通过多个分享方式中的一个进行分享时,且预设顺序为“Wi-Fi、蓝牙、NFC、微博、微信、QQ、短信、彩信、Email”,分享流程包括:
步骤50,接收到针对待分享信息的分享指令。
步骤51,确定待分享的目标联系人。
步骤52,提示信息发送中,后台调用Wi-Fi与目标联系人建立连接,把待分享信息发送到目标联系人。
步骤53,如果发送成功,则提示信息通过某种分享方式发送成功,流程结束。否则进入下一步54。
步骤54,如果发送失败,则检查当前分享方式是否是最后一种分享方式。 如果当前不是最后一种分享方式,则返回步骤52,尝试下一种分享方式发送信息。
步骤55,如果当前是最后一种分享方式,已经发送失败,则提示信息分享失败。
实施例3:
如图6所示,在所述目标联系人对应的分享策略为同时通过多种分享方式进行分享时,且为目标联系人设置的分享方式有“Wi-Fi、微博和微信”这三种方式时,分享流程包括:
步骤60,接收到针对待分享信息的分享指令。
步骤61,确定待分享的目标联系人。
步骤62,提示信息发送中。
步骤63,后台调用Wi-Fi与目标联系人建立数据连接,把选中的信息发送给目标联系人,如果发送成功则提示信息通过Wi-Fi分享成功,否则提示分享失败。
步骤64,后台调用微博把选中的信息发送给目标联系人,如果发送成功则提示信息通过微博分享成功,否则提示分享失败。
步骤65,后台调用微信把选中的信息发送给目标联系人,如果发送成功则提示信息通过微信分享成功,否则提示分享失败。
实施例4:
如图7所示,在所述目标联系人对应的分享策略为每次弹出询问并根据用户确定的分享方式进行分享时,分享流程包括:
步骤70,接收到针对待分享信息的分享指令。
步骤71,确定待分享的目标联系人。
步骤72,提示选择一种或者多种分享方式,接收选择指令后进行发送。假设用户选择了微博方式。
步骤73,提示信息发送中,后台调用用户选中的分享方式,把选中的信息发送给目标联系人。
步骤74,如果发送成功则提示信息通过微博分享成功,否则提示分享失败。
当然可以理解的是,用户设置的分享策略不仅仅局限于以上几个分享策略,本说明书只是通过以上几个分享策略为例说明了本发明实施例提供的分享信息的方法的基本流程。
从以上实施例看,用户在大多数设置下,分享信息用户只需要手动操作前两步,比传统的操作步骤少很多,如果用户需要跨多个应用分享信息给不同类型的目标联系人,则本文的便利性将得到更好的体现。
如图8所示,本发明实施例还提供一种分享信息的装置,包括:
接收模块80,设置为:接收针对待分享信息的分享指令,并确定待分享的目标联系人;
分享模块81,设置为:根据每个联系人预设的分享策略,确定所述目标联系人对应的分享策略,并通过所确定的分享策略,将所述待分享信息分享给所述目标联系人;
在本发明的上述实施例中,所述分享策略至少包括以下策略中的一种:按照预设的固定分享方式进行分享、按预设顺序通过多个分享方式中的一个进行分享、同时通过多种分享方式进行分享和每次弹出询问并根据用户确定的分享方式进行分享。
在本发明的上述实施例中,所述装置还包括:
设置模块,设置为:针对已存储在通讯录中的每个联系人均设置一种对应的分享策略,针对未存储在通讯录里的联系人设置一种默认的分享策略。
在本发明的上述实施例中,所述分享模块包括:
第一判断单元,设置为:判断所述目标联系人是否存储在通讯录中,当所述目标联系人存储在通讯录中时,触发第一分享单元,当所述目标联系人未存储在通讯录中时,触发第二分享单元;
第一分享单元,设置为:根据所述判断单元的触发,通过所述目标联系人中对应的分享策略,把待分享信息分享给所述目标联系人;
第二分享单元,设置为:根据所述判断单元的触发,通过所述默认的分 享策略,把待分享信息分享给所述目标联系人。
在本发明的上述实施例中,所述装置还包括:
第二判断单元,设置为:判断分享是否成功,如果分享成功,触发第一输出单元,如果分享失败,触发第二输出单元;
第一输出单元,根据第二判断单元的触发,输出分享成功及所采用的分享方式的提示信息;
第二输出单元,根据第二判断单元的触发,输出分享失败的提示信息。
在本发明的上述实施例中,所述第一分享单元包括:
确定子单元,设置为:确定所述目标联系人对应的分享策略,其中,在所述目标联系人对应的分享策略为所述按照预设的固定分享方式进行分享时,触发第一分享子单元,在所述目标联系人对应的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,触发第二分享子单元,在所述目标联系人对应的分享策略为所述同时通过多种分享方式进行分享时,触发第三分享自单元,在所述目标联系人对应的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,触发第四分享子单元;
第一分享子单元,设置为:根据确定子单元的触发,确定所述目标联系人对应的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
第二分享子单元,设置为:根据确定子单元的触发,确定所述目标联系人对应的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
第三分享子单元,设置为:根据确定子单元的触发,确定所述目标联系人对应的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
第四分享子单元,设置为:根据确定子单元的触发,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
在本发明的上述实施例中,所述第二分享单元包括:
第二确定子单元,设置为:确定所述默认的分享策略,其中,在所述默认的分享策略为所述按照预设的固定分享方式进行分享时,触发第五分享子单元,在所述默认的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,触发第六分享子单元,在所述默认的分享策略为所述同时通过多种分享方式进行分享时,触发第七分享子单元,在所述默认的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,触发第八分享子单元;
第五分享子单元,设置为:根据第二确定子单元的触发,确定所述默认的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
第六分享子单元,设置为:根据第二确定子单元的触发,确定所述默认的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
第七分享子单元,设置为:根据第二确定子单元的触发,确定所述默认的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
第八分享子单元,设置为:根据第二确定子单元的触发,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
需要说明的是,该装置是与上述分享信息的方法实施例对应的装置,上述方法实施例中所有实现方式均适用于该装置的实施例中,也能达到相同的技术效果。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例通过预先设置每个或者每类联系人采用的分享策略,在用户把相关信息分享给目标联系人时,直接按照目标联系人中预置的分享策略,将相关信息分享给该目标联系人,而无需用户手动选择,减少分享的操作步骤。本发明实施例可以实现通过多种分享方式同时分享待分享信息给目标联系人,避免用一种分享方式发送失败时,需要手动操作重发造成的不方便;另外,也可以实现同时分别按照不同的分享方式将待分享信息分享给不同的目标联系人,避免因多个目标联系人的分享方式不同时,需要手动多次打开不同的应用去把待分享信息分享给不同目标联系人造成的不方便。

Claims (15)

  1. 一种分享信息的方法,包括:
    接收针对待分享信息的分享指令,并确定待分享的目标联系人;
    根据每个联系人预设的分享策略,确定所述目标联系人对应的分享策略,并通过所确定的分享策略,将所述待分享信息分享给所述目标联系人。
  2. 如权利要求1所述的分享信息的方法,其中,所述分享策略包括以下策略中的一种:按照预设的固定分享方式进行分享、按预设顺序通过多个分享方式中的一个进行分享、同时通过多种分享方式进行分享和每次弹出询问并根据用户确定的分享方式进行分享。
  3. 如权利要求2所述的分享信息的方法,其中,接收针对待分享信息的分享指令,并确定待分享的目标联系人之前,所述方法还包括:
    针对已存储在通讯录中的每个联系人均设置一种对应的分享策略,针对未存储在通讯录里的联系人设置一种默认的分享策略。
  4. 如权利要求3所述的分享信息的方法,其中,根据每个联系人预设的分享策略,确定所述目标联系人对应的分享策略,并通过所确定的分享策略,将所述待分享信息分享给所述目标联系人包括:
    判断所述目标联系人是否存储在通讯录中;
    如果所述目标联系人存储在通讯录中,则根据所述目标联系人中对应的分享策略,把待分享信息分享给所述目标联系人;
    如果所述目标联系人未存储在通讯录中,则根据所述默认的分享策略,把待分享信息分享给所述目标联系人。
  5. 如权利要求4所述的分享信息的方法,其中,把待分享信息分享给所述目标联系人之后,所述方法还包括:
    判断分享是否成功,如果分享成功,则输出分享成功及所采用的分享方式的提示信息;如果分享失败,则输出分享失败的提示信息。
  6. 如权利要求4所述的分享信息的方法,其中,如果所述目标联系人存储在通讯录中,则根据所述目标联系人中对应的分享策略,把待分享信息分 享给所述目标联系人包括:
    确定所述目标联系人对应的分享策略;其中,
    在所述目标联系人对应的分享策略为所述按照预设的固定分享方式进行分享时,确定所述目标联系人对应的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
    在所述目标联系人对应的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,确定所述目标联系人对应的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
    在所述目标联系人对应的分享策略为所述同时通过多种分享方式进行分享时,确定所述目标联系人对应的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
    在所述目标联系人对应的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
  7. 如权利要求4所述的分享信息的方法,其中,根据所述默认的分享策略,把待分享信息分享给所述目标联系人包括:
    确定所述默认的分享策略;其中,
    在所述默认的分享策略为所述按照预设的固定分享方式进行分享时,确定所述目标联系人对应的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
    在所述默认的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,确定所述目标联系人对应的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
    在所述默认的分享策略为所述同时通过多种分享方式进行分享时,确定所述目标联系人对应的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
    在所述默认的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
  8. 一种分享信息的装置,包括:
    接收模块,设置为:接收针对待分享信息的分享指令,并确定待分享的目标联系人;
    分享模块,设置为:根据每个联系人预设的分享策略,确定所述目标联系人对应的分享策略,并通过所确定的分享策略,将所述待分享信息分享给所述目标联系人。
  9. 如权利要求8所述的分享信息的装置,其中,所述分享策略包括以下策略中的一种:按照预设的固定分享方式进行分享、按预设顺序通过多个分享方式中的一个进行分享、同时通过多种分享方式进行分享和每次弹出询问并根据用户确定的分享方式进行分享。
  10. 如权利要求9所述的分享信息的装置,还包括:
    设置模块,设置为:针对已存储在通讯录中的每个联系人均设置一种对应的分享策略,针对未存储在通讯录里的联系人设置一种默认的分享策略。
  11. 如权利要求10所述的分享信息的装置,其中,所述分享模块包括:
    第一判断单元,设置为:判断所述目标联系人是否存储在通讯录中,当所述目标联系人存储在通讯录中时,触发第一分享单元,当所述目标联系人未存储在通讯录中时,触发第二分享单元;
    第一分享单元,设置为:根据所述判断单元的触发,通过所述目标联系人中对应的分享策略,把待分享信息分享给所述目标联系人;
    第二分享单元,设置为:根据所述判断单元的触发,通过所述默认的分享策略,把待分享信息分享给所述目标联系人。
  12. 如权利要求11所述的分享信息的装置,还包括:
    第二判断单元,设置为:判断分享是否成功,如果分享成功,触发第一输出单元,如果分享失败,触发第二输出单元;
    第一输出单元,根据第二判断单元的触发,输出分享成功及所采用的分享方式的提示信息;
    第二输出单元,根据第二判断单元的触发,输出分享失败的提示信息。
  13. 如权利要求11所述的分享信息的装置,其中,所述第一分享单元包括:
    第一确定子单元,设置为:确定所述目标联系人对应的分享策略,其中,在所述目标联系人对应的分享策略为所述按照预设的固定分享方式进行分享时,触发第一分享子单元,在所述目标联系人对应的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,触发第二分享子单元,在所述目标联系人对应的分享策略为所述同时通过多种分享方式进行分享时,触发第三分享自单元,在所述目标联系人对应的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,触发第四分享子单元;
    第一分享子单元,设置为:根据第一确定子单元的触发,确定所述目标联系人对应的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
    第二分享子单元,设置为:根据第一确定子单元的触发,确定所述目标联系人对应的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
    第三分享子单元,设置为:根据第一确定子单元的触发,确定所述目标联系人对应的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
    第四分享子单元,设置为:根据第一确定子单元的触发,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
  14. 如权利要求11所述的分享信息的装置,其中,所述第二分享单元包括:
    第二确定子单元,设置为:确定所述默认的分享策略,其中,在所述默 认的分享策略为所述按照预设的固定分享方式进行分享时,触发第五分享子单元,在所述默认的分享策略为所述按预设顺序通过多个分享方式中的一个进行分享时,触发第六分享子单元,在所述默认的分享策略为所述同时通过多种分享方式进行分享时,触发第七分享子单元,在所述默认的分享策略为所述每次弹出询问并根据用户确定的分享方式进行分享时,触发第八分享子单元;
    第五分享子单元,设置为:根据第二确定子单元的触发,确定所述默认的固定分享方式,将所述待分享信息通过确定的所述固定分享方式分享给所述目标联系人;
    第六分享子单元,设置为:根据第二确定子单元的触发,确定所述默认的多个分享方式及顺序,并按照确定的顺序,将所述待分享信息依次通过对应的多个分享方式分享给所述目标联系人,直到通过任一分享方式分享成功或所有分享方式分享都失败;
    第七分享子单元,设置为:根据第二确定子单元的触发,确定所述默认的多种分享方式,将所述待分享信息按照所确定的多种分享方式分享给所述目标联系人;
    第八分享子单元,设置为:根据第二确定子单元的触发,接收用户输入的选择指令,选择一种或多种对应的分享方式,将所述待分享信息按照选择的分享方式分享给所述目标联系人。
  15. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-7任一项的方法。
PCT/CN2015/082215 2015-02-04 2015-06-24 一种分享信息的方法和装置 WO2016123896A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510057319.2A CN105991690A (zh) 2015-02-04 2015-02-04 一种分享信息的方法和装置
CN201510057319.2 2015-02-04

Publications (1)

Publication Number Publication Date
WO2016123896A1 true WO2016123896A1 (zh) 2016-08-11

Family

ID=56563373

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/082215 WO2016123896A1 (zh) 2015-02-04 2015-06-24 一种分享信息的方法和装置

Country Status (2)

Country Link
CN (1) CN105991690A (zh)
WO (1) WO2016123896A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970189A (zh) * 2020-07-31 2020-11-20 腾讯科技(深圳)有限公司 一种内容分享控制方法、装置、电子设备和存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407864A (zh) * 2016-11-03 2017-02-15 北京小度信息科技有限公司 资源分享方法及装置
CN107301224B (zh) * 2017-06-19 2020-05-12 阿里巴巴集团控股有限公司 一种信息分享的方法及装置
CN107332762B (zh) * 2017-07-03 2021-08-17 捷开通讯(深圳)有限公司 文件/信息的分享方法、移动终端及具有存储功能的装置
CN109164964B (zh) * 2018-08-22 2020-08-04 Oppo广东移动通信有限公司 内容分享方法、装置、终端及存储介质
CN110609816B (zh) * 2019-08-30 2022-12-20 维沃移动通信有限公司 一种信息分享方法、信息分享装置及终端
CN113946251A (zh) * 2021-11-01 2022-01-18 北京字跳网络技术有限公司 媒体内容发送方法、装置、设备、可读存储介质及产品

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223446A (zh) * 2011-06-21 2011-10-19 宇龙计算机通信科技(深圳)有限公司 信息发送方法和终端
CN102857885A (zh) * 2012-08-17 2013-01-02 东莞宇龙通信科技有限公司 分享信息的方法及其通信终端
CN103036772A (zh) * 2012-12-21 2013-04-10 北京小米科技有限责任公司 一种消息发送方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986705B (zh) * 2014-05-13 2017-11-17 宇龙计算机通信科技(深圳)有限公司 一种信息分享的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223446A (zh) * 2011-06-21 2011-10-19 宇龙计算机通信科技(深圳)有限公司 信息发送方法和终端
CN102857885A (zh) * 2012-08-17 2013-01-02 东莞宇龙通信科技有限公司 分享信息的方法及其通信终端
CN103036772A (zh) * 2012-12-21 2013-04-10 北京小米科技有限责任公司 一种消息发送方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970189A (zh) * 2020-07-31 2020-11-20 腾讯科技(深圳)有限公司 一种内容分享控制方法、装置、电子设备和存储介质
CN111970189B (zh) * 2020-07-31 2024-01-09 腾讯科技(深圳)有限公司 一种内容分享控制方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN105991690A (zh) 2016-10-05

Similar Documents

Publication Publication Date Title
WO2016123896A1 (zh) 一种分享信息的方法和装置
US10866978B2 (en) Techniques to respond to user requests using natural-language machine learning based on branching example conversations
US10050879B2 (en) Techniques for selecting content based on network conditions
US11677878B2 (en) Methods and systems for notifications in communications networks
US10917374B2 (en) Techniques to visualize messaging flow
US10298738B2 (en) Multimedia messaging service communication using a two way push connection
WO2016000636A1 (zh) 一种通信处理方法和系统
US20170277667A1 (en) Techniques to predictively respond to user requests using natural language processing
US11457045B2 (en) Methods and user equipment for exchanging service capabilities
CN111316624B (zh) 用于电话呼叫的个性化音频/视频邀请
US10484298B2 (en) Optimization of network resources
CN105049319A (zh) 好友添加方法及系统、客户端及服务器
US9882865B1 (en) Multiple phone numbers for mobile device
WO2015040629A1 (en) Web reply path via sms
US20160094437A1 (en) Method and systems for intelligent call routing
US20240031466A1 (en) Techniques to manage contact records
US10204365B2 (en) Managing service provider service options
US9729483B2 (en) Anonymous calling and/or texting via content provider web sites and applications
US9658750B2 (en) Private messaging via content provider web sites and applications
CN105208520A (zh) 一种移动终端自动发送信息的方法及装置
CN106385516B (zh) 一种设置业务转移的方法、装置及终端
EP4027257A1 (en) Methods and systems for end-to-end encrypted message history exchange
KR102394348B1 (ko) 유무선 통신 시스템에서 서버가 가치 평가를 기반으로 사용자 간 연결 관계를 형성하는 소셜 네트워크 서비스를 제공하는 방법
CN107528768B (zh) 消息提示方法和装置
US11418928B1 (en) Duplicate message management

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15880851

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15880851

Country of ref document: EP

Kind code of ref document: A1