CN110035004A - A kind of user's business card sharing method, good friend's adding method and relevant apparatus - Google Patents
A kind of user's business card sharing method, good friend's adding method and relevant apparatus Download PDFInfo
- Publication number
- CN110035004A CN110035004A CN201910319328.2A CN201910319328A CN110035004A CN 110035004 A CN110035004 A CN 110035004A CN 201910319328 A CN201910319328 A CN 201910319328A CN 110035004 A CN110035004 A CN 110035004A
- Authority
- CN
- China
- Prior art keywords
- account
- user account
- user
- target
- shared
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G06Q10/40—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4555—Directories for electronic mail or instant messaging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4594—Address books, i.e. directories containing contact information about correspondents
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本申请实施例公开一种用户名片分享方法,若第一用户账号希望向第二异构系统中的目标账号分享第一异构系统中的被分享用户账号,第一用户账号显示目标用户选择界面,并通过在目标用户选择界面上触发的选择操作,获取目标账号。第一用户账号将用户名片向目标账号分享,从而实现了异构系统间的用户名片分享功能,从而异构系统间的用户可以通过分享的用户名片添加好友,实现异构系统间用户账号的直接网络社交,用户不需要下载多种社交软件就能满足跨社交软件的网络社交需求,提高了用户体验。
An embodiment of the present application discloses a method for sharing user business cards. If a first user account wishes to share a shared user account in a first heterogeneous system with a target account in a second heterogeneous system, the first user account displays a target user selection interface , and obtain the target account through the selection operation triggered on the target user selection interface. The first user account shares the user card with the target account, thereby realizing the user card sharing function between heterogeneous systems, so that users between heterogeneous systems can add friends through the shared user card, and realize the direct connection of user accounts between heterogeneous systems. For social networking, users do not need to download a variety of social software to meet the needs of social networking across social software, which improves user experience.
Description
技术领域technical field
本申请涉及数据处理领域,特别是涉及一种用户名片分享方法、好友添加方法和相关装置。The present application relates to the field of data processing, and in particular, to a method for sharing business cards of users, a method for adding friends, and related devices.
背景技术Background technique
随着互联网技术的发展,越来越多的用户通过网络进行社交,而社交软件是支持上述社交行为的载体,用户可以通过在社交软件上注册的用户账号进行网络社交。With the development of Internet technology, more and more users socialize through the Internet, and social software is a carrier that supports the above-mentioned social behavior, and users can socialize online through user accounts registered on the social software.
当前市场上流通的社交软件种类多样,不同种类的社交软件可以视为不同的异构系统。There are various types of social software currently circulating in the market, and different types of social software can be regarded as different heterogeneous systems.
然而,目前的社交软件中并未提供异构系统间用户账号的分享功能,导致一些用户必须安装多种社交软件才能实现自身的网络社交需求,增加了用户的操作负担。However, the current social software does not provide the sharing function of user accounts between heterogeneous systems, so that some users must install various social software to realize their own social network requirements, which increases the user's operational burden.
发明内容SUMMARY OF THE INVENTION
为了解决上述技术问题,本申请提供了一种用户名片分享方法、好友添加方法和相关装置,从而实现了异构系统间的用户名片分享功能,从而异构系统间的用户可以通过分享的用户名片添加好友,实现异构系统间用户账号的直接网络社交,用户不需要下载多种社交软件就能满足跨社交软件的网络社交需求,提高了用户体验。In order to solve the above technical problems, the present application provides a method for sharing user business cards, a method for adding friends, and related devices, so as to realize the function of sharing user business cards between heterogeneous systems, so that users between heterogeneous systems can share user business cards through the shared user business card. Add friends to realize direct network socialization of user accounts between heterogeneous systems. Users do not need to download a variety of social software to meet the needs of network socialization across social software, which improves user experience.
本申请实施例公开了如下技术方案:The embodiments of the present application disclose the following technical solutions:
第一方面,本申请实施例公开了一种用户名片分享方法,所述方法包括:In a first aspect, an embodiment of the present application discloses a method for sharing a business card of a user, and the method includes:
第一用户账号获取被分享用户账号的用户名片;所述被分享用户账号属于第一异构系统;The first user account obtains the user card of the shared user account; the shared user account belongs to the first heterogeneous system;
所述第一用户账号显示目标用户选择界面,并通过在所述目标用户选择界面上触发的选择操作,获取目标账号;所述目标账号属于第二异构系统;The first user account displays a target user selection interface, and obtains a target account through a selection operation triggered on the target user selection interface; the target account belongs to the second heterogeneous system;
所述第一用户账号向所述目标账号分享所述用户名片。The first user account shares the user card with the target account.
第二方面,本申请实施例公开了一种用户名片分享装置,所述装置包括第一获取单元、显示单元、第二获取单元和分享单元:In a second aspect, an embodiment of the present application discloses a user card sharing device, the device includes a first acquisition unit, a display unit, a second acquisition unit, and a sharing unit:
所述第一获取单元,用于获取被分享用户账号的用户名片;所述被分享用户通过账号属于第一异构系统;The first obtaining unit is configured to obtain the user card of the shared user account; the shared user belongs to the first heterogeneous system through the account;
所述显示单元,用于显示目标用户选择界面;所述第二获取单元,用于通过在所述目标用户选择界面上触发的选择操作,获取目标账号;所述目标账号属于第二异构系统;the display unit is configured to display a target user selection interface; the second acquisition unit is configured to acquire a target account through a selection operation triggered on the target user selection interface; the target account belongs to the second heterogeneous system ;
所述分享单元,用于向所述目标账号分享所述用户名片。The sharing unit is configured to share the user card with the target account.
第三方面,本申请实施例公开了一种添加好友方法,所述方法包括:In a third aspect, an embodiment of the present application discloses a method for adding friends, the method comprising:
属于第二异构系统的目标用户账号获取第一用户账号分享的用户名片,所述被分享用户账号属于第一异构系统;The target user account belonging to the second heterogeneous system obtains the user card shared by the first user account, and the shared user account belongs to the first heterogeneous system;
所述目标用户账号根据所述用户名片向所述被分享用户账号发起添加好友请求;The target user account initiates a friend addition request to the shared user account according to the user card;
所述目标用户账号获取从所述第一异构系统发出的通知信息,所述通知信息用于标识所述添加好友请求被推送至所述被分享用户账号。The target user account acquires notification information sent from the first heterogeneous system, where the notification information is used to identify that the friend addition request is pushed to the shared user account.
第四方面,本申请实施例公开了一种添加好友装置,所述装置包括第一获取单元、发送单元和第二获取单元:In a fourth aspect, an embodiment of the present application discloses a device for adding friends, the device includes a first obtaining unit, a sending unit, and a second obtaining unit:
所述第一获取单元,用于获取第一用户账号分享的用户名片,所述被分享用户账号属于第一异构系统;The first obtaining unit is configured to obtain the user business card shared by the first user account, where the shared user account belongs to the first heterogeneous system;
所述发送单元,用于根据所述用户名片向所述被分享用户账号发起添加好友请求;the sending unit, configured to initiate a friend addition request to the shared user account according to the user card;
所述第二获取单元,用于获取从所述第一异构系统发出的通知信息,所述通知信息用于标识所述添加好友请求被推送至所述被分享用户账号。The second acquiring unit is configured to acquire notification information sent from the first heterogeneous system, where the notification information is used to identify that the request for adding a friend is pushed to the shared user account.
第五方面,本申请实施例公开了一种设备,所述设备包括处理器以及存储器:In a fifth aspect, an embodiment of the present application discloses a device, and the device includes a processor and a memory:
所述存储器用于存储程序代码,并将所述程序代码传输给所述处理器;the memory is used to store program code and transmit the program code to the processor;
所述处理器用于根据所述程序代码中的指令执行第一方面或第三方面任一项所述的方法。The processor is configured to execute the method of any one of the first aspect or the third aspect according to the instructions in the program code.
第六方面,本申请实施例公开了一种计算机可读存储介质,所述计算机可读存储介质用于存储程序代码,所述程序代码用于执行第一方面或第三方面任一项所述的方法。In a sixth aspect, an embodiment of the present application discloses a computer-readable storage medium, where the computer-readable storage medium is used to store program codes, and the program codes are used to execute any one of the first aspect or the third aspect. Methods.
由上述技术方案可以看出,若第一用户账号希望向第二异构系统中的目标账号分享第一异构系统中的被分享用户账号,第一用户账号可以显示目标用户选择界面,并通过在目标用户选择界面上触发的选择操作,获取目标账号,第一用户账号可以将用户名片向该目标账号进行分享,从而实现了异构系统间的用户名片分享功能,从而异构系统间的用户可以通过分享的用户名片添加好友,实现异构系统间用户账号的直接网络社交,用户不需要下载多种社交软件就能满足跨社交软件的网络社交需求,提高了用户体验。It can be seen from the above technical solutions that if the first user account wishes to share the shared user account in the first heterogeneous system with the target account in the second heterogeneous system, the first user account can display the target user selection interface, and pass The selection operation triggered on the target user selection interface obtains the target account, and the first user account can share the user card with the target account, thereby realizing the user card sharing function between heterogeneous systems. Friends can be added through the shared user business card to realize direct network socialization of user accounts between heterogeneous systems. Users do not need to download a variety of social software to meet the needs of network social networking across social software, improving user experience.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本申请实施例提供的一种用户名片分享方法的应用场景示例图;1 is an example diagram of an application scenario of a method for sharing business cards of users provided by an embodiment of the present application;
图2为本申请实施例提供的一种用户名片分享方法的流程图;2 is a flowchart of a method for sharing business cards of users according to an embodiment of the present application;
图3a为本申请实施例提供的用户名片的示例图;3a is an example diagram of a user card provided by an embodiment of the present application;
图3b为本申请实施例提供的目标用户选择界面的示例图;3b is an example diagram of a target user selection interface provided by an embodiment of the present application;
图4a为本申请实施例提供的分享关系链的示例图;FIG. 4a is an example diagram of a sharing relationship chain provided by an embodiment of the present application;
图4b为本申请实施例提供的分享关系链的示例图;FIG. 4b is an example diagram of a sharing relationship chain provided by an embodiment of the present application;
图5a为本申请实施例提供的第一标识的示例图;FIG. 5a is an example diagram of a first identification provided by an embodiment of the present application;
图5b为本申请实施例提供的第一标识的示例图;FIG. 5b is an example diagram of a first identification provided by an embodiment of the present application;
图6为本申请实施例提供的名片信息中资料信息的示例图;FIG. 6 is an example diagram of the profile information in the business card information provided by the embodiment of the present application;
图7为本申请实施例提供的一种从社交软件1跳转到社交软件2的效果图;FIG. 7 is an effect diagram of jumping from social software 1 to social software 2 according to an embodiment of the present application;
图8为本申请实施例提供的一种从社交软件1跳转到社交软件2的效果图;FIG. 8 is an effect diagram of jumping from social software 1 to social software 2 according to an embodiment of the present application;
图9为本申请实施例提供的一种添加好友方法的应用场景示例图;FIG. 9 is an example diagram of an application scenario of a method for adding friends provided by an embodiment of the present application;
图10为本申请实施例提供的一种添加好友方法的流程图;10 is a flowchart of a method for adding a friend provided by an embodiment of the present application;
图11为本申请实施例提供的目标用户账号发起添加好友请求的效果图;11 is an effect diagram of a target user account initiating a request for adding a friend according to an embodiment of the present application;
图12为本申请实施例提供的被分享用户账号同意添加目标用户账号为好友的效果图;FIG. 12 is an effect diagram of a shared user account agreeing to add a target user account as a friend provided by an embodiment of the present application;
图13为本申请实施例提供的社交软件1和社交软件2之间通过互通后台进行通信的架构图;13 is an architectural diagram of communication between the social software 1 and the social software 2 provided by the embodiment of the present application through the interworking background;
图14为本申请实施例提供的一种用户名片分享和添加好友方法的流程图;14 is a flowchart of a method for sharing and adding friends of user business cards provided by an embodiment of the present application;
图15a为本申请实施例提供的一种用户名片分享装置的结构图;FIG. 15a is a structural diagram of a user card sharing device according to an embodiment of the present application;
图15b为本申请实施例提供的一种用户名片分享装置的结构图;15b is a structural diagram of a user card sharing device provided by an embodiment of the application;
图16a为本申请实施例提供的一种添加好友装置的结构图;FIG. 16a is a structural diagram of a device for adding friends according to an embodiment of the present application;
图16b为本申请实施例提供的一种添加好友装置的结构图;FIG. 16b is a structural diagram of a device for adding friends according to an embodiment of the present application;
图17为本申请实施例提供的一种设备的结构图;17 is a structural diagram of a device provided by an embodiment of the application;
图18为本申请实施例提供的一种服务器的结构图。FIG. 18 is a structural diagram of a server provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图,对本申请的实施例进行描述。The embodiments of the present application will be described below with reference to the accompanying drawings.
由于目前的社交软件中并未提供异构系统间用户账号的分享功能,导致一些用户必须安装多种社交软件才能实现自身的网络社交需求,增加了用户的操作负担。Since the current social software does not provide the sharing function of user accounts between heterogeneous systems, some users must install various social software to realize their own social network requirements, which increases the user's operational burden.
为了解决上述技术问题,本申请实施例提供一种用户名片分享方法,该方法主要用于跨系统之间的用户名片分享。该方法可以应用到终端设备中,终端设备可以是个人计算机(personal computer,简称PC)、智能终端、个人数字助理(Personal DigitalAssistant,简称PDA)、平板电脑等。In order to solve the above technical problems, the embodiments of the present application provide a method for sharing user business cards, which is mainly used for sharing business cards between users across systems. The method may be applied to a terminal device, and the terminal device may be a personal computer (personal computer, PC for short), an intelligent terminal, a personal digital assistant (PDA for short), a tablet computer, and the like.
其中,终端设备上安装属于不同异构系统的社交软件,属于不同异构系统的社交软件可以安装在同一个终端设备上,也可以安装在不同的终端设备上。社交软件可以包括企业微信、微信、QQ等,本申请实施例将主要以属于不同异构系统的社交软件分别是社交软件1和社交软件2为例进行介绍。Wherein, social software belonging to different heterogeneous systems is installed on the terminal device, and the social software belonging to different heterogeneous systems may be installed on the same terminal device or may be installed on different terminal devices. The social software may include enterprise WeChat, WeChat, QQ, etc. The embodiments of this application will mainly introduce social software 1 and social software 2 as examples of social software belonging to different heterogeneous systems, respectively.
本申请实施例提供的用户名片分享方法,可以应用于图1所示的应用场景。在图1所示的场景中,第一用户账号希望向第二异构系统102中的目标账号分享第一异构系统101中的被分享用户账号。其中,第一异构系统101和第一异构系统102为不同的异构系统,即目标账号所属的社交软件与被分享用户账号所属的社交软件不同。常见的社交软件企业微信、微信、QQ互为不同的异构系统,在后续实施例中,将以第一异构系统101是社交软件1,第二异构系统102是社交软件2为例进行介绍。The user card sharing method provided in the embodiment of the present application can be applied to the application scenario shown in FIG. 1 . In the scenario shown in FIG. 1 , the first user account wishes to share the shared user account in the first heterogeneous system 101 with the target account in the second heterogeneous system 102 . The first heterogeneous system 101 and the first heterogeneous system 102 are different heterogeneous systems, that is, the social software to which the target account belongs is different from the social software to which the shared user account belongs. Common social software companies WeChat, WeChat, and QQ are different heterogeneous systems. In the subsequent embodiments, the first heterogeneous system 101 is social software 1, and the second heterogeneous system 102 is social software 2 as an example. introduce.
第一用户账号和被分享用户账号均为用户账号。而目标账号可以是用户账号,也可以是群账号。The first user account and the shared user account are both user accounts. The target account can be a user account or a group account.
为了实现第一用户账号向目标账号分享被分享用户账号,第一用户账号可以显示目标用户选择界面,第一用户账号可以在目标用户选择界面上进行选择操作。第一用户账号通过在目标用户选择界面上触发的选择操作,获取目标账号,从而向目标账号分享用户名片。实现了异构系统间的用户名片分享功能,从而异构系统间的用户可以通过分享的用户名片添加好友,实现异构系统间用户账号的直接网络社交,用户不需要下载多种社交软件就能满足跨社交软件的网络社交需求,提高了用户体验。In order to realize that the first user account shares the shared user account with the target account, the first user account may display a target user selection interface, and the first user account may perform a selection operation on the target user selection interface. The first user account obtains the target account through a selection operation triggered on the target user selection interface, thereby sharing the user card with the target account. The user card sharing function between heterogeneous systems is realized, so that users between heterogeneous systems can add friends through the shared user card, and realize direct network socialization of user accounts between heterogeneous systems. Users do not need to download a variety of social software. Satisfy the needs of social networking across social software and improve user experience.
接下来,将以第一异构系统是社交软件1、第二异构系统是社交软件2为例,结合附图对本申请实施例提供的用户名片分享方法进行介绍。Next, the first heterogeneous system is social software 1 and the second heterogeneous system is social software 2 as examples, and the user name card sharing method provided by the embodiments of the present application will be introduced with reference to the accompanying drawings.
参见图2,图2示出了一种用户名片分享方法的信令交互图,所述方法包括:Referring to FIG. 2, FIG. 2 shows a signaling interaction diagram of a method for sharing business cards of users, the method includes:
S201、第一用户账号获取被分享用户账号的用户名片。S201. The first user account obtains the user card of the shared user account.
被分享用户账号属于第一异构系统(例如社交软件1)。在本实施例中,第一用户账号与被分享用户账号为好友关系,或者,第一用户账号为被分享用户账号。The shared user account belongs to the first heterogeneous system (eg, social software 1). In this embodiment, the first user account and the shared user account are in a friend relationship, or the first user account is the shared user account.
根据第一用户账号与被分享用户账号关系的不同,第一用户账号获取被分享用户账号的用户名片的方式可以包括多种。若第一用户账号与被分享用户账号是好友关系,在一种可能的实现方式中,第一用户账号对应的用户可以通过其好友列表查找到被分享用户账号,通过点击被分享用户账号中的“名片”选项,使得第一用户账号获取被分享用户账号的用户名片。Depending on the relationship between the first user account and the shared user account, the first user account may acquire the user card of the shared user account in various ways. If the first user account and the shared user account are in a friend relationship, in a possible implementation manner, the user corresponding to the first user account can find the shared user account through its friend list, and click on the shared user account in the shared user account. The "Business Card" option enables the first user account to obtain the user card of the shared user account.
若第一用户账号为被分享用户账号,在一种可能的实现方式中,第一用户账号可以在个人信息页面(例如微信中的我)中获取用户名片,从而将自己的用户名片分享到第二异构系统。If the first user account is the user account to be shared, in a possible implementation manner, the first user account can obtain the user card on the personal information page (for example, me in WeChat), so as to share its own user card with the first user card. Two heterogeneous systems.
当然,除了第一用户账号与第二用户账号具有上述关系,从而获取用户名片外,第一用户账号还可以在聊天界面中,获取到其他用户账号分享或转发的被分享用户账号的用户名片,例如,第一用户账号属于所述第一异构系统,用户名片被分享到第一用户账号所在的用户群中,则第一用户账号可以在包括第一用户账号的用户群中获取被分享用户账号的用户名片。例如,第一用户账号可以通过长按选择来向目标账号分享用户名片。用户名片可以参见图3a所示,用户名片中可以包括被分享用户账号的资料信息,例如,被分享用户账号对应的用户姓名(比如图3a中XXX)、头像、描述信息(比如公司名)、身份标识等。Of course, in addition to the above relationship between the first user account and the second user account, thereby obtaining the user card, the first user account can also obtain the user card of the shared user account shared or forwarded by other user accounts in the chat interface, For example, if the first user account belongs to the first heterogeneous system, and the user card is shared in the user group where the first user account belongs, the first user account can obtain the shared user in the user group including the first user account. User card for the account. For example, the first user account can share the user card with the target account by long-pressing to select. The user card can be shown in Figure 3a, and the user card may include the profile information of the user account being shared, for example, the user name corresponding to the user account being shared (such as XXX in Figure 3a), avatar, description information (such as company name), identification, etc.
需要说明的是,在一些情况下,用户名片中还包括目标资源,该目标资源用于提高用户名片在目标账号中被点击的概率。It should be noted that, in some cases, the user card further includes a target resource, and the target resource is used to improve the probability that the user card is clicked in the target account.
目标资源可以包括很多,例如一定数额的红包、幸运大转盘等,从而使得目标账号在获取到用户名片时,可以向目标账号展示该目标资源,吸引目标账号点击该用户名片,提高该用户名片在目标账号中被点击的概率。Target resources can include many, such as a certain amount of red envelopes, lucky wheel, etc., so that when the target account obtains the user card, it can display the target resource to the target account, attract the target account to click on the user card, and increase the user card in the user card. The probability of being clicked on the target account.
S202、第一用户账号显示目标用户选择界面,并通过在所述目标用户选择界面上触发的选择操作,获取目标账号。S202: The first user account displays a target user selection interface, and acquires a target account through a selection operation triggered on the target user selection interface.
其中,目标账号属于第二异构系统(例如社交软件2)。目标用户选择界面参见图3b所示,图3b中包括“发送用户名片到社交软件2”的选项,第一用户账号在目标用户选择界面上触发的选择操作可以是第一用户账号点击“发送用户名片到社交软件2”这一选项触发的。Wherein, the target account belongs to the second heterogeneous system (eg, social software 2). The target user selection interface is shown in Figure 3b. Figure 3b includes the option of "send user card to social software 2". The selection operation triggered by the first user account on the target user selection interface can be that the first user account clicks "Send User Business card to social software 2" is triggered by this option.
需要说明的是,本实施例对S201和S202的执行顺序不做限定。It should be noted that this embodiment does not limit the execution order of S201 and S202.
S203、所述第一用户账号向所述目标账号分享所述用户名片。S203. The first user account shares the user card with the target account.
可以理解的是,第一用户账号可以根据目标账号的身份标识向目标账号分享用户名片,以便目标账号可以通过该用户名片添加被分享用户账号为好友。It can be understood that the first user account can share the user card with the target account according to the identity of the target account, so that the target account can add the shared user account as a friend through the user card.
由上述技术方案可以看出,若第一用户账号希望向第二异构系统中的目标账号分享第一异构系统中的被分享用户账号,第一用户账号可以显示目标用户选择界面,并通过在目标用户选择界面上触发的选择操作,获取目标账号,第一用户账号可以将用户名片向该目标账号进行分享,从而实现了异构系统间的用户名片分享功能,从而异构系统间的用户可以通过分享的用户名片添加好友,实现异构系统间用户账号的直接网络社交,用户不需要下载多种社交软件就能满足跨社交软件的网络社交需求,提高了用户体验。It can be seen from the above technical solutions that if the first user account wishes to share the shared user account in the first heterogeneous system with the target account in the second heterogeneous system, the first user account can display the target user selection interface, and pass The selection operation triggered on the target user selection interface obtains the target account, and the first user account can share the user card with the target account, thereby realizing the user card sharing function between heterogeneous systems. Friends can be added through the shared user business card to realize direct network socialization of user accounts between heterogeneous systems. Users do not need to download a variety of social software to meet the needs of network social networking across social software, improving user experience.
需要说明的是,在异构系统间分享的用户名片可以是以二维码形式的数据存在的,由于二维码形式的数据可以被随意分享,并且二维码形式的数据并未限制哪些账号可以添加被分享者为好友,可能导致若被分享者的用户名片对应的二维码在不同账号间恶意扩散,被分享者被不怀好意的添加请求骚扰的可能性大大增加,对被分享者造成了很差的分享体验。It should be noted that user business cards shared between heterogeneous systems can exist in the form of QR codes, because the data in the form of QR codes can be freely shared, and the data in the form of QR codes does not restrict which accounts You can add the shared person as a friend, which may lead to the malicious spread of the QR code corresponding to the user card of the shared person among different accounts, and the possibility of the shared person being harassed by malicious add requests is greatly increased. Created a poor sharing experience.
例如,异构系统a中的用户账号1希望添加异构系统b中的用户账号2(被分享者),用户账号2通过用户账号3向用户账号1分享用户账号2的用户名片对应的二维码,用户账号2与用户账号3具有好友关系。用户账号1通过扫描该二维码获取用户账号2的用户名片,进而触发该用户名片添加用户账号2为好友。若用户账号1可以进一步将用户账号2的用户名片对应的二维码推送到其所在的关系链中,关系链中的每个用户账号还可以进一步将用户账号2的用户名片对应的二维码推送到其他关系链中,依次类推。所有被推二维码的关系链中包括的用户账号都可以向用户账号2发起添加请求,这些添加请求骚扰为用户账号2带来很大的困扰,对用户账号2造成了很差的分享体验。For example, user account 1 in heterogeneous system a wants to add user account 2 (the shareee) in heterogeneous system b, and user account 2 shares the two-dimensional corresponding to the user card of user account 2 to user account 1 through user account 3 code, user account 2 has a friend relationship with user account 3. User account 1 obtains the user card of user account 2 by scanning the two-dimensional code, and then triggers the user card to add user account 2 as a friend. If user account 1 can further push the QR code corresponding to the user card of user account 2 to the relationship chain where it is located, each user account in the relationship chain can further push the QR code corresponding to the user card of user account 2 Pushed to other relationship chains, and so on. All user accounts included in the relationship chain of the pushed QR code can initiate an add request to user account 2. The harassment of these add requests has brought great trouble to user account 2 and caused a poor sharing experience to user account 2. .
在这种情况下,为了避免被分享者被不怀好意的添加请求骚扰,在一种可能的实现方式中,第一用户账号分享的用户名片具体为名片信息,该名片信息包括分享所述用户名片所涉及账号间关系信息的分享关系链,该分享关系链可以体现出第一用户账号和被分享用户账号为好友关系,第一用户账号和目标账号之间的关系,用户名片属于哪个用户账号(例如属于被分享用户账号),用户名片由哪个用户账号分享给哪个账号(例如有第一用户账号分享给目标账号)。In this case, in order to prevent the sharer from being harassed by malicious addition requests, in a possible implementation manner, the user card shared by the first user account is specifically business card information, and the business card information includes sharing the user card information. The sharing relationship chain of the relationship information between the accounts involved in the business card. The sharing relationship chain can reflect the relationship between the first user account and the shared user account as a friend relationship, the relationship between the first user account and the target account, and which user account the user card belongs to. (for example, belonging to the shared user account), which user account the user card is shared with which account (for example, the first user account is shared with the target account).
目标账号获取的名片信息中包括根据所述分享关系链确定的第一标识。由于第一标识用于标识目标账号具有对被分享用户账号添加好友的权限,使得分享到目标账号的名片信息仅能用于特定用户账号,即只有目标账号标识的用户账号,或者目标账号所标识群中的群成员才可以具有对被分享用户账号添加好友的权限。这样,目标账号对被分享用户账号进行好友添加后,由于其他账号不具备第一标识所限制的权限,即使该名片信息被恶意扩散到其他账号,其他账号也无法使用该名片信息添加被分享用户账号为好友。从而基本杜绝了被分享者例如被分享用户账号被不怀好意的添加请求骚扰的可能性,提高了分享体验。需要说明的是,第一用户账号将用户名片向目标账号分享可以是第一用户账号直接将用户名片向目标账号分享,也可以是第一用户账号通过其他用户账号向目标账号转发用户名片,间接向目标账号分享用户名片。若第一用户账号直接将用户名片向目标账号分享,所涉及账号可以包括分享用户名片的用户账号(第一用户账号)、用户名片所属的用户账号(被分享用户账号)、将用户名片向哪个账号分享(目标账号);若第一用户账号间接将用户名片向目标账号分享,所涉及账号可以包括分享用户名片的用户账号、用户名片所属的用户账号、中转该用户名片的用户账号和目标账号。The business card information obtained by the target account includes the first identifier determined according to the sharing relationship chain. Since the first identifier is used to identify that the target account has the right to add friends to the shared user account, the business card information shared to the target account can only be used for a specific user account, that is, only the user account identified by the target account, or the user account identified by the target account. Only group members in the group can have the permission to add friends to the shared user account. In this way, after the target account adds friends to the shared user account, since other accounts do not have the authority restricted by the first identifier, even if the business card information is maliciously spread to other accounts, other accounts cannot use the business card information to add the shared user. The account is a friend. Thus, the possibility of being harassed by a malicious add request for a shared user account, such as a shared user account, is basically eliminated, and the sharing experience is improved. It should be noted that when the first user account shares the user card with the target account, the first user account may directly share the user card with the target account, or the first user account may forward the user card to the target account through other user accounts, indirectly. Share the user card with the target account. If the first user account directly shares the user card with the target account, the involved accounts may include the user account that shares the user card (the first user account), the user account to which the user card belongs (the shared user account), and the user account to which the user card is shared. Account sharing (target account); if the first user account indirectly shares the user card with the target account, the involved accounts may include the user account that shares the user card, the user account to which the user card belongs, the user account that transfers the user card, and the target account .
分享关系链中不仅包括用户名片所涉及账号,还包括标识所涉及账号间关系的关系信息。所涉及账号间的关系可以包括好友关系、账号绑定关系等,例如,第一用户账号与被分享用户账号为好友关系、第一用户账号与中转该用户名片的用户账号为账号绑定关系、第一用户账号与目标账号为好友关系等。The sharing relationship chain includes not only the accounts involved in the user card, but also relationship information identifying the relationship between the involved accounts. The relationship between the involved accounts may include friend relationship, account binding relationship, etc. For example, the first user account and the shared user account are a friend relationship, the first user account and the user account that transfers the user card are account binding relationships, The first user account and the target account are friends, and the like.
若第一用户账号直接将用户名片向目标账号分享,分享关系链如图4a所示。图4a以社交软件1中的账号a将社交软件1中的账号b分享给社交软件2中的账号1为例,card_openid:WW_b表示被分享用户账号的标识,即该用户名片属于WW_b所标识的社交软件1中的账号b;from_openid:WW_a表示第一用户账号的标识,to_openid:WX_1表示目标账号的标识,社交软件1中的账号a与账号b为好友关系,社交软件1中的账号a与社交软件2中的账号1为好友关系。If the first user account directly shares the user card with the target account, the sharing relationship chain is shown in Figure 4a. Figure 4a takes account a in social software 1 sharing account b in social software 1 to account 1 in social software 2 as an example, card_openid:WW_b represents the identifier of the shared user account, that is, the user card belongs to the one identified by WW_b Account b in social software 1; from_openid:WW_a represents the identity of the first user account, to_openid: WX_1 represents the identity of the target account, account a and account b in social software 1 are friends, and account a in social software 1 and Account 1 in social software 2 is a friend relationship.
若第一用户账号间接将用户名片向目标账号分享,分享关系链如图4b所示。如图4b以社交软件1中的账号a将社交软件1中的账号b通过社交软件2中的账号1分享给社交软件2中的账号2为例,card_openid:WW_b表示被分享用户账号的标识,即该用户名片属于WW_b所标识的社交软件1中的账号b;from_openid:WW_a表示第一用户账号的标识,bind_openid:WX_1表示第二用户账号的标识,WX_1标识的第二用户账号与WW_a标识的第一用户账号是绑定关系,社交软件1中的账号a与账号b为好友关系,社交软件1中的账号a与社交软件2中的账号1为好友关系。If the first user account indirectly shares the user card with the target account, the sharing relationship chain is as shown in Figure 4b. As shown in Figure 4b, taking account a in social software 1 sharing account b in social software 1 to account 2 in social software 2 through account 1 in social software 2 as an example, card_openid:WW_b represents the identifier of the shared user account, That is, the user card belongs to the account b in the social software 1 identified by WW_b; from_openid:WW_a indicates the identification of the first user account, bind_openid:WX_1 indicates the identification of the second user account, and the second user account identified by WX_1 is the same as that identified by WW_a. The first user account is a binding relationship, the account a and the account b in the social software 1 are in a friend relationship, and the account a in the social software 1 and the account 1 in the social software 2 are in a friend relationship.
通过分享关系链可以便于在向目标账号分享用户名片时,根据分享链生成第一标识,对添加被分享用户账号为好友的账号进行限制。还可以根据分享链对中转用户名片的用户账号合法性进行校验,避免非法用户账号对用户名片进行恶意扩散。另外,在目标用户账号向被分享用户账号发送添加好友请求时,可以根据分享链对目标用户账号的合法性进行校验,避免非法用户账号骚扰被分享用户账号。By sharing the relationship chain, it is convenient to generate the first identifier according to the sharing chain when sharing the user's business card with the target account, and to limit the account of adding the shared user account as a friend. The validity of the user account of the transfer user's business card can also be verified according to the sharing chain, so as to avoid malicious proliferation of the user's business card by illegal user accounts. In addition, when the target user account sends a friend request to the shared user account, the legitimacy of the target user account can be verified according to the sharing chain, so as to prevent illegal user accounts from harassing the shared user account.
名片信息可以用CardInfo表示,所述目标账号获取的所述名片信息中包括根据所述分享关系链确定的第一标识,所述第一标识用于标识所述目标账号具有对所述被分享用户账号添加好友的权限。第一标识可以用ticket表示,第一标识可以是明文,在一些情况下,为了避免第一标识被篡改,可以对第一标识进行加密,得到加密ticket,具体可以以目标账号为key生成加密ticket。Business card information can be represented by CardInfo, and the business card information obtained by the target account includes a first identifier determined according to the sharing relationship chain, and the first identifier is used to identify that the target account has access to the shared user. Permission to add friends to the account. The first identifier can be represented by a ticket, and the first identifier can be in plain text. In some cases, in order to prevent the first identifier from being tampered with, the first identifier can be encrypted to obtain an encrypted ticket. Specifically, an encrypted ticket can be generated by using the target account as the key. .
以被分享用户账号是社交软件1中的账号b为例,第一标识可以参见图5a和图5b所示。图5a表示向目标账号(例如社交软件2中的账号2)分享被分享用户账号对应的第一标识,其中,from_username:WX_2表示发起添加好友请求的用户账号的标识,to_username:WW_b表示希望添加哪个账号为好友,第一标识标识了目标账号WX_2具有对被分享用户账号WW_b添加好友的权限。图5b表示向目标账号对应的群分享被分享用户账号对应的第一标识,其中,from_username:群openid表示发起添加好友请求的用户账号所在群的标识,to_username:WW_b表示希望添加哪个账号为好友,第一标识标识了目标群账号中的群成员具有对被分享用户账号WW_b添加好友的权限。Taking the account of the user to be shared as an account b in the social software 1 as an example, the first identifier may be shown in FIG. 5a and FIG. 5b. Fig. 5a shows that the first identifier corresponding to the shared user account is shared with the target account (for example, the account 2 in the social software 2), wherein from_username:WX_2 represents the identifier of the user account that initiated the request to add a friend, and to_username:WW_b represents which one you want to add The account is a friend, and the first identifier identifies that the target account WX_2 has the right to add friends to the shared user account WW_b. Fig. 5b shows that the first identification corresponding to the shared user account is shared with the group corresponding to the target account, wherein from_username:group openid indicates the identification of the group where the user account that initiates the adding friend request, to_username:WW_b indicates which account you want to add as a friend, The first identifier identifies that a group member in the target group account has the right to add friends to the shared user account WW_b.
需要说明的是,在一种可能的实现方式中,名片信息是通过下述方式获得的:首先,第一用户账号生成用于将用户名片向目标账号分享的分享请求,该分享请求包括分享关系链。然后,第一用户账号获取根据分享请求创建的名片信息。It should be noted that, in a possible implementation manner, the business card information is obtained in the following manner: First, the first user account generates a sharing request for sharing the user business card with the target account, and the sharing request includes the sharing relationship chain. Then, the first user account obtains the business card information created according to the sharing request.
需要说明的是,在一种可能的实现方式中,第一用户账号对应的用户触发分享被分享用户账号的用户名片功能,从而触发第一用户账号生成该分享请求。It should be noted that, in a possible implementation manner, the user corresponding to the first user account triggers the function of sharing the user card of the shared user account, thereby triggering the first user account to generate the sharing request.
例如,第二异构系统为社交软件2,第一用户账号获取到被分享用户账号的用户名片后,第一用户账号对应的用户通过点击图3a中“发送到社交软件2”以及图3b中“发送用户名片到社交软件2”触发第一用户账号生成该分享请求。For example, the second heterogeneous system is social software 2. After the first user account obtains the user card of the shared user account, the user corresponding to the first user account clicks "send to social software 2" in Fig. 3a and Fig. 3b "Send user business card to social software 2" triggers the first user account to generate the sharing request.
需要说明的是,第一用户账号获取根据所述分享请求创建的名片信息的方式可以包括很多种。其中,第一用户账号获取根据分享请求创建的名片信息的一种方式可以是,由第一用户账号根据所述分享请求创建的名片信息,从而第一用户账号从第一用户账号本身获取名片信息。It should be noted that, the first user account may acquire the business card information created according to the sharing request in many ways. One way for the first user account to obtain the business card information created according to the sharing request may be: the business card information created by the first user account according to the sharing request, so that the first user account obtains the business card information from the first user account itself .
第一用户账号获取根据分享请求创建的名片信息的另一种方式可以是,第一用户账号向互通系统发送所述分享请求,由互通系统(IMUnion)根据获取的分享请求创建名片信息,从而将名片信息发送给第一用户账号,所述互通系统具有所述第一异构系统和所述第二异构系统的数据处理逻辑,所述互通系统根据所述分享请求所创建的名片信息符合第一异构系统和第二异构系统的数据处理逻辑。此时,名片信息中的第一标识可以是由互通系统添加的。Another way for the first user account to acquire the business card information created according to the sharing request may be that the first user account sends the sharing request to the interworking system, and the interworking system (IMUnion) creates the business card information according to the acquired sharing request, thereby converting the The business card information is sent to the first user account, the interworking system has the data processing logic of the first heterogeneous system and the second heterogeneous system, and the business card information created by the interworking system according to the sharing request conforms to the first heterogeneous system. Data processing logic for a heterogeneous system and a second heterogeneous system. At this time, the first identifier in the business card information may be added by the interworking system.
可以理解的是,通过互通系统可以将名片信息中包括的信息转换成第一异构系统和第二异构系统均可识别的数据格式,例如将用户标识转换成通用的openid,第一异构系统和第二异构系统均可识别openid。It can be understood that the information included in the business card information can be converted into a data format recognizable by the first heterogeneous system and the second heterogeneous system through the interworking system, for example, the user ID can be converted into a general openid, the first heterogeneous system Both the system and the second heterogeneous system recognize the openid.
在一些情况下,名片信息中还可以包括被分享用户账号的资料信息。名片信息中包括的资料信息可以参见图6所示,name表示用户姓名,headurl表示头像,openid表示用户账号的标识,desc(corpname,etc)标识描述信息,例如公司名等。In some cases, the business card information may also include profile information of the shared user account. The data information included in the business card information can be referred to as shown in FIG. 6 , name represents the user name, headurl represents the avatar, openid represents the identifier of the user account, and desc (corpname, etc) represents the description information, such as the company name.
需要说明的是,由于第一用户账号所在的异构系统具有对应的后台,在一种可能的实现方式中,第一用户账号可以通过其所在异构系统的后台向互通系统发送所述分享请求。以第一用户账号所在的异构系统为社交软件1为例,第一用户账号可以通过其社交软件1的后台向互通系统发送所述分享请求。It should be noted that, since the heterogeneous system where the first user account is located has a corresponding background, in a possible implementation manner, the first user account may send the sharing request to the interworking system through the background of the heterogeneous system where it is located. . Taking the social software 1 as an example of the heterogeneous system where the first user account is located, the first user account can send the sharing request to the interworking system through the background of the social software 1 thereof.
由上述技术方案可以看出,若第一用户账号希望向第二异构系统中的目标账号分享第一异构系统中的被分享用户账号,第一用户账号可以显示目标用户选择界面,并通过在目标用户选择界面上触发的选择操作,获取目标账号,第一用户账号可以将名片信息向该目标账号进行分享,该名片信息包括分享用户名片所涉及账号间关系信息的分享关系链,使得目标账号获取该名片信息时,该名片信息中包括根据分享关系链确定的第一标识,所述第一标识用于标识目标账号具有对所述被分享用户账号添加好友的权限。由于该第一标识的限制,导致分享到目标账号的名片信息仅能用于特定用户账号,例如目标账号对被分享用户账号进行好友添加,即使该名片信息被恶意扩散到其他账号,其他账号由于不具备第一标识所限制的权限,其他账号也无法使用该名片信息添加被分享用户账号为好友,从而基本杜绝了被分享者例如被分享用户账号被不怀好意的添加请求骚扰的可能性,提高了分享体验。It can be seen from the above technical solutions that if the first user account wishes to share the shared user account in the first heterogeneous system with the target account in the second heterogeneous system, the first user account can display the target user selection interface, and pass The selection operation triggered on the target user selection interface obtains the target account, and the first user account can share the business card information with the target account. When the account obtains the business card information, the business card information includes a first identifier determined according to the sharing relationship chain, where the first identifier is used to identify that the target account has the authority to add friends to the shared user account. Due to the limitation of the first identification, the business card information shared to the target account can only be used for a specific user account. For example, the target account adds friends to the shared user account, even if the business card information is maliciously spread to other accounts, other accounts will be Without the authority restricted by the first identification, other accounts cannot use the business card information to add the shared user account as a friend, thus basically eliminating the possibility of the shared user being harassed by malicious addition requests, such as the shared user account. Improved sharing experience.
需要说明的是,本申请实施例提供的方法可以包括多种用户名片分享场景,接下来将主要对五种场景进行介绍。It should be noted that, the method provided by the embodiment of the present application may include various user card sharing scenarios, and five scenarios will be mainly introduced next.
第一种场景为第一用户账号属于第一异构系统,目标账号为目标用户账号,目标用户账号与所述第一用户账号间具有账号绑定关系或好友关系,第一用户账号直接将被分享用户账号分享给目标用户账号。例如,社交软件1中的账号a将社交软件1中的账号b分享给社交软件2中的账号1,社交软件1中的账号a为第一用户账号,社交软件1中的账号b为被分享用户账号,社交软件2中的账号1为目标账号。The first scenario is that the first user account belongs to the first heterogeneous system, the target account is the target user account, the target user account and the first user account have an account binding relationship or a friend relationship, and the first user account will be directly Share the user account to share with the target user account. For example, account a in social software 1 shares account b in social software 1 with account 1 in social software 2, account a in social software 1 is the first user account, and account b in social software 1 is shared User account, account 1 in social software 2 is the target account.
第二种场景为第一用户账号属于所述第一异构系统,所述目标账号为目标用户账号,属于所述第二异构系统的第二用户账号与所述第一用户账号间为账号绑定关系,第一用户账号通过第二用户账号将被分享用户账号分享给目标用户账号。例如,社交软件1中的账号a将社交软件1中的账号b通过社交软件2中的账号1分享给社交软件2中的账号2。其中,社交软件1中的账号a为第一用户账号,社交软件1中的账号b为被分享用户账号,社交软件2中的账号1为第二用户账号,社交软件2中的账号2为目标账号。The second scenario is that the first user account belongs to the first heterogeneous system, the target account is the target user account, and the second user account belonging to the second heterogeneous system and the first user account are accounts A binding relationship, the first user account shares the shared user account to the target user account through the second user account. For example, account a in social software 1 shares account b in social software 1 with account 2 in social software 2 through account 1 in social software 2. Wherein, the account a in the social software 1 is the first user account, the account b in the social software 1 is the shared user account, the account 1 in the social software 2 is the second user account, and the account 2 in the social software 2 is the target account.
第三种场景为第一用户账号属于第二异构系统,所述目标账号为目标用户账号,所述目标用户账号与所述第一用户账号间为好友关系,所述第一用户账号直接将被分享用户账号分享给目标用户账号。例如,社交软件2中的账号1将社交软件1中的账号b分享给社交软件2中的账号2。其中,社交软件2中的账号1为第一用户账号,社交软件1中的账号b为被分享用户账号,社交软件2中的账号2为目标账号。The third scenario is that the first user account belongs to the second heterogeneous system, the target account is the target user account, the target user account and the first user account are in a friend relationship, and the first user account directly converts the The shared user account is shared with the target user account. For example, account 1 in social software 2 shares account b in social software 1 to account 2 in social software 2. The account 1 in the social software 2 is the first user account, the account b in the social software 1 is the shared user account, and the account 2 in the social software 2 is the target account.
第四种场景为所述第一用户账号属于第一异构系统或第二异构系统,所述目标账号为目标群账号,且所述第一用户账号为所述目标群账号所对应群中的群成员,所述第一用户账号直接将被分享用账号分享给其所在群对应的目标群账号。例如,社交软件1中的账号a向包括了该账号a的社交软件2的群分享社交软件1中的账号b,其中,社交软件1中的账号a为第一用户账号,社交软件1中的账号b为被分享用户账号,包括了账号a的社交软件2中的群对应的群账号为目标群账号。或者,社交软件2中的账号1向包括了该账号1的社交软件2中的群分享社交软件1中的账号b,其中,社交软件2中的账号1为第一用户账号,社交软件1中的账号b为被分享用户账号,包括了账号1的社交软件2中的群对应的群账号为目标群账号。The fourth scenario is that the first user account belongs to the first heterogeneous system or the second heterogeneous system, the target account is a target group account, and the first user account is in the group corresponding to the target group account The first user account directly shares the account to be shared with the target group account corresponding to the group where the first user account belongs. For example, the account a in the social software 1 shares the account b in the social software 1 with the group of the social software 2 that includes the account a, wherein the account a in the social software 1 is the first user account, and the account in the social software 1 is the first user account. Account b is the shared user account, and the group account corresponding to the group in the social software 2 including account a is the target group account. Or, the account 1 in the social software 2 shares the account b in the social software 1 with the group in the social software 2 that includes the account 1, wherein the account 1 in the social software 2 is the first user account, and the social software 1 The account b is the shared user account, and the group account corresponding to the group in the social software 2 including account 1 is the target group account.
第五种场景为所述第一用户账号属于所述第一异构系统,所述目标账号为目标群账号,属于所述第二异构系统的第二用户账号与所述第一用户账号间为账号绑定关系,且所述第二用户账号为所述目标群账号所对应群中的群成员,第一用户账号将被分享用户账号通过第二用户账号分享给第二用户账号所在群对应的目标群账号。例如,社交软件1中的账号a将社交软件1中的账号b通过社交软件2中的账号1分享给账号1所在的群,其中,社交软件1中的账号a为第一用户账号,社交软件1中的账号b为被分享用户账号,社交软件2中的账号1为第二用户账号,账号1所在群对应的群账户为目标群账号。The fifth scenario is that the first user account belongs to the first heterogeneous system, the target account is a target group account, and there is a relationship between the second user account belonging to the second heterogeneous system and the first user account is an account binding relationship, and the second user account is a group member in the group corresponding to the target group account, and the first user account will be shared with the shared user account through the second user account to the group corresponding to the second user account target group account. For example, account a in social software 1 shares account b in social software 1 to the group where account 1 is located through account 1 in social software 2, where account a in social software 1 is the first user account, and the social software Account b in 1 is the shared user account, account 1 in social software 2 is the second user account, and the group account corresponding to the group where account 1 belongs is the target group account.
其中,第一种场景、第三种场景和第四种场景属于第一用户账号直接将被分享用户账号分享给目标账号,因此,分享关系链中体现了用户名片属于哪个用户账号的,用户名片由哪个用户账号分享给哪个账号,还体现了被分享用户账号与第一用户账号为好友关系,第一用户账号与目标账号标识的用户账号为好友关系或账号绑定关系,或第一用户账号为目标账号所标识群中的群成员。在这些场景下,被分享用户账号所属的第一异构系统和目标账号所属的第二异构系统可以安装在同一终端设备上,也可以安装在不同的终端设备上。此时,名片信息中的第一标识可以是由第一用户账号添加的。Among them, the first scenario, the third scenario and the fourth scenario belong to the first user account, and the shared user account is directly shared with the target account. Therefore, the sharing relationship chain reflects which user account the user card belongs to, and the user card Which user account is shared to which account also reflects that the shared user account and the first user account are friends, and the user account identified by the first user account and the target account is a friend relationship or account binding relationship, or the first user account. Group members in the group identified by the target account. In these scenarios, the first heterogeneous system to which the shared user account belongs and the second heterogeneous system to which the target account belongs may be installed on the same terminal device, or may be installed on different terminal devices. At this time, the first identifier in the business card information may be added by the first user account.
第二种场景和第五种场景属于第一用户账号间接将用户名片向目标账号分享,即第一用户账号将被分享用户账号通过第二用户账号分享给目标账号,第一用户账号将用户名片直接分享给第二用户账号,再由第二用户账号转发给目标账号。因此,分享关系链体现了用户名片属于哪个用户账号的标识,用户名片由哪个用户账号分享给目标账号,用于向目标账号转发用户名片的绑定账号是哪个账号,还体现了被分享用户账号与第一用户账号为好友关系,第一用户账号与第二用户账号之间的账号绑定关系等。The second and fifth scenarios belong to the first user account indirectly sharing the user card with the target account, that is, the first user account will share the user account to be shared with the target account through the second user account, and the first user account will share the user card with the target account. It is directly shared to the second user account, and then forwarded to the target account by the second user account. Therefore, the sharing relationship chain reflects the identification of which user account the user card belongs to, which user account the user card is shared with to the target account, which account is the bound account used to forward the user card to the target account, and also reflects the shared user account. A friend relationship with the first user account, an account binding relationship between the first user account and the second user account, and the like.
在这些场景下,由于第二用户账号与第一用户账号为账号绑定关系,第一用户账号将用户名片分享给第二用户账号时,需要从第一异构系统跳转到第二异构系统,跳转是应用(例如社交软件)之间进行的,因此,被分享用户账号所属的第一异构系统和目标账号所属的第二异构系统需要安装在同一终端设备上。In these scenarios, since the second user account and the first user account are account-bound, when the first user account shares the user card with the second user account, it needs to jump from the first heterogeneous system to the second heterogeneous system system, jumping is performed between applications (such as social software), therefore, the first heterogeneous system to which the shared user account belongs and the second heterogeneous system to which the target account belongs need to be installed on the same terminal device.
需要说明的是,名片信息中第一标识根据用户名片分享场景的不同,第一标识的生成时机会有所不同。在第一种场景、第三种场景和第四种场景中,分享关系链体现了用户名片属于哪个用户账号的,用户名片由哪个用户账号分享给哪个账号,即体现了被分享用户账号、第一用户账号和目标账号,故,第一用户账号向目标账号分享的名片信息中包括第一标识。It should be noted that the generation time of the first identifier in the business card information may be different according to different scenarios of user card sharing. In the first scenario, the third scenario and the fourth scenario, the sharing relationship chain reflects which user account the user card belongs to, and which user account the user card is shared to which account, that is, it reflects the shared user account, the first A user account and a target account, therefore, the business card information shared by the first user account with the target account includes the first identifier.
在第二种场景和第五种场景中,第一用户账号获取的名片信息可能还未包括第一标识,而是在第一用户账号向目标账号分享所述名片信息的过程中生成的第一标识,从而保证目标账号获取的名片信息中包括第一标识。在这种情况下,第一用户账号向目标账号分享名片信息的一种可能实现方式为第一用户账号向第二用户账号分享所述名片信息,以使第二用户账号根据名片信息中包括的分享关系链获取第一标识,并将携带所述第一标识的名片信息分享至目标用户账号或第一用户账号所在群对应的目标群账号。In the second scenario and the fifth scenario, the business card information obtained by the first user account may not yet include the first identifier, but the first user account generated during the process of sharing the business card information with the target account by the first user account. identification, so as to ensure that the business card information obtained by the target account includes the first identification. In this case, a possible implementation manner for the first user account to share the business card information with the target account is that the first user account shares the business card information with the second user account, so that the second user account can share the business card information according to the information included in the business card information. The sharing relationship chain obtains the first identifier, and shares the business card information carrying the first identifier to the target user account or the target group account corresponding to the group where the first user account belongs.
在这些场景下,由于被分享用户账号所属的第一异构系统和目标账号所属的安装在同一终端设备上,故,第一用户账号向第二用户账号分享名片信息的一种实现方式可以是第一用户账号通过第一异构系统调用第二异构系统的接口,并向所述第二用户账号转发封装为符合所述接口的数据格式的所述名片信息。通过调用第二异构系统的接口,实现从终端设备上的第一异构系统跳转到第二异构系统,从而完成向第二用户账号转发名片信息。In these scenarios, since the first heterogeneous system to which the user account to be shared belongs and the target account to which the target account belongs are installed on the same terminal device, an implementation manner for the first user account to share business card information with the second user account may be: The first user account invokes the interface of the second heterogeneous system through the first heterogeneous system, and forwards the business card information encapsulated in a data format conforming to the interface to the second user account. By invoking the interface of the second heterogeneous system, jumping from the first heterogeneous system on the terminal device to the second heterogeneous system is realized, thereby completing the forwarding of business card information to the second user account.
其中,所述接口可以是软件开发工具包(Software Development Kit,简称SDK)接口,SDK接口提供了数据封装和解析的能力,以满足传递不同的数据类型需要(比如文本、图片、视频、文件、聊天记录等)。当第一异构系统中的第一用户账号要传递某个数据(例如名片信息)到第二异构系统的第二用户账号时,第一用户账号会把该数据封装成符合所述接口的数据格式,以二进制数据的形式通过openURL直接带数据或粘贴板UIPasteboard共享数据的方式传递给第二用户账号。第二用户账号从openURL或UIPasteboard读出数据,解析转换为文本数据类型,然后分发给对应的ApiHandler接口进行后续的处理。The interface may be a software development kit (Software Development Kit, SDK for short) interface, and the SDK interface provides data encapsulation and parsing capabilities to meet the needs of transmitting different data types (such as text, pictures, videos, files, chat history, etc.). When the first user account in the first heterogeneous system wants to transfer certain data (such as business card information) to the second user account in the second heterogeneous system, the first user account will encapsulate the data into a format that conforms to the interface. The data format, in the form of binary data, is passed to the second user account in the form of directly carrying data through openURL or sharing data with the pasteboard UIPasteboard. The second user account reads data from openURL or UIPasteboard, parses and converts it into a text data type, and distributes it to the corresponding ApiHandler interface for subsequent processing.
在本实施例中,若第一用户账号属于社交软件1,目标账号属于社交软件2,且目标账号为目标用户账号,则从社交软件1跳转到社交软件2的效果图参见图7中701所示,名片信息分享到目标用户账号的效果图参见7中702所示;若第一用户账号属于社交软件1,目标账号属于社交软件2,且目标账号为目标群账号,则从社交软件1跳转到社交软件2的效果图参见图8中801所示,名片信息分享到目标群账号的效果图参见8中802所示。In this embodiment, if the first user account belongs to social software 1, the target account belongs to social software 2, and the target account is the target user account, the effect diagram of jumping from social software 1 to social software 2 is shown in 701 in FIG. 7 . As shown, the effect diagram of business card information sharing to the target user account is shown in 702 in 7; if the first user account belongs to social software 1, the target account belongs to social software 2, and the target account is the target group account, then from social software 1 The effect diagram of jumping to the social software 2 is shown in 801 in FIG. 8 , and the effect diagram of the business card information sharing to the target group account is shown in 802 in 8 .
需要说明的是,为了避免名片信息被非法用户账号获取,第一用户账号在向第二用户账号发送名片信息前,可以通过第二异构系统验证第二用户账号与第一用户账号间是否为账号绑定关系,若是,则将名片信息向第二用户账号发送。It should be noted that, in order to prevent the business card information from being acquired by an illegal user account, before the first user account sends the business card information to the second user account, the second heterogeneous system can verify whether there is a relationship between the second user account and the first user account. Account binding relationship, if yes, send the business card information to the second user account.
接下来,将对第二用户账号如何根据名片信息中包括的分享关系链获取第一标识进行介绍。Next, it will be introduced how the second user account obtains the first identifier according to the sharing relationship chain included in the business card information.
第二用户账号接收到名片信息后,第二用户账号对应的用户可以选择目标账号,从而请求生成第一标识。第一标识可以是第二用户账号自身根据分享关系链生成的,也可以是将名片信息发送给第二异构系统后台申请生成第一标识。After the second user account receives the business card information, the user corresponding to the second user account can select the target account, thereby requesting to generate the first identifier. The first identifier may be generated by the second user account itself according to the sharing relationship chain, or may be sent to the background of the second heterogeneous system to apply for generating the first identifier.
若第二用户账号将名片信息发送给第二异构系统后台申请生成第一标识,为了避免名片信息被非法用户截获,第二用户账号将名片信息发送给第二异构系统后台后,第二异构系统后台可以首先校验第二用户账号是否与第一用户账号为账号绑定关系,若是,则请求IMUnion生成第一标识。If the second user account sends the business card information to the background of the second heterogeneous system to apply for generating the first identifier, in order to prevent the business card information from being intercepted by illegal users, after the second user account sends the business card information to the background of the second heterogeneous system, the second The background of the heterogeneous system may first check whether the second user account is in an account binding relationship with the first user account, and if so, request IMUnion to generate the first identifier.
以被分享用户账号为社交软件1中的账号WW_b,目标账号为社交软件2中的账号WX_2,第二用户账号为社交软件2中的账号WX_1为例,当名片信息被分享到WX_1后,社交软件2侧会解析得到名片信息(CardInfo),然后,WX_1对应的用户选择转发给WX_2,WX_1会将CardInfo发送给社交软件2的后台申请生成WX_2具有对WW_b添加好友的权限的第一标识。社交软件2的后台会首先校验CardInfo的bind_openid是否就是当前登录的WX_1,如果不是(假如是WX_3),则会生成一条失败的消息插入WX_1与WX_3聊天会话;如果正是WX_1,则请求IMUnion后台生成第一标识。Taking the shared user account as the account WW_b in the social software 1, the target account as the account WX_2 in the social software 2, and the second user account as the account WX_1 in the social software 2 as an example, when the business card information is shared to WX_1, the social The software 2 side will parse and obtain the business card information (CardInfo), and then, the user corresponding to WX_1 chooses to forward it to WX_2, and WX_1 will send the CardInfo to the background application of social software 2 to generate the first identifier that WX_2 has the permission to add friends to WW_b. The background of social software 2 will first check whether the bind_openid of CardInfo is the WX_1 currently logged in, if not (if it is WX_3), it will generate a failure message and insert it into the chat session between WX_1 and WX_3; if it is WX_1, request the IMUnion background A first identification is generated.
需要说明的是,在一些情况下,第二用户账号可能具有希望添加被分享用户账号为好友的需要,为了保证第二用户账号在获取到名片信息后,可以通过名片信息添加被分享用户账号为好友,在一些可能的实现方式中,所述第一用户账号向目标账号分享的名片信息中还可以包括根据所述分享关系链确定的第二标识,所述第二标识用于标识所述第二用户账号具有对所述被分享用户账号添加好友的权限。It should be noted that, in some cases, the second user account may have the need to add the shared user account as a friend. In order to ensure that the second user account can add the shared user account through the business card information after obtaining the business card information. friend, in some possible implementations, the business card information shared by the first user account with the target account may further include a second identifier determined according to the sharing relationship chain, where the second identifier is used to identify the first The second user account has the right to add friends to the shared user account.
第一用户账号向目标账号分享被分享用账号的用户名片的目的是使得目标账号标识的用户账号,或者目标账号所标识群中的群成员可以添加被分享用户账号为好友,接下来,在前述实施例的基础上对添加好友的方法进行介绍。The purpose of the first user account sharing the user card of the shared account with the target account is to enable the user account identified by the target account, or the group members in the group identified by the target account to add the shared user account as a friend. Next, in the aforementioned The method for adding friends is introduced on the basis of the embodiment.
本申请实施例提供的添加好友方法可以应用到终端设备中,终端设备可以是个人计算机(personal computer,简称PC)、智能终端、个人数字助理(Personal DigitalAssistant,简称PDA)、平板电脑等。The method for adding friends provided by the embodiments of the present application may be applied to a terminal device, and the terminal device may be a personal computer (PC for short), an intelligent terminal, a personal digital assistant (PDA for short), a tablet computer, or the like.
其中,终端设备上安装属于不同异构系统的社交软件,属于不同异构系统的社交软件可以安装在同一个终端设备上,也可以安装在不同的终端设备上。社交软件可以包括企业微信、微信、QQ等,本申请实施例将主要以属于不同异构系统的社交软件分别是社交软件1和社交软件2为例进行介绍。Wherein, social software belonging to different heterogeneous systems is installed on the terminal device, and the social software belonging to different heterogeneous systems may be installed on the same terminal device or may be installed on different terminal devices. The social software may include enterprise WeChat, WeChat, QQ, etc. The embodiments of this application will mainly introduce social software 1 and social software 2 as examples of social software belonging to different heterogeneous systems, respectively.
本申请实施例提供的添加好友方法,可以应用于图9所示的应用场景。在图9所示的场景中,第二异构系统102中的目标用户账号希望通过添加第一异构系统101中的被分享用户账号为好友。其中,第一异构系统101和第一异构系统102为不同的异构系统,即目标用户账号所属的社交软件与被分享用户账号所属的社交软件不同。在后续实施例中,将以第一异构系统101是社交软件1,第二异构系统102是社交软件2为例进行介绍。The method for adding friends provided by the embodiments of the present application can be applied to the application scenario shown in FIG. 9 . In the scenario shown in FIG. 9 , the target user account in the second heterogeneous system 102 wishes to be a friend by adding the shared user account in the first heterogeneous system 101 . The first heterogeneous system 101 and the first heterogeneous system 102 are different heterogeneous systems, that is, the social software to which the target user account belongs is different from the social software to which the shared user account belongs. In subsequent embodiments, the first heterogeneous system 101 is social software 1 and the second heterogeneous system 102 is social software 2 as an example for introduction.
目标用户账号和被分享用户账号均为用户账号,为了实现目标用户账号添加被分享用户账号为好友,目标用户账号获取第一用户账号分享的用户名片,并根据该用户名片向被分享用户账号发起添加好友请求,若该添加好友请求可以被推送至被分享用户账号,则目标用户账号获取到从第一异构系统发出的通知信息,该通知信息用于标识添加好友请求被推送至被分享用户账号。The target user account and the shared user account are both user accounts. In order to add the shared user account to the target user account as a friend, the target user account obtains the user card shared by the first user account, and initiates a notification to the shared user account according to the user card. Add a friend request. If the friend request can be pushed to the shared user account, the target user account obtains notification information sent from the first heterogeneous system, and the notification information is used to identify that the friend addition request is pushed to the shared user. account.
接下来,将结合附图对本申请实施例提供的添加好友方法进行介绍。Next, the method for adding friends provided by the embodiments of the present application will be introduced with reference to the accompanying drawings.
参见图10,图10示出了一种添加好友方法的信令交互图,所述方法包括:Referring to FIG. 10, FIG. 10 shows a signaling interaction diagram of a method for adding friends, the method includes:
S1001、属于第二异构系统的目标用户账号获取第一用户账号分享的用户名片。S1001. The target user account belonging to the second heterogeneous system acquires the user business card shared by the first user account.
其中,所述被分享用户账号属于第一异构系统。Wherein, the shared user account belongs to the first heterogeneous system.
S1002、所述目标用户账号根据所述用户名片向所述被分享用户账号发起添加好友请求。S1002. The target user account initiates a friend addition request to the shared user account according to the user card.
目标用户账号获取用户名片后,用户名片中可以包括被分享用户账号的资料信息,目标用户账号可以直接查看该资料信息。After the target user account obtains the user card, the user card may include the profile information of the shared user account, and the target user account may directly view the profile information.
若目标用户账号与被分享用户账号不是好友关系,目标用户账号可以向被分享用户账号发起添加好友请求。目标用户账号通过用户名片发起添加好友请求的效果图如图11所示,目标用户账号对应的用户通过点击1101中“添加到通讯录”按钮和1102中“发送”按钮触发目标用户账号发起添加好友请求。If the target user account and the shared user account are not in a friend relationship, the target user account may initiate an add friend request to the shared user account. The effect diagram of the target user account initiating the request to add friends through the user card is shown in Figure 11. The user corresponding to the target user account triggers the target user account to initiate adding friends by clicking the "Add to Address Book" button in 1101 and the "Send" button in 1102. ask.
需要说明的是,S1002的一种可能的实现方式是,目标用户账号通过第一异构系统向被分享用户账号发起添加好友请求,图10中1002示出的为该实现方式。It should be noted that, a possible implementation manner of S1002 is that the target user account initiates a friend addition request to the shared user account through the first heterogeneous system, and 1002 in FIG. 10 shows this implementation manner.
S1003、第一异构系统向目标用户账号发出通知信息。S1003. The first heterogeneous system sends notification information to the target user account.
其中,所述通知信息用于标识所述添加好友请求被推送至所述被分享用户账号。The notification information is used to identify that the request for adding a friend is pushed to the shared user account.
目标用户账号接收到通知消息后,等待被分享用户账号同意添加目标用户账号为好友。若被分享用户账号同意添加目标用户账号为好友,则被分享用户账号发送添加成功消息,所述目标用户账号获取添加成功信息,该添加成功信息用于标识被分享用户账号根据所述添加好友请求添加了上述目标用户账号为好友,然后,所述目标用户账号将所述被分享用户账号加入好友关系列表。其中,被分享用户账号同意添加目标用户账号为好友的效果图参见图12所示,被分享用户账号对应的用户点击1201中“通过验证”按钮,从而触发发送添加成功消息,完成添加好友后的展示界面如1202所示,互为好友的被分享用户账号和目标用户账号可以进行消息互通,例如发消息、语音通话。After the target user account receives the notification message, it waits for the shared user account to agree to add the target user account as a friend. If the shared user account agrees to add the target user account as a friend, the shared user account sends an addition success message, and the target user account obtains the addition success information, which is used to identify the shared user account according to the friend addition request. The target user account is added as a friend, and then the target user account adds the shared user account to a friend relationship list. Among them, the effect diagram of the shared user account agreeing to add the target user account as a friend is shown in Figure 12. The user corresponding to the shared user account clicks the "Pass Verification" button in 1201, thereby triggering the sending of a successful addition message, and completing the process of adding friends. The display interface is shown in 1202. The shared user account and the target user account that are friends with each other can communicate with each other through messages, such as sending messages and making voice calls.
需要说明的是,由于用户名片可能在不同账号间被扩散,为了避免被分享者被不怀好意的添加请求骚扰,提高分享体验,在一种可能的实现方式中,用户名片具体为名片信息,该名片信息包括第一标识,第一标识用于标识目标账号具有对被分享用户账号添加好友的权限。It should be noted that, since the user card may be spread among different accounts, in order to avoid the sharer being harassed by malicious add requests and improve the sharing experience, in a possible implementation, the user card is specifically the business card information. The business card information includes a first identifier, and the first identifier is used to identify that the target account has the authority to add friends to the shared user account.
相应的,添加好友请求还包括该第一标识,这样,若第一异构系统接收到添加好友请求,第一异构系统可以通过第一标识对目标用户账号进行验证,若目标用户账号被确定为目标账号标识的用户账号,或者为目标账号所标识群中的群成员,执行S1003的步骤。Correspondingly, the request for adding a friend also includes the first identifier, so that if the first heterogeneous system receives the request for adding a friend, the first heterogeneous system can verify the target user account through the first identifier, and if the target user account is determined For the user account identified by the target account, or a group member in the group identified by the target account, the step of S1003 is performed.
需要说明的是,若第一标识为加密的第一标识,互通系统可以对通过第一标识对名片信息进行解密,从而由第一异构系统对目标用户账号进行验正。It should be noted that, if the first identifier is an encrypted first identifier, the interworking system can decrypt the business card information through the first identifier, so that the target user account can be verified by the first heterogeneous system.
需要说明的是,名片信息可能在分享过程中被非法用户账号截获,从而对名片信息进行篡改,例如,真实名片信息中标识的目标账号是社交软件2中的账号WX_2,若名片信息被非法用户账号(例如社交软件2中的账号WX_3)截获,社交软件2中的账号WX_3为了可以添加被分享用户账号(例如社交软件1中的账号WW_b)为好友,将目标账号篡改为社交软件2中的账号WX_3。It should be noted that the business card information may be intercepted by an illegal user account during the sharing process, thereby tampering with the business card information. For example, the target account identified in the real business card information is the account WX_2 in social software 2. The account (such as the account WX_3 in the social software 2) is intercepted, and the account WX_3 in the social software 2 can add the shared user account (such as the account WW_b in the social software 1) as a friend, and the target account number is tampered with in the social software 2. Account WX_3.
在这种情况下,为了避免非法用户账号可以添加被分享用户账号为好友,在一种可能的实现方式中,所述添加好友请求还包括所述名片信息的名片标识,所述名片信息还包括分享被分享用户账号的用户名片所涉及账号间关系信息的分享关系链,这样,在S1003之前,第一异构系统和第二异构系统可以根据分享关系链对目标用户账号是否为合法用户账号进行验证,若验证目标用户账号为合法用户账号,则执行S1003的步骤。其中,第一异构系统和第二异构系统用于验证合法用户账号的分享关系链是根据名片标识确定的。In this case, in order to prevent illegal user accounts from being able to add the shared user account as a friend, in a possible implementation manner, the request for adding a friend further includes a business card identifier of the business card information, and the business card information further includes Share the shared relationship chain of the relationship information between the accounts involved in the user card of the shared user account, so that before S1003, the first heterogeneous system and the second heterogeneous system can check whether the target user account is a legitimate user account according to the shared relationship chain. Verification is performed, and if the verification target user account is a legitimate user account, the step of S1003 is performed. Wherein, the sharing relationship chain used by the first heterogeneous system and the second heterogeneous system to verify the legal user account is determined according to the identification of the business card.
例如,第一异构系统可以验证第一用户账号与被分享用户账号是否为好友关系;第一异构系统或第二异构系统可以根据分享关系链验证第一用户账号与目标用户账号是否是好友关系,或者,第一用户账号与目标用户账号是否在同一群中;第一异构系统可以根据分享关系链验证第一用户账号与第二用户账号是否是绑定关系;第二异构系统可以根据分享关系链验证目标用户账号与第二用户账号是否是好友关系,或者,第二用户账号与目标用户账号是否在同一群中,等等。For example, the first heterogeneous system can verify whether the first user account and the shared user account are in a friend relationship; the first heterogeneous system or the second heterogeneous system can verify whether the first user account and the target user account are in the same relationship according to the sharing relationship chain. Friendship, or whether the first user account and the target user account are in the same group; the first heterogeneous system can verify whether the first user account and the second user account are bound according to the sharing relationship chain; the second heterogeneous system It can be verified according to the sharing relationship chain whether the target user account and the second user account are in a friend relationship, or whether the second user account and the target user account are in the same group, and so on.
由于目标用户账号向被分享用户账号发起的添加好友请求包括第一标识,第一标识用于标识目标账号具有对所述被分享用户账号添加好友的权限。由于该第一标识的限制,导致分享到目标账号的名片信息仅能用于特定用户账号,例如目标账号标识的目标用户账号或目标账号所标识群中的群成员对被分享用户账号进行好友添加,即使该名片信息被恶意扩散到其他账号,其他账号由于不具备第一标识所限制的权限,其他账号发起的添加好友请求不会被推送到被分享用户账号,从而基本杜绝了被分享者例如被分享用户账号被不怀好意的添加请求骚扰的可能性,提高了分享体验。Since the adding friend request initiated by the target user account to the shared user account includes the first identifier, the first identifier is used to identify that the target account has the right to add friends to the shared user account. Due to the limitation of the first identification, the business card information shared to the target account can only be used for a specific user account, such as the target user account identified by the target account or the group members in the group identified by the target account to add friends to the shared user account , even if the business card information is maliciously spread to other accounts, because other accounts do not have the authority restricted by the first identifier, the friend request initiated by other accounts will not be pushed to the shared user account, thus basically preventing the shared user such as The possibility of being harassed by malicious add requests to the shared user account improves the sharing experience.
接下来,将结合实际应用场景对本申请实施例提供的用户名片分享和添加好友方法进行介绍。在该应用场景中,社交软件1中的账号a将社交软件1中的账号b通过社交软件2中的账号1分享给社交软件2中的账号2。其中,社交软件1中的账号a为第一用户账号,社交软件1中的账号b为被分享用户账号,社交软件2中的账号1为第二用户账号,社交软件2中的账号2为目标账号,第一异构系统为社交软件1,第二异构系统为社交软件2,社社交软件1和社交软件2之间通过互通后台进行通信。社交软件1中的账号a通过其好友列表查找到被分享用户账号,通过点击被分享用户账号中的“名片”选项,获取被分享用户账号的用户名片,再通过点击图3a中“发送到社交软件2”以及图3b中“发送用户名片到社交软件2”触发第一用户账号生成该分享请求。Next, the method for sharing business cards and adding friends provided by the embodiments of the present application will be introduced in combination with actual application scenarios. In this application scenario, account a in social software 1 shares account b in social software 1 with account 2 in social software 2 through account 1 in social software 2 . Wherein, the account a in the social software 1 is the first user account, the account b in the social software 1 is the shared user account, the account 1 in the social software 2 is the second user account, and the account 2 in the social software 2 is the target Account, the first heterogeneous system is social software 1, the second heterogeneous system is social software 2, and the social social software 1 and the social software 2 communicate through an interworking background. The account a in the social software 1 finds the shared user account through its friend list, obtains the user card of the shared user account by clicking the "Business Card" option in the shared user account, and then clicks "Send to social media" in Figure 3a. Software 2" and "send user card to social software 2" in FIG. 3b trigger the first user account to generate the sharing request.
社交软件1和社交软件2之间通过互通后台进行通信的架构图可以参见图13所示,包括社交软件1的后台1301、互通系统1302、社交软件2的后台1303、社交软件1的客户端1304、数据通道1305和社交软件2的客户端1306,其中,后台1301的社交软件1的接入层与后台1303的社交软件2的接入层通过互通系统1302的接入层进行通信。社交软件1的后台1301负责与社交软件1的客户端1304、互通系统1302之间的交互逻辑和数据处理,可以管理社交软件1的客户端1304中所涉及的账户、群逻辑、通知、消息、好友资料等;互通系统1302负责多个异构系统的逻辑处理和数据存储,比如异构账号管理、消息逻辑、群逻辑等,可以通过扩展逻辑模块,实现其他的需要在异构系统之间扭转的功能;本实施例重点介绍异构账号管理和消息互通的中枢能力;社交软件2的后台1303负责与社交软件2的客户端1306、互通系统1302之间的交互逻辑和数据处理,可以管理社交软件2的客户端1306中所涉及的账户、群逻辑、通知、消息、好友资料等。Figure 13 shows the architecture diagram of the communication between social software 1 and social software 2 through the interworking backend, including the backend 1301 of social software 1, the interworking system 1302, the backend 1303 of social software 2, and the client 1304 of social software 1 , the data channel 1305 and the client 1306 of the social software 2, wherein the access layer of the social software 1 of the background 1301 communicates with the access layer of the social software 2 of the background 1303 through the access layer of the interworking system 1302. The background 1301 of the social software 1 is responsible for the interaction logic and data processing with the client 1304 of the social software 1 and the interworking system 1302, and can manage the accounts, group logic, notifications, messages, Friends information, etc.; the interworking system 1302 is responsible for the logic processing and data storage of multiple heterogeneous systems, such as heterogeneous account management, message logic, group logic, etc., and other needs can be reversed between heterogeneous systems by extending logic modules. This embodiment focuses on the central capability of heterogeneous account management and message intercommunication; the background 1303 of the social software 2 is responsible for the interaction logic and data processing with the client 1306 of the social software 2 and the intercommunication system 1302, and can manage social Accounts, group logic, notifications, messages, friend profiles, etc. involved in the client 1306 of Software 2.
社交软件1的客户端1304负责对外用户名片界面、卡片信息、社交软件2的SDK调用管理、好友逻辑管理等逻辑处理和用户界面(User Interface,简称UI)展示,在本实施例主要提供对外用户名片界面,从而使得社交软件1中的账号a可以获取社交软件1中的账号b的用户名片,并对其进行后续操作得到名片信息,名片信息可以通过调用社交软件2的SDK通过数据通道1305将名片信息传递给社交软件2的客户端1306。社交软件2的客户端1306负责名片信息、SDK调用处理、资料管理(提供资料界面)、添加好友等逻辑处理和UI展示(例如可以提供会话界面)。The client 1304 of the social software 1 is responsible for logic processing such as business card interface, card information, SDK call management of the social software 2, friend logic management, and user interface (User Interface, UI for short) display. In this embodiment, it mainly provides external users Business card interface, so that account a in social software 1 can obtain the user card of account b in social software 1, and perform subsequent operations on it to obtain business card information. The business card information is transmitted to the client 1306 of the social software 2 . The client 1306 of the social software 2 is responsible for business card information, SDK calling processing, data management (providing a data interface), adding friends and other logic processing and UI display (for example, a conversation interface can be provided).
参见图14,图14示出了用户名片分享和添加好友方法的流程图,所述方法包括:Referring to Fig. 14, Fig. 14 shows a flowchart of a method for sharing and adding friends of a user's business card, the method includes:
S1401、社交软件1中的账号a获取社交软件1中的账号b的用户名片。S1401 , the account a in the social software 1 obtains the user card of the account b in the social software 1 .
S1402、社交软件1中的账号a生成用于将用户名片向社交软件2中的账号2分享的分享请求。S1402 , the account a in the social software 1 generates a sharing request for sharing the user card with the account 2 in the social software 2 .
S1403、社交软件1中的账号a向互通系统发送分享请求。S1403, the account a in the social software 1 sends a sharing request to the interworking system.
S1404、互通系统根据分享请求创建名片信息。S1404, the interworking system creates business card information according to the sharing request.
S1405、互通系统向社交软件1的后台发送名片信息。S1405 , the intercommunication system sends business card information to the background of the social software 1 .
S1406、社交软件1的后台向社交软件1中的账号a发送名片信息S1406, the background of the social software 1 sends the business card information to the account a in the social software 1
S1407、社交软件1中的账号a通过SDK接口跳转到社交软件2,并向社交软件2中的账号1发送名片信息。S1407 , the account a in the social software 1 jumps to the social software 2 through the SDK interface, and sends the business card information to the account 1 in the social software 2 .
S1408、社交软件2中的账号1解析得到名片信息,选择转发给社交软件2中的好友账号2。S1408 , the account 1 in the social software 2 parses to obtain the business card information, and selects and forwards it to the friend account 2 in the social software 2 .
S1409、社交软件2中的账号1向社交软件2的后台发送生成账号2的加密ticket。S1409 , the account 1 in the social software 2 sends an encrypted ticket for generating the account 2 to the background of the social software 2 .
S1410、社交软件2的后台校验社交软件2中的账号1和社交软件1中的账号a是否为账号绑定关系,若是,执行S1411。S1410. The background of the social software 2 verifies whether the account 1 in the social software 2 and the account a in the social software 1 are in an account binding relationship, and if so, execute S1411.
S1411、社交软件2的后台向互通后台发送账号2的加密ticket。S1411 , the backend of the social software 2 sends the encrypted ticket of the account 2 to the intercommunication backend.
S1412、互通后台生成第一标识对应的加密ticket。S1412. The interworking background generates an encrypted ticket corresponding to the first identifier.
S1413、互通后台向社交软件2中的账号2发送第一标识对应的加密ticket。S1413: The intercommunication background sends an encrypted ticket corresponding to the first identifier to the account 2 in the social software 2.
S1414、社交软件2中的账号2生成添加好友请求。S1414, the account 2 in the social software 2 generates a request for adding a friend.
S1415、社交软件2中的账号2向社交软件2的后台发送添加好友请求。S1415 , the account 2 in the social software 2 sends a request for adding a friend to the background of the social software 2 .
S1416、社交软件2的后台校验社交软件2中的账号1和账号2是否为好友关系,若是,则执行S1417。S1416 , the background of the social software 2 verifies whether the account 1 and the account 2 in the social software 2 are friends, and if so, execute S1417 .
S1417、社交软件2的后台向互通系统发送添加好友请求。S1417 , the background of the social software 2 sends a request for adding a friend to the intercommunication system.
S1418、互通系统解密第一标识对应的加密ticket,并向社交软件1的后台发送第一标识。S1418 , the interworking system decrypts the encrypted ticket corresponding to the first identifier, and sends the first identifier to the background of the social software 1 .
S1419、社交软件1的后台根据第一标识验证账号1,并根据分享关系链验证账号1是否为合法用户账号,若账号1是目标账号标识的用户账号,且为合法用户账号,执行S1420。S1419. The background of the social software 1 verifies the account 1 according to the first identifier, and verifies whether the account 1 is a legal user account according to the sharing relationship chain. If the account 1 is the user account identified by the target account and is a legal user account, perform S1420.
验证社交软件2中的账号1是否为合法用户账号包括验证社交软件1中的账号a和账号b是否为好友关系,以及验证社交软件1中的账号a与社交软件2中的账号1是否为账号绑定关系。Verifying whether account 1 in social software 2 is a legitimate user account includes verifying whether account a and account b in social software 1 are friends, and verifying whether account a in social software 1 and account 1 in social software 2 are accounts. binding relationship.
S1420、社交软件1的后台继续向社交软件1的账号b发送添加好友请求,并向社交软件2中的账号2发出通知信息。S1420 , the background of the social software 1 continues to send a friend addition request to the account b of the social software 1 , and sends notification information to the account 2 of the social software 2 .
可以理解的是,S1414-S1420相当于S1002中目标用户账号根据名片信息向被分享用户账号发起添加好友请求的完整过程。It can be understood that S1414-S1420 are equivalent to the complete process in S1002 in which the target user account initiates a request for adding a friend to the shared user account according to the business card information.
S1421、社交软件2中的账号2等待社交软件1中的账号b的添加成功消息。S1421 , the account 2 in the social software 2 waits for the successful addition of the account b in the social software 1 .
S1422、社交软件1中的账号b同意社交软件2中的账号2的添加好友请求。S1422 , the account b in the social software 1 agrees to the request for adding a friend of the account 2 in the social software 2 .
S1423、社交软件1中的账号b向社交软件2中的账号2发送添加成功信息。S1423 , the account b in the social software 1 sends the addition success information to the account 2 in the social software 2 .
S1424、社交软件2中的账号2将社交软件1中的账号b加入好友关系列表。S1424, the account 2 in the social software 2 adds the account b in the social software 1 to the friend relationship list.
其中,S1401-S1413是用户名片分享过程,S1414-S1424是根据名片信息添加好友过程。Among them, S1401-S1413 are the user card sharing process, and S1414-S1424 are the process of adding friends according to the business card information.
基于图2对应的实施例,本申请提供一种用户名片分享装置,参见图15a,所述装置包括第一获取单元1501、显示单元1502、第二获取单元1503和分享单元1504:Based on the embodiment corresponding to FIG. 2 , the present application provides a user card sharing device. Referring to FIG. 15 a , the device includes a first obtaining unit 1501 , a display unit 1502 , a second obtaining unit 1503 and a sharing unit 1504 :
所述第一获取单元1501,用于获取被分享用户账号的用户名片;所述被分享用户通过账号属于第一异构系统;The first obtaining unit 1501 is configured to obtain the user card of the shared user account; the shared user belongs to the first heterogeneous system through the account;
所述显示单元1502,用于显示目标用户选择界面;所述第二获取单元1503,用于通过在所述目标用户选择界面上触发的选择操作,获取目标账号;所述目标账号属于第二异构系统;The display unit 1502 is used to display the target user selection interface; the second acquisition unit 1503 is used to obtain the target account through a selection operation triggered on the target user selection interface; the target account belongs to the second system;
所述分享单元1504,用于向所述目标账号分享所述用户名片。The sharing unit 1504 is configured to share the user card with the target account.
在一种可能的实现方式中,所述用户名片中还包括目标资源,所述目标资源用于提高所述用户名片在所述目标账号中被点击的概率。In a possible implementation manner, the user card further includes a target resource, and the target resource is used to increase the probability that the user card is clicked in the target account.
在一种可能的实现方式中,所述第一用户账号分享的所述用户名片具体为名片信息,所述名片信息包括分享所述用户名片所涉及账号间关系信息的分享关系链,所述目标账号获取的所述名片信息中包括根据所述分享关系链确定的第一标识,所述第一标识用于标识所述目标账号具有对所述被分享用户账号添加好友的权限。In a possible implementation manner, the user business card shared by the first user account is specifically business card information, and the business card information includes a sharing relationship chain of relationship information between accounts involved in sharing the user business card, and the target The business card information obtained by the account includes a first identifier determined according to the sharing relationship chain, where the first identifier is used to identify that the target account has the authority to add friends to the shared user account.
在一种可能的实现方式中,所述第一用户账号与所述被分享用户账号为好友关系,或者,所述第一用户账号为所述被分享用户账号。In a possible implementation manner, the first user account and the shared user account are in a friend relationship, or the first user account is the shared user account.
在一种可能的实现方式中,所述名片信息是通过下述方式获得:In a possible implementation manner, the business card information is obtained in the following manner:
所述第一用户账号生成用于将所述用户名片向所述目标账号分享的分享请求;所述分享请求包括所述分享关系链;所述第一用户账号获取根据所述分享请求创建的名片信息。The first user account generates a sharing request for sharing the user business card with the target account; the sharing request includes the sharing relationship chain; the first user account obtains the business card created according to the sharing request information.
在一种可能的实现方式中,所述第一用户账号属于所述第一异构系统,所述目标账号为目标用户账号,所述目标用户账号与所述第一用户账号间具有账号绑定关系或好友关系,所述第一用户账号向所述目标账号分享的名片信息还包括所述第一标识。In a possible implementation manner, the first user account belongs to the first heterogeneous system, the target account is a target user account, and there is account binding between the target user account and the first user account relationship or friend relationship, the business card information shared by the first user account with the target account also includes the first identifier.
在一种可能的实现方式中,所述第一用户账号属于所述第一异构系统,所述目标账号为目标用户账号,属于所述第二异构系统的第二用户账号与所述第一用户账号间为账号绑定关系;所述分享单元1504,具体用于:In a possible implementation manner, the first user account belongs to the first heterogeneous system, the target account is a target user account, and the second user account belonging to the second heterogeneous system is the same as the second user account. A user account is an account binding relationship; the sharing unit 1504 is specifically used for:
所述第一用户账号向所述第二用户账号分享所述名片信息,以使得所述第二用户账号根据所述分享关系链获取所述第一标识,并将携带所述第一标识的所述名片信息分享至所述目标用户账号。The first user account shares the business card information with the second user account, so that the second user account obtains the first identifier according to the sharing relationship chain, and will carry all the information of the first identifier. The business card information is shared to the target user account.
在一种可能的实现方式中,所述分享单元1504,具体用于:In a possible implementation manner, the sharing unit 1504 is specifically configured to:
所述第一用户账号通过第一异构系统调用第二异构系统的接口,并向所述第二用户账号转发封装为符合所述接口的数据格式的所述名片信息。The first user account calls the interface of the second heterogeneous system through the first heterogeneous system, and forwards the business card information encapsulated in a data format conforming to the interface to the second user account.
在一种可能的实现方式中,所述第一用户账号向所述目标账号分享的名片信息还包括根据所述分享关系链确定的第二标识,所述第二标识用于标识所述第二用户账号具有对所述被分享用户账号添加好友的权限。In a possible implementation manner, the business card information shared by the first user account with the target account further includes a second identifier determined according to the sharing relationship chain, where the second identifier is used to identify the second identifier The user account has the right to add friends to the shared user account.
在一种可能的实现方式中,所述第一用户账号属于第二异构系统,所述目标账号为目标用户账号,所述目标用户账号与所述第一用户账号间为好友关系,所述第一用户账号向所述目标账号分享的名片信息还包括所述第一标识。In a possible implementation manner, the first user account belongs to a second heterogeneous system, the target account is a target user account, and the target user account and the first user account are in a friend relationship, and the The business card information shared by the first user account with the target account further includes the first identifier.
在一种可能的实现方式中,所述第一用户账号属于第一异构系统或第二异构系统,所述目标账号为目标群账号,且所述第一用户账号为所述目标群账号所对应群中的群成员,所述第一用户账号向所述目标账号分享的名片信息还包括所述第一标识。In a possible implementation manner, the first user account belongs to a first heterogeneous system or a second heterogeneous system, the target account is a target group account, and the first user account is the target group account For the group members in the corresponding group, the business card information shared by the first user account with the target account also includes the first identifier.
在一种可能的实现方式中,所述名片信息中包括由所述第一用户账号添加的第一标识。In a possible implementation manner, the business card information includes a first identifier added by the first user account.
在一种可能的实现方式中,所述第一用户账号属于所述第一异构系统,所述目标账号为目标群账号,属于所述第二异构系统的第二用户账号与所述第一用户账号间为账号绑定关系,且所述第二用户账号为所述目标群账号所对应群中的群成员;所述分享单元1504,具体用于:In a possible implementation manner, the first user account belongs to the first heterogeneous system, the target account is a target group account, and the second user account belonging to the second heterogeneous system is associated with the first heterogeneous system. A user account is an account binding relationship, and the second user account is a group member in the group corresponding to the target group account; the sharing unit 1504 is specifically used for:
所述第一用户账号向所述第二用户账号分享所述名片信息,以使得所述第二用户账号根据所述分享关系链获取所述第一标识,并将携带所述第一标识的所述名片信息分享至所述目标群账号。The first user account shares the business card information with the second user account, so that the second user account obtains the first identifier according to the sharing relationship chain, and will carry all the information of the first identifier. The business card information is shared to the target group account.
在一种可能的实现方式中,参见图15b,所述装置还包括发送单元1505:In a possible implementation, referring to FIG. 15b, the apparatus further includes a sending unit 1505:
所述发送单元1505,用于向互通系统发送所述分享请求;所述互通系统具有所述第一异构系统和所述第二异构系统的数据处理逻辑;The sending unit 1505 is configured to send the sharing request to the interworking system; the interworking system has the data processing logic of the first heterogeneous system and the second heterogeneous system;
所述第二获取单元1503,还用于:The second obtaining unit 1503 is further configured to:
获取所述互通系统根据所述分享请求所创建的符合所述第一异构系统和所述第二异构系统的数据处理逻辑的名片信息。Obtain business card information that is created by the interworking system according to the sharing request and conforms to the data processing logic of the first heterogeneous system and the second heterogeneous system.
基于图10对应的实施例,本申请提供一种添加好友装置,参见图16a,所述装置包括第一获取单元1601、发送单元1602和第二获取单元1603:Based on the embodiment corresponding to FIG. 10 , the present application provides an apparatus for adding friends. Referring to FIG. 16 a , the apparatus includes a first obtaining unit 1601 , a sending unit 1602 and a second obtaining unit 1603 :
所述第一获取单元1601,用于获取第一用户账号分享的用户名片,所述被分享用户账号属于第一异构系统;The first obtaining unit 1601 is configured to obtain a user card shared by a first user account, where the shared user account belongs to the first heterogeneous system;
所述发送单元1602,用于根据所述用户名片向所述被分享用户账号发起添加好友请求;The sending unit 1602 is configured to initiate an add friend request to the shared user account according to the user card;
所述第二获取单元1603,用于获取从所述第一异构系统发出的通知信息,所述通知信息用于标识所述添加好友请求被推送至所述被分享用户账号。The second obtaining unit 1603 is configured to obtain notification information sent from the first heterogeneous system, where the notification information is used to identify that the request for adding a friend is pushed to the shared user account.
在一种可能的实现方式中,所述用户名片具体为名片信息,所述名片信息包括第一标识,所述第一标识用于标识目标账号具有对所述被分享用户账号添加好友的权限;In a possible implementation manner, the user business card is specifically business card information, and the business card information includes a first identifier, and the first identifier is used to identify that the target account has the right to add friends to the shared user account;
所述添加好友请求还包括所述第一标识;The adding friend request further includes the first identifier;
所述第二获取单元1603,还用于若所述目标用户账号被通过所述第一标识确定为所述目标账号标识的用户账号,或者为所述目标账号所标识群中的群成员,执行所述目标用户账号获取从所述第一异构系统发出的通知信息的步骤。The second obtaining unit 1603 is further configured to, if the target user account is determined to be a user account identified by the target account through the first identification, or a group member in a group identified by the target account, execute: The step of acquiring, by the target user account, notification information sent from the first heterogeneous system.
在一种可能的实现方式中,所述添加好友请求还包括所述名片信息的名片标识,所述名片信息还包括分享被分享用户账号的用户名片所涉及账号间关系信息的分享关系链,所述第二获取单元1603,具体用于:In a possible implementation manner, the adding friend request further includes a business card identifier of the business card information, and the business card information further includes a sharing relationship chain of the relationship information between the accounts involved in sharing the business card of the user account of the shared user. The second obtaining unit 1603 is specifically used for:
若所述目标用户账号被所述第一异构系统和第二异构系统根据所述分享关系链验证为合法用户账号,所述第二获取单元1603执行从所述第二异构系统获取通知信息的步骤;所述第一异构系统和第二异构系统用于验证合法用户账号的所述分享关系链是根据所述名片标识确定的。If the target user account is verified as a legitimate user account by the first heterogeneous system and the second heterogeneous system according to the sharing relationship chain, the second obtaining unit 1603 executes obtaining a notification from the second heterogeneous system The information step; the sharing relationship chain used by the first heterogeneous system and the second heterogeneous system to verify the legal user account is determined according to the business card identifier.
在一种可能的实现方式中,参见图16b,所述装置还包括第三获取单元1604和添加单元1605:In a possible implementation, referring to FIG. 16b, the apparatus further includes a third acquiring unit 1604 and an adding unit 1605:
所述第三获取单元1604,用于获取添加成功信息,所述添加成功信息用于标识所述被分享用户账号根据所述添加好友请求添加了上述目标用户账号为好友;The third obtaining unit 1604 is configured to obtain addition success information, where the addition success information is used to identify that the shared user account has added the target user account as a friend according to the friend addition request;
所述添加单元1605,用于将所述被分享用户账号加入好友关系列表。The adding unit 1605 is configured to add the shared user account to a friend relationship list.
本申请实施例还提供了一种设备,下面结合附图对本申请实施例提供的设备进行介绍。请参见图17所示,本申请实施例提供了一种设备1700,该设备1700还可以是终端设备,该终端设备可以为包括手机、平板电脑、个人数字助理(Personal Digital Assistant,简称PDA)、销售终端(Point of Sales,简称POS)、车载电脑等任意智能终端,以终端设备为手机为例:The embodiment of the present application further provides a device, and the device provided by the embodiment of the present application will be introduced below with reference to the accompanying drawings. Referring to FIG. 17 , an embodiment of the present application provides a device 1700. The device 1700 may also be a terminal device, and the terminal device may include a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), Any intelligent terminal such as Point of Sales (POS), on-board computer, etc., taking the terminal device as a mobile phone as an example:
图17示出的是与本申请实施例提供的终端设备相关的手机的部分结构的框图。参考图17,手机包括:射频(Radio Frequency,简称RF)电路1710、存储器1720、输入单元1730、显示单元1740、传感器1750、音频电路1760、无线保真(wireless fidelity,简称WiFi)模块1770、处理器1780、以及电源1790等部件。本领域技术人员可以理解,图17中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 17 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided by an embodiment of the present application. Referring to FIG. 17 , the mobile phone includes: a radio frequency (Radio Frequency, RF for short) circuit 1710, a memory 1720, an input unit 1730, a display unit 1740, a sensor 1750, an audio circuit 1760, a wireless fidelity (WiFi for short) module 1770, a processing The device 1780, the power supply 1790 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 17 does not constitute a limitation on the mobile phone, and may include more or less components than shown, or combine some components, or arrange different components.
下面结合图17对手机的各个构成部件进行具体的介绍:The following is a detailed introduction to each component of the mobile phone with reference to Figure 17:
RF电路1710可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1780处理;另外,将设计上行的数据发送给基站。通常,RF电路1710包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,简称LNA)、双工器等。此外,RF电路1710还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,简称GSM)、通用分组无线服务(GeneralPacket Radio Service,简称GPRS)、码分多址(Code Division Multiple Access,简称CDMA)、宽带码分多址(Wideband Code Division Multiple Access,简称WCDMA)、长期演进(Long Term Evolution,简称LTE)、电子邮件、短消息服务(Short Messaging Service,简称SMS)等。The RF circuit 1710 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is processed by the processor 1780; in addition, it sends the designed uplink data to the base station. Generally, the RF circuit 1710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA for short), a duplexer, and the like. In addition, RF circuitry 1710 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM for short), General Packet Radio Service (GPRS for short), Code Division Multiple Access (Code Division Multiple Access) Division Multiple Access (CDMA for short), Wideband Code Division Multiple Access (WCDMA for short), Long Term Evolution (LTE for short), E-mail, Short Messaging Service (Short Messaging Service, SMS for short), etc. .
存储器1720可用于存储软件程序以及模块,处理器1780通过运行存储在存储器1720的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1720可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1720可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1720 can be used to store software programs and modules, and the processor 1780 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1720 . The memory 1720 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 1720 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元1730可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元1730可包括触控面板1731以及其他输入设备1732。触控面板1731,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1731上或在触控面板1731附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1780,并能接收处理器1780发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1731。除了触控面板1731,输入单元1730还可以包括其他输入设备1732。具体地,其他输入设备1732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1730 can be used to receive inputted numerical or character information, and generate key signal input related to user setting and function control of the mobile phone. Specifically, the input unit 1730 may include a touch panel 1731 and other input devices 1732 . The touch panel 1731, also known as a touch screen, can collect user touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 1731). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 1731 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 1780, and can receive the command sent by the processor 1780 and execute it. In addition, the touch panel 1731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1731 , the input unit 1730 may further include other input devices 1732 . Specifically, other input devices 1732 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.
显示单元1740可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1740可包括显示面板1741,可选的,可以采用液晶显示器(LiquidCrystal Display,简称LCD)、有机发光二极管(Organic Light-Emitting Diode,简称OLED)等形式来配置显示面板1741。进一步的,触控面板1731可覆盖显示面板1741,当触控面板1731检测到在其上或附近的触摸操作后,传送给处理器1780以确定触摸事件的类型,随后处理器1780根据触摸事件的类型在显示面板1741上提供相应的视觉输出。虽然在图17中,触控面板1731与显示面板1741是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1731与显示面板1741集成而实现手机的输入和输出功能。The display unit 1740 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 1740 may include a display panel 1741 . Optionally, the display panel 1741 may be configured in the form of a liquid crystal display (LCD for short), an organic light-emitting diode (OLED for short). Further, the touch panel 1731 can cover the display panel 1741. When the touch panel 1731 detects a touch operation on or near it, it transmits it to the processor 1780 to determine the type of the touch event, and then the processor 1780 determines the type of the touch event according to the touch event. Type provides corresponding visual output on display panel 1741. Although in FIG. 17, the touch panel 1731 and the display panel 1741 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 1731 and the display panel 1741 can be integrated to form Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器1750,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1741的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1741和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The cell phone may also include at least one sensor 1750, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 1741 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Repeat.
音频电路1760、扬声器1761,传声器1762可提供用户与手机之间的音频接口。音频电路1760可将接收到的音频数据转换后的电信号,传输到扬声器1761,由扬声器1761转换为声音信号输出;另一方面,传声器1762将收集的声音信号转换为电信号,由音频电路1760接收后转换为音频数据,再将音频数据输出处理器1780处理后,经RF电路1710以发送给比如另一手机,或者将音频数据输出至存储器1720以便进一步处理。The audio circuit 1760, the speaker 1761, and the microphone 1762 can provide an audio interface between the user and the mobile phone. The audio circuit 1760 can transmit the received audio data converted electrical signal to the speaker 1761, and the speaker 1761 converts it into a sound signal for output; on the other hand, the microphone 1762 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 1760 After receiving, it is converted into audio data, and then the audio data is output to the processor 1780 for processing, and then sent to, for example, another mobile phone through the RF circuit 1710, or the audio data is output to the memory 1720 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块1770可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图17示出了WiFi模块1770,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 1770. It provides users with wireless broadband Internet access. Although FIG. 17 shows the WiFi module 1770, it can be understood that it is not a necessary component of the mobile phone, and can be completely omitted as required within the scope of not changing the essence of the invention.
处理器1780是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1720内的软件程序和/或模块,以及调用存储在存储器1720内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1780可包括一个或多个处理单元;优选的,处理器1780可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1780中。The processor 1780 is the control center of the mobile phone, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 1720, and calling the data stored in the memory 1720. Various functions of the mobile phone and processing data, so as to monitor the mobile phone as a whole. Optionally, the processor 1780 may include one or more processing units; preferably, the processor 1780 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1780.
手机还包括给各个部件供电的电源1790(比如电池),优选的,电源可以通过电源管理系统与处理器1780逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 1790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 1780 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, and the like, which will not be repeated here.
在本实施例中,该终端设备所包括的处理器1780还具有以下功能:In this embodiment, the processor 1780 included in the terminal device also has the following functions:
第一用户账号获取被分享用户账号的用户名片;所述被分享用户账号属于第一异构系统;The first user account obtains the user card of the shared user account; the shared user account belongs to the first heterogeneous system;
所述第一用户账号显示目标用户选择界面,并通过在所述目标用户选择界面上触发的选择操作,获取目标账号;所述目标账号属于第二异构系统;The first user account displays a target user selection interface, and obtains a target account through a selection operation triggered on the target user selection interface; the target account belongs to the second heterogeneous system;
所述第一用户账号向所述目标账号分享所述用户名片。The first user account shares the user card with the target account.
或,or,
属于第二异构系统的目标用户账号获取第一用户账号分享的用户名片,所述被分享用户账号属于第一异构系统;The target user account belonging to the second heterogeneous system obtains the user card shared by the first user account, and the shared user account belongs to the first heterogeneous system;
所述目标用户账号根据所述用户名片向所述被分享用户账号发起添加好友请求;The target user account initiates a friend addition request to the shared user account according to the user card;
所述目标用户账号获取从所述第一异构系统发出的通知信息,所述通知信息用于标识所述添加好友请求被推送至所述被分享用户账号。The target user account acquires notification information sent from the first heterogeneous system, where the notification information is used to identify that the friend addition request is pushed to the shared user account.
本申请实施例还提供一种服务器,请参见图18所示,图18为本申请实施例提供的服务器1800的结构图,服务器1800可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(Central Processing Units,简称CPU)1822(例如,一个或一个以上处理器)和存储器1832,一个或一个以上存储应用程序1842或数据1844的存储介质1830(例如一个或一个以上海量存储设备)。其中,存储器1832和存储介质1830可以是短暂存储或持久存储。存储在存储介质1830的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1822可以设置为与存储介质1830通信,在服务器1800上执行存储介质1830中的一系列指令操作。An embodiment of the present application also provides a server. Please refer to FIG. 18 . FIG. 18 is a structural diagram of a server 1800 provided by an embodiment of the present application. The server 1800 may vary greatly due to different configurations or performance, and may include a or one or more Central Processing Units (CPU) 1822 (eg, one or more processors) and memory 1832, and one or more storage media 1830 (eg, one or more storage media 1844) storing application programs 1842 or data 1844 mass storage devices). Among them, the memory 1832 and the storage medium 1830 may be short-term storage or persistent storage. The program stored in the storage medium 1830 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 1822 may be configured to communicate with the storage medium 1830 to execute a series of instruction operations in the storage medium 1830 on the server 1800 .
服务器1800还可以包括一个或一个以上电源1826,一个或一个以上有线或无线网络接口1850,一个或一个以上输入输出接口1858,和/或,一个或一个以上操作系统1841,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。Server 1800 may also include one or more power supplies 1826, one or more wired or wireless network interfaces 1850, one or more input and output interfaces 1858, and/or, one or more operating systems 1841, such as Windows Server™, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and so on.
上述实施例中由服务器所执行的步骤可以基于该图18所示的服务器结构。The steps performed by the server in the above embodiment may be based on the server structure shown in FIG. 18 .
本申请实施例还提供一种计算机可读存储介质,用于存储程序代码,该程序代码用于执行前述各个实施例所述方法中的任意一种实施方式。Embodiments of the present application further provide a computer-readable storage medium for storing program codes, where the program codes are used to execute any one of the implementation manners of the methods described in the foregoing embodiments.
本申请的说明书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the application described herein can, for example, be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。It should be understood that, in this application, "at least one (item)" refers to one or more, and "a plurality" refers to two or more. "And/or" is used to describe the relationship between related objects, indicating that there can be three kinds of relationships, for example, "A and/or B" can mean: only A, only B, and both A and B exist , where A and B can be singular or plural. The character "/" generally indicates that the related objects are an "or" relationship. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (a) of a, b or c, can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c" ", where a, b, c can be single or multiple.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM for short), Random Access Memory (RAM for short), magnetic disk or CD, etc. that can store program codes medium.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application.
Claims (22)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910319328.2A CN110035004B (en) | 2019-04-19 | 2019-04-19 | A user card sharing method, friend adding method and related device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910319328.2A CN110035004B (en) | 2019-04-19 | 2019-04-19 | A user card sharing method, friend adding method and related device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110035004A true CN110035004A (en) | 2019-07-19 |
| CN110035004B CN110035004B (en) | 2021-03-02 |
Family
ID=67239338
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910319328.2A Active CN110035004B (en) | 2019-04-19 | 2019-04-19 | A user card sharing method, friend adding method and related device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110035004B (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111490931A (en) * | 2020-04-14 | 2020-08-04 | 腾讯科技(深圳)有限公司 | Session management method, device, session management equipment and storage medium |
| CN112260929A (en) * | 2019-07-22 | 2021-01-22 | 腾讯科技(深圳)有限公司 | Content sharing method and device, terminal and storage medium |
| CN112291137A (en) * | 2020-11-11 | 2021-01-29 | 恩亿科(北京)数据科技有限公司 | Method and device for adding new friends to enterprise-level communication software |
| CN113992650A (en) * | 2020-07-10 | 2022-01-28 | 腾讯科技(深圳)有限公司 | File processing method and device, electronic equipment and computer readable storage medium |
| CN114448924A (en) * | 2020-10-30 | 2022-05-06 | 腾讯科技(深圳)有限公司 | User group upgrading method, device, equipment and storage medium |
| CN114463137A (en) * | 2022-02-09 | 2022-05-10 | 中国银行股份有限公司 | Method and system for processing business card of financial account manager |
| CN114465968A (en) * | 2020-10-22 | 2022-05-10 | 华为技术有限公司 | Cross-application interconnection method between different devices and related device |
| CN114726815A (en) * | 2022-04-08 | 2022-07-08 | 北京英斯泰科技有限公司 | Social information sharing method and device, electronic equipment and computer storage medium |
| CN115499406A (en) * | 2021-06-02 | 2022-12-20 | 上海掌门科技有限公司 | A method, device, medium and program product for generating community business cards |
| US12301524B2 (en) | 2020-10-22 | 2025-05-13 | Huawei Technologies Co., Ltd. | Method for cross-application interconnection between different devices and related apparatus |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104079548A (en) * | 2013-04-27 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Electronic business card management method, device, server and communication system |
| CN104869143A (en) * | 2014-02-26 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Data sharing method and device, client and server |
| CN104967525A (en) * | 2014-09-10 | 2015-10-07 | 腾讯科技(深圳)有限公司 | News sharing method, apparatus and system |
| WO2017149533A1 (en) * | 2016-03-03 | 2017-09-08 | Aish Ofer | Contact information bridge/middleware/platform |
| CN107800815A (en) * | 2017-08-31 | 2018-03-13 | 天脉聚源(北京)科技有限公司 | A kind of good friend's adding method and device |
| CN107819735A (en) * | 2016-09-14 | 2018-03-20 | 腾讯科技(深圳)有限公司 | A kind of information processing method and system |
| CN109445963A (en) * | 2018-11-05 | 2019-03-08 | 北京达佳互联信息技术有限公司 | Content share method, device, equipment and computer readable storage medium |
-
2019
- 2019-04-19 CN CN201910319328.2A patent/CN110035004B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104079548A (en) * | 2013-04-27 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Electronic business card management method, device, server and communication system |
| CN104869143A (en) * | 2014-02-26 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Data sharing method and device, client and server |
| CN104967525A (en) * | 2014-09-10 | 2015-10-07 | 腾讯科技(深圳)有限公司 | News sharing method, apparatus and system |
| WO2017149533A1 (en) * | 2016-03-03 | 2017-09-08 | Aish Ofer | Contact information bridge/middleware/platform |
| CN107819735A (en) * | 2016-09-14 | 2018-03-20 | 腾讯科技(深圳)有限公司 | A kind of information processing method and system |
| CN107800815A (en) * | 2017-08-31 | 2018-03-13 | 天脉聚源(北京)科技有限公司 | A kind of good friend's adding method and device |
| CN109445963A (en) * | 2018-11-05 | 2019-03-08 | 北京达佳互联信息技术有限公司 | Content share method, device, equipment and computer readable storage medium |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112260929A (en) * | 2019-07-22 | 2021-01-22 | 腾讯科技(深圳)有限公司 | Content sharing method and device, terminal and storage medium |
| CN111490931A (en) * | 2020-04-14 | 2020-08-04 | 腾讯科技(深圳)有限公司 | Session management method, device, session management equipment and storage medium |
| CN111490931B (en) * | 2020-04-14 | 2021-10-15 | 腾讯科技(深圳)有限公司 | Session management method, device, session management equipment and storage medium |
| CN113992650A (en) * | 2020-07-10 | 2022-01-28 | 腾讯科技(深圳)有限公司 | File processing method and device, electronic equipment and computer readable storage medium |
| CN113992650B (en) * | 2020-07-10 | 2023-11-28 | 腾讯科技(深圳)有限公司 | File processing method, device, electronic equipment and computer readable storage medium |
| US12301524B2 (en) | 2020-10-22 | 2025-05-13 | Huawei Technologies Co., Ltd. | Method for cross-application interconnection between different devices and related apparatus |
| CN114465968A (en) * | 2020-10-22 | 2022-05-10 | 华为技术有限公司 | Cross-application interconnection method between different devices and related device |
| CN114448924A (en) * | 2020-10-30 | 2022-05-06 | 腾讯科技(深圳)有限公司 | User group upgrading method, device, equipment and storage medium |
| CN112291137A (en) * | 2020-11-11 | 2021-01-29 | 恩亿科(北京)数据科技有限公司 | Method and device for adding new friends to enterprise-level communication software |
| CN115499406A (en) * | 2021-06-02 | 2022-12-20 | 上海掌门科技有限公司 | A method, device, medium and program product for generating community business cards |
| CN115499406B (en) * | 2021-06-02 | 2024-07-12 | 上海掌门科技有限公司 | A method, device and medium for generating community business cards |
| CN114463137A (en) * | 2022-02-09 | 2022-05-10 | 中国银行股份有限公司 | Method and system for processing business card of financial account manager |
| CN114726815A (en) * | 2022-04-08 | 2022-07-08 | 北京英斯泰科技有限公司 | Social information sharing method and device, electronic equipment and computer storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110035004B (en) | 2021-03-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110035004B (en) | A user card sharing method, friend adding method and related device | |
| CN113645612B (en) | Communication method and device | |
| CN106302325B (en) | The methods, devices and systems of specified communication service are provided | |
| CN111416867B (en) | Message processing method, server and computer storage medium between different devices | |
| CN105337843B (en) | Interactive system, method, client and background server | |
| US10069872B2 (en) | Architecture to establish serverless WebRTC connections | |
| US20190306277A1 (en) | Interaction between devices displaying application status information | |
| CN112087362B (en) | Message forwarding method and device between clients and terminal | |
| CN111064713B (en) | Node control method and related device in distributed system | |
| CN107124278A (en) | Business processing method, device and data sharing system | |
| CN104917796B (en) | Credit accounts creating device, system and method | |
| US9503410B2 (en) | Sharing of activity metadata via messaging systems | |
| CN107615705B (en) | Method, server, and communication device for asset authentication in dynamic proximity-based networks | |
| CN106534324B (en) | Data sharing method and cloud server | |
| CN107483320B (en) | Group creation method and server | |
| CN104616143B (en) | Method and device for transferring virtual notes in social applications | |
| CN108810123A (en) | The method and apparatus for opening mobile cellular network service | |
| CN104954233A (en) | Information push method, device and system | |
| CN110582998A (en) | Group communication method and device, computer storage medium and computer equipment | |
| CN112346751A (en) | Application program installation method and device, electronic equipment and storage medium | |
| CN106779648A (en) | A kind of network data sending method and mobile terminal | |
| CN113329100B (en) | Message pushing method, device and system | |
| CN105897567A (en) | Information sharing method and device | |
| CN108156071A (en) | To method, terminal device and the computer readable storage medium of community's addition member | |
| CN115696463A (en) | Multi-terminal joint session management method, network side device and terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |