[go: up one dir, main page]

CN106411703A - Information synchronization method and apparatus - Google Patents

Information synchronization method and apparatus Download PDF

Info

Publication number
CN106411703A
CN106411703A CN201610828044.2A CN201610828044A CN106411703A CN 106411703 A CN106411703 A CN 106411703A CN 201610828044 A CN201610828044 A CN 201610828044A CN 106411703 A CN106411703 A CN 106411703A
Authority
CN
China
Prior art keywords
target
terminal
cohesion
friend
targeted customer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610828044.2A
Other languages
Chinese (zh)
Other versions
CN106411703B (en
Inventor
蒋杨洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610828044.2A priority Critical patent/CN106411703B/en
Publication of CN106411703A publication Critical patent/CN106411703A/en
Application granted granted Critical
Publication of CN106411703B publication Critical patent/CN106411703B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses an information synchronization method and apparatus. The information synchronization method comprises the following steps: acquiring chat information on a target user on a first terminal with a target friend by using a target account; acquiring target intimacy between the target user and the target friend; if the target intimacy satisfies a preset information synchronization condition, synchronizing the chat information to a second terminal logging in the target account. By adoption of the information synchronization method and apparatus disclosed by the invention, the chat information can be distinctively synchronized based on the intimacy of the target user and different friends, thereby improving the privacy of the chat information between close friends.

Description

一种信息同步方法及装置A method and device for information synchronization

技术领域technical field

本发明涉及通信网络技术领域,尤其涉及一种信息同步方法及装置。The invention relates to the technical field of communication networks, in particular to an information synchronization method and device.

背景技术Background technique

随着各种即时通讯应用的使用,给用户带来了很多方便,用户可以在任何时间任何地点和任意一个或者多个好友聊天,基于用户与各个好友之间的关系不同,聊天信息的内容也不尽相同,各种聊天信息五花八门,有私密的,也有公开的,比如,在公司上班聊天信息可以是同事之间交流工作事情,下班路上或者回家,聊天信息可以是恋人之间的谈情说爱,或者也可以是闺蜜之间说点悄悄话等等。With the use of various instant messaging applications, a lot of convenience has been brought to users. Users can chat with any one or more friends at any time and place. Based on the relationship between the user and each friend, the content of the chat information is different There are different kinds of chat information, some private and some public. For example, chat information at work in the company can be exchanged work matters between colleagues, on the way home from get off work or home, and chat information can be a love affair between lovers. Say love, or it can also be a little whisper between girlfriends and so on.

现有技术中,通常一个帐号的所有聊天信息(包括与各个好友之间的所有聊天信息)可以在登录该帐号的任意终端设备上面进行同步,这种方式私密性比较差,比如,某人在外面通过手机的即时通讯应用与闺蜜之间说说悄悄话,同时该帐号在家里电脑也登录,因此用户与闺蜜之间的悄悄话全都同步至家里电脑,家人都可以看到,这样破坏了用户聊天信息的隐秘性。In the prior art, usually all chat information of an account (including all chat information with various friends) can be synchronized on any terminal device logged into the account. This method has poor privacy. For example, someone is in Outside, the instant messaging application on the mobile phone is used to chat with the girlfriends, and at the same time, the account is also logged on the home computer, so all the private messages between the user and the girlfriends are synchronized to the home computer, and the family members can see it, which destroys the user’s chat information. of secrecy.

发明内容Contents of the invention

本发明实施例提供一种信息同步方法及装置,可基于目标用户与不同好友之间的亲密度区别化同步聊天信息,提高亲密好友之间聊天信息的隐秘性。Embodiments of the present invention provide an information synchronization method and device, which can distinguish and synchronize chat information based on the intimacy between a target user and different friends, and improve the confidentiality of chat information between close friends.

本发明实施例第一方面提供一种信息同步方法,其可包括:The first aspect of the embodiments of the present invention provides an information synchronization method, which may include:

获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息;Acquiring the chat information of the target user and the target friend on the first terminal using the target account;

获取所述目标用户与所述目标好友之间的目标亲密度;Acquiring the target intimacy between the target user and the target friend;

若所述目标亲密度满足预设信息同步条件,则将所述聊天信息同步至登录所述目标帐号的第二终端。If the target intimacy satisfies a preset information synchronization condition, the chat information is synchronized to the second terminal logged into the target account.

本发明实施例第二方面提供一种信息同步装置,其可包括:The second aspect of the embodiment of the present invention provides an information synchronization device, which may include:

第一获取单元,用于获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息;The first obtaining unit is used to obtain the chat information of the target user and the target friend on the first terminal using the target account;

第二获取单元,用于获取所述目标用户与所述目标好友之间的目标亲密度;A second acquiring unit, configured to acquire a target intimacy between the target user and the target friend;

同步单元,用于若所述目标亲密度满足预设信息同步条件,则将所述聊天信息同步至登录所述目标帐号的第二终端。A synchronization unit, configured to synchronize the chat information to the second terminal logged into the target account if the target intimacy satisfies a preset information synchronization condition.

本发明第三方面提供一种信息同步装置,包括:The third aspect of the present invention provides an information synchronization device, including:

处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行第一方面所描述的信息方法的部分或者全部步骤。A processor and a memory; wherein, the processor executes part or all of the steps of the information method described in the first aspect by invoking codes or instructions in the memory.

本发明实施例中,获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息,获取该目标用户与目标好友之间的目标亲密度,若目标亲密度满足预设信息同步条件,则将该聊天信息同步至登录该目标帐号的第二终端,这种方式可以根据目标用户与目标好友之前的目标亲密度来确定是否进行聊天信息的同步,可以有效保证亲密度高的好友之间聊天信息的隐秘性。In the embodiment of the present invention, the chat information between the target user and the target friend on the first terminal using the target account is obtained, and the target intimacy between the target user and the target friend is obtained. If the target intimacy satisfies the preset information synchronization condition, then Synchronize the chat information to the second terminal that logs into the target account. This method can determine whether to synchronize the chat information according to the previous target intimacy between the target user and the target friend, which can effectively ensure chatting between friends with high intimacy. confidentiality of information.

附图说明Description of drawings

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

图1是本发明实施例提供的信息同步方法的第一实施例流程示意图;FIG. 1 is a schematic flowchart of a first embodiment of an information synchronization method provided by an embodiment of the present invention;

图2是本发明实施例提供的信息同步方法的第二实施例流程示意图;FIG. 2 is a schematic flowchart of a second embodiment of an information synchronization method provided by an embodiment of the present invention;

图3是本发明实施例提供的信息同步方法的第三实施例流程示意图;FIG. 3 is a schematic flowchart of a third embodiment of an information synchronization method provided by an embodiment of the present invention;

图4是本发明实施例提供的一种信息同步装置的结构示意图;FIG. 4 is a schematic structural diagram of an information synchronization device provided by an embodiment of the present invention;

图5是本发明实施例提供的另一种信息同步装置的结构示意图;FIG. 5 is a schematic structural diagram of another information synchronization device provided by an embodiment of the present invention;

图6是本发明实施例提供的又一种信息同步装置的结构示意图;FIG. 6 is a schematic structural diagram of another information synchronization device provided by an embodiment of the present invention;

图7是本发明实施例提供的一种系统架构图。Fig. 7 is a system architecture diagram provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

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

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

本发明实施例所描述的终端可以包括智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备(MID,MobileInternet Devices)或穿戴式设备等,上述终端仅是举例,而非穷举,包含但不限于上述终端。The terminal described in the embodiment of the present invention may include a smart phone (such as an Android phone, an iOS phone, a Windows Phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a mobile Internet device (MID, MobileInternet Devices) or a wearable device, etc. The above-mentioned terminals are only examples, not exhaustive, including but not limited to the above-mentioned terminals.

下面将结合图1至图6对本发明实施例提供的信息同步方法及装置进行具体描述。The information synchronization method and device provided by the embodiments of the present invention will be specifically described below with reference to FIG. 1 to FIG. 6 .

请参照图1,是本发明实施例提供的信息同步方法的第一实施例流程示意图。本实施例中所描述的信息同步方法,包括步骤:Please refer to FIG. 1 , which is a schematic flowchart of a first embodiment of an information synchronization method provided by an embodiment of the present invention. The information synchronization method described in this embodiment includes steps:

S101,获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息;S101. Obtain the chat information of the target user and the target friend on the first terminal using the target account;

本发明实施例中,信息交互平台指一种通过社交关系和/或共同兴趣(或共同利益)将人与人之间联系起来的网络架构,用户可以通过该信息交互平台所提供的客户端进行日常交流以及处理一些日常事务。每个用户可以拥有用于为该信息交互平台上其他用户所辨识的网络身份,该网络身份可以是用户注册时系统自动为其分配的帐号。In the embodiment of the present invention, an information interaction platform refers to a network architecture that connects people through social relationships and/or common interests (or common interests). Daily communication and handling some daily affairs. Each user may have a network identity used to be recognized by other users on the information interaction platform, and the network identity may be an account automatically assigned by the system when the user registers.

在信息交互平台上,不同用户之间可以通过互相确认的方式以建立社交关系,例如,互相加好友或互相关注等。当两个用户建立了社交关系后,他们成为彼此的社交网络联系人。一组用户可以通过自行选择的方式,以形成具有彼此之间的社交关系,从而形成一个社交群组。该群组内的每个成员都是该群组内所有其他成员的社交网络联系人,当用户之间成为社交网络联系人后即可在客户端(比如即时通讯应用)进行聊天交流。On the information interaction platform, different users can establish social relationships through mutual confirmation, for example, add friends or pay attention to each other. When two users establish a social relationship, they become each other's social network contacts. A group of users can form a social relationship with each other through self-selected methods, thus forming a social group. Each member in the group is a social network contact of all other members in the group. After users become social network contacts, they can chat and communicate on the client side (such as an instant messaging application).

信息交互平台上的每个用户均具有社交网络联系人列表,即好友列表,以供其与其列表中的好友采用即时通信消息等形式进行交流。例如,在一个社交群组内的用户可以通过信息交互平台提供的接口进行相互通信,而用户之间也可以通过信息交互平台提供的接口进行相互通信。Each user on the information interaction platform has a social network contact list, that is, a friend list, for him to communicate with the friends in the list by means of instant messaging or the like. For example, users in a social group can communicate with each other through the interface provided by the information interaction platform, and users can also communicate with each other through the interface provided by the information interaction platform.

每个用户在信息交互平台注册的帐号即成为用户的网络身份标识,用户可以在任意终端登录自己的帐号,并选择该帐号的好友列表中的任意一个好友进行交流。本发明实施例的第一终端可以是任意终端,比如智能手机、个人计算机、平板电脑等等。目标帐号可以是在信息交互平台注册的任意帐号。The account registered by each user on the information interaction platform becomes the user's network identity. The user can log in to his account at any terminal and choose any friend in the friend list of the account to communicate with. The first terminal in this embodiment of the present invention may be any terminal, such as a smart phone, a personal computer, a tablet computer, and the like. The target account may be any account registered on the information interaction platform.

在本发明的后续实施例中,将信息交互平台统称为服务器,该服务器能够实现信息交互平台的所有社交网络功能。In subsequent embodiments of the present invention, the information interaction platform is collectively referred to as a server, and the server can realize all social networking functions of the information interaction platform.

其中,目标用户采用自己的目标帐号在第一终端登录,然后与该目标帐号的好友列表中的任意好友进行聊天,服务器获取该目标帐号在第一终端上与目标好友之间的聊天信息,目标好友可以是该目标帐号的好友列表中的任意好友,聊天信息可以包括目标用户与办公室同事之间谈论的工作事情,也可以是目标用户与恋人之间的谈情说爱,也可以是目标用户与闺蜜之间说的悄悄话等等。需要说明的是,目标用户是与该目标帐号绑定的用户。Wherein, the target user uses his target account to log in on the first terminal, and then chats with any friend in the friend list of the target account, and the server obtains the chat information between the target account and the target friend on the first terminal, and the target A friend can be any friend in the friend list of the target account, and the chat information can include work matters discussed between the target user and office colleagues, or a love affair between the target user and a lover, or the target user Whispers with girlfriends and so on. It should be noted that the target user is a user bound to the target account.

S102,获取所述目标用户与所述目标好友之间的目标亲密度;S102. Obtain a target intimacy between the target user and the target friend;

本发明实施例中,目标用户与目标好友之间的目标亲密度用于表示该目标用户与该目标好友之间的亲密关系,比如亲密度可以包括非常亲密,一般亲密,以及不亲密等等。服务器即根据用户亲密度模型,预先计算该目标用户与好友列表中各个好友之间的亲密度。具体可选的,服务器根据目标用户与各个好友之间的互动频率来计算目标用户与各个好友之间的亲密度,互动频率可以包括发消息的频率,社交圈互动频率等等,其中社交圈互动频率可以包括社交圈点赞频率、评论频率以及分享频率等等。当需要获取目标用户与目标好友之间的目标亲密度时,可以根据跟目标好友的标识(目标好友的标识包括目标好友的昵称或者目标好友的帐号等等),查找到该目标用户与目标好友之间的目标亲密度。In the embodiment of the present invention, the target intimacy between the target user and the target friend is used to represent the intimate relationship between the target user and the target friend, for example, the intimacy may include very close, generally close, not close and so on. The server pre-calculates the intimacy between the target user and each friend in the friend list according to the user intimacy model. Specifically, optionally, the server calculates the degree of intimacy between the target user and each friend according to the interaction frequency between the target user and each friend. The interaction frequency may include the frequency of sending messages, the interaction frequency of social circles, etc., wherein social circle interaction The frequency may include like frequency, comment frequency, share frequency, etc. in social circles. When it is necessary to obtain the target intimacy between the target user and the target friend, the target user and the target friend can be found according to the identification of the target friend (the identification of the target friend includes the nickname of the target friend or the account number of the target friend, etc.). The intimacy between the targets.

需要说明的是,在计算亲密度时,可以根据互动频率所属范围确定亲密度,比如一个时间周期(一个月)内互动频率在60次以上为非常亲密,互动频率在30~60次为一般亲密,互动频率小于30次为不亲密。It should be noted that when calculating the degree of intimacy, the degree of intimacy can be determined according to the scope of the interaction frequency. For example, within a period of time (one month), the interaction frequency is more than 60 times, which is very intimate, and the interaction frequency is 30-60 times, which is general intimacy. , and the interaction frequency is less than 30 times for intimacy.

具体可选的,目标用户与好友列表中各个好友之间的亲密度还可以包括当前亲密,过去亲密(如前女友),单向亲密(你暗恋对方,总给对方发消息,总看对方朋友圈),这种亲密度衡量方式也可以通过互动频率计算得到。Optionally, the intimacy between the target user and each friend in the friend list can also include current intimacy, past intimacy (such as ex-girlfriend), one-way intimacy (you have a crush on the other party, always send messages to the other party, and always see the other party’s friends Circle), this measure of intimacy can also be calculated by interaction frequency.

S103,若所述目标亲密度满足预设信息同步条件,则将所述聊天信息同步至登录所述目标帐号的第二终端。S103. If the target intimacy satisfies a preset information synchronization condition, then synchronize the chat information to the second terminal logged into the target account.

本发明实施例中,当目标用户与目标好友之间的目标亲密度满足预设信息同步条件时,则可以将目标用户在第一终端与目标好友之间的聊天信息同步至登录该目标帐号的第二终端,该预设信息同步条件可以根据亲密度的具体形式进行确定,比如,亲密度为目标用户与目标好友之间的互动频率,则该预设信息同步条件可以是目标亲密度大于预设阈值,或者,亲密度为根据互动频率确定的一般亲密、非常亲密以及不亲密,则该预设信息同步条件可以为亲密度为非常亲密。In the embodiment of the present invention, when the target intimacy between the target user and the target friend satisfies the preset information synchronization condition, the chat information between the target user on the first terminal and the target friend can be synchronized to the user who logs into the target account. The second terminal, the preset information synchronization condition can be determined according to the specific form of intimacy, for example, the intimacy is the interaction frequency between the target user and the target friend, then the preset information synchronization condition can be that the target intimacy is greater than the preset If a threshold is set, or the degree of intimacy is general intimacy, very intimacy and not intimacy determined according to the interaction frequency, then the preset information synchronization condition may be that intimacy is very intimacy.

本发明实施例中,获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息,获取该目标用户与目标好友之间的目标亲密度,若目标亲密度满足预设信息同步条件,则将该聊天信息同步至登录该目标帐号的第二终端,这种方式可以根据目标用户与目标好友之前的目标亲密度来确定是否进行聊天信息的同步,可以有效保证亲密度高的好友之间聊天信息的隐秘性。In the embodiment of the present invention, the chat information between the target user and the target friend on the first terminal using the target account is obtained, and the target intimacy between the target user and the target friend is obtained. If the target intimacy satisfies the preset information synchronization condition, then Synchronize the chat information to the second terminal that logs into the target account. This method can determine whether to synchronize the chat information according to the previous target intimacy between the target user and the target friend, which can effectively ensure chatting between friends with high intimacy. confidentiality of information.

请参照图2,为本发明实施例提供的另一种信息同步方法的流程图,如图所示,本发明实施例的信息同步方法包括以下步骤:Please refer to FIG. 2 , which is a flow chart of another information synchronization method provided by an embodiment of the present invention. As shown in the figure, the information synchronization method of the embodiment of the present invention includes the following steps:

S201,获取所述目标帐号的好友列表中的所有好友;S201. Obtain all friends in the friend list of the target account;

本发明实施例中,好友列表中的所有好友为目标用户添加的好友,目标用户可以与好友列表中的任意好友进行聊天。为了计算目标用户与好友列表中的所有好友之间的亲密度,服务器预先获取目标帐号的好友列表中的所有好友。In the embodiment of the present invention, all friends in the friend list are friends added by the target user, and the target user can chat with any friend in the friend list. In order to calculate the intimacy between the target user and all friends in the friend list, the server pre-acquires all friends in the friend list of the target account.

S202,计算所述目标用户与所述所有好友中每个好友之间的亲密度,并存储所述目标用户与所述所有好友中每个好友之间的亲密度。S202. Calculate the intimacy between the target user and each of all the friends, and store the intimacy between the target user and each of all the friends.

具体可选的,所述计算所述目标用户与所述所有好友中每个好友之间的亲密度,包括:Specifically, optionally, the calculating the degree of intimacy between the target user and each friend of all the friends includes:

根据所述目标用户与所述所有好友中每个好友之间的互动频率,计算所述目标用户与每个所述好友之间的亲密度。The degree of intimacy between the target user and each of the friends is calculated according to the interaction frequency between the target user and each of the friends.

上述互动频率包括历史聊天频率、社交圈分享操作频率、社交圈点赞操作频率、社交圈评论操作频率中的至少一种。The above-mentioned interaction frequency includes at least one of historical chat frequency, social circle share operation frequency, social circle like operation frequency, and social circle comment operation frequency.

本发明实施例中,目标用户与好友之间的历史聊天频率可以是目标用户与该好友单位时间内聊天次数或者聊天内容多少,单位时间可以是一天,社交圈分享操作可以是目标用户分享好友上传或转载的各种内容(比如照片、视频、文字等等),社交圈分享操作也可以是好友分享目标用户上传或转载的各种内容,社交圈点赞操作可以是目标用户对好友上传或转载的各种内容的点赞操作,社交圈点赞操作也可以是好友对目标用户上传或转载的各种内容的点赞操作。社交圈评论操作可以是目标用户对好友上传或转载的各种内容的评论操作,社交圈评论操作也可以是好友对目标用户上传或转载的各种内容的评论操作。In the embodiment of the present invention, the historical chat frequency between the target user and a friend may be the number of times the target user chats with the friend or the amount of chat content per unit time, the unit time may be one day, and the social circle sharing operation may be the target user sharing a friend's upload or reproduced various content (such as photos, videos, texts, etc.), the social circle sharing operation can also be friends sharing various content uploaded or reprinted by the target user, and the social circle like operation can be the target user uploading or reposting to friends The operation of liking various contents, and the operation of liking social circles may also be operations of liking various contents uploaded or reposted by friends on the target user. The social circle comment operation may be a target user's comment operation on various contents uploaded or reprinted by friends, and the social circle comment operation may also be a friend's comment operation on various contents uploaded or reprinted by the target user.

S203,获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息;S203, acquiring the chat information of the target user and the target friend on the first terminal using the target account;

S204,获取所述目标用户与所述目标好友之间的目标亲密度;S204. Obtain a target intimacy between the target user and the target friend;

本发明实施例步骤S203-S204请参照图1的实施例步骤S101-S102,在此不再赘述。For the steps S203-S204 of the embodiment of the present invention, please refer to the steps S101-S102 of the embodiment of FIG. 1 , which will not be repeated here.

S205,若所述目标亲密度大于预设阈值,则将所述聊天信息同步至登录所述目标帐号的第二终端。S205, if the target intimacy is greater than a preset threshold, synchronizing the chat information to a second terminal logged into the target account.

本发明实施例中,目标亲密度为目标用户与目标好友之间的互动频率,若目标用户与目标好友之间的目标亲密度大于预设阈值,则将目标帐号在第一终端与目标好友的聊天信息同步至登录该目标帐号的第二终端。In the embodiment of the present invention, the target intimacy is the interaction frequency between the target user and the target friend. If the target intimacy between the target user and the target friend is greater than a preset threshold, the target account will be registered in the first terminal and the target friend. The chat information is synchronized to the second terminal logged into the target account.

本发明实施例中,获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息,获取该目标用户与目标好友之间的目标亲密度,若目标亲密度满足预设信息同步条件,则将该聊天信息同步至登录该目标帐号的第二终端,这种方式可以根据目标用户与目标好友之前的目标亲密度来确定是否进行聊天信息的同步,可以有效保证亲密度高的好友之间聊天信息的隐秘性。In the embodiment of the present invention, the chat information between the target user and the target friend on the first terminal using the target account is obtained, and the target intimacy between the target user and the target friend is obtained. If the target intimacy satisfies the preset information synchronization condition, then Synchronize the chat information to the second terminal that logs into the target account. This method can determine whether to synchronize the chat information according to the previous target intimacy between the target user and the target friend, which can effectively ensure chatting between friends with high intimacy. confidentiality of information.

请参照图3,为本发明实施例提供的又一种信息同步方法的流程图,如图所示,本发明实施例的信息同步方法包括以下步骤:Please refer to FIG. 3 , which is a flowchart of another information synchronization method provided by the embodiment of the present invention. As shown in the figure, the information synchronization method of the embodiment of the present invention includes the following steps:

S301,获取所述目标帐号的好友列表中的所有好友;S301. Obtain all friends in the friend list of the target account;

S302,计算所述目标用户与所述所有好友中每个好友之间的亲密度,并存储所述目标用户与所述所有好友中每个好友之间的亲密度。S302. Calculate the intimacy between the target user and each of all the friends, and store the intimacy between the target user and each of all the friends.

本发明实施例步骤S301-S302请参照图2的实施例步骤S201-S202,在此不再赘述。For the steps S301-S302 of the embodiment of the present invention, please refer to the steps S201-S202 of the embodiment of FIG. 2 , which will not be repeated here.

S303,按照从大到小的顺序,将所述目标用户与所述所有好友中每个好友之间的亲密度进行排序,形成原始排序表;S303, sort the intimacy between the target user and each of the friends in descending order to form an original sorting table;

本发明实施例中,当计算了目标用户与所有好友中每个好友之间的亲密度后,按照从大到小的顺序,将该目标用户与所有好友中每个好友之间的亲密度进行排序,形成原始排序表。In the embodiment of the present invention, after the intimacy between the target user and each of all friends is calculated, the intimacy between the target user and each of all friends is calculated in descending order. Sort to form the original sorted table.

S304,将所述原始排序表下发至所述第一终端;S304. Send the original sorting table to the first terminal;

本发明实施例中,服务器将该原始排序表下发至第一终端,第一终端接收到该原始排序表后,显示该原始排序表,目标用户可以对该原始排序表进行操作。In the embodiment of the present invention, the server sends the original sorting list to the first terminal, and the first terminal displays the original sorting list after receiving the original sorting list, and the target user can operate the original sorting list.

S305,接收所述第一终端反馈的针对所述原始排序表的更新指令,并根据所述更新指令,对所述原始排序表进行更新。S305. Receive an update instruction for the original sorting table fed back by the first terminal, and update the original sorting table according to the update instruction.

本发明实施例中,目标用户可以通过该第一终端输入用于修改原始排序表的触发指令,该触发指令的触发操作可以是触屏操作,语音操作等等。可选的,目标用户可以调整该原始排序表中各个好友之间的排序顺序,比如,目标用户认为虽然与某一个好友的互动频率比较少,但是目标用户认为与该好友之间是属于亲密关系的,比如,目标用户与自己父母随时在社交网络中聊天比较少,但是也是属于亲密关系,则可以自己调整原始排序表的顺序。In the embodiment of the present invention, the target user may input a trigger instruction for modifying the original sorting table through the first terminal, and the trigger operation of the trigger instruction may be a touch screen operation, a voice operation, and the like. Optionally, the target user can adjust the sorting order of each friend in the original sorting table. For example, the target user believes that although the frequency of interaction with a certain friend is relatively low, the target user believes that the friend has an intimate relationship with the friend. For example, if the target user seldom chats with his parents in the social network at any time, but it is also an intimate relationship, he can adjust the order of the original sorting table by himself.

第一终端向服务器发送针对原始排序表的更新指令,当服务器接收到该更新指令后,即根据该更新指令,对原始排序表进行更新。The first terminal sends an update instruction for the original sorting table to the server, and after receiving the update instruction, the server updates the original sorting table according to the update instruction.

S306,获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息;S306. Obtain the chat information of the target user and the target friend on the first terminal using the target account;

S307,获取所述目标用户与所述目标好友之间的目标亲密度;S307. Obtain a target intimacy between the target user and the target friend;

S308,若所述目标用户与所述目标好友之间的所述目标亲密度排序在所述原始排序表的前预设大小百分比,则将所述聊天信息同步至登录所述目标帐号的第二终端。S308. If the target intimacy ranking between the target user and the target friend is within the preset size percentage of the original sorting table, synchronize the chat information to the second user who logs in to the target account. terminal.

本发明实施例中,当需要判断目标用户与目标好友之间的目标亲密度是否满足预设信息同步条件时,可以是判断该目标亲密度是否排序在原始排序表的前预设大小百分比,比如判断该目标亲密度是否排序在原始排序表的前30%,若是,则将目标帐号在第一终端的聊天信息同步至登录该目标帐号的第二终端,这种通过排序的方式来确定是否进行聊天信息同步相比于图2的实施例更加具有可行性,比如目标用户本身与任何一个好友之间的互动都比较少,则简单与预设阈值比较,可能准确度就不高。In the embodiment of the present invention, when it is necessary to judge whether the target intimacy between the target user and the target friend satisfies the preset information synchronization condition, it may be judged whether the target intimacy is ranked in the top preset size percentage of the original sorting table, such as Judging whether the target intimacy ranks in the top 30% of the original sorting table, if so, synchronize the chat information of the target account on the first terminal to the second terminal that logs in to the target account, and determine whether to proceed by sorting Chat information synchronization is more feasible than the embodiment in Figure 2. For example, if the target user has less interaction with any friend, the accuracy may not be high simply by comparing with the preset threshold.

本发明实施例中,获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息,获取该目标用户与目标好友之间的目标亲密度,若目标亲密度满足预设信息同步条件,则将该聊天信息同步至登录该目标帐号的第二终端,这种方式可以根据目标用户与目标好友之前的目标亲密度来确定是否进行聊天信息的同步,可以有效保证亲密度高的好友之间聊天信息的隐秘性。In the embodiment of the present invention, the chat information between the target user and the target friend on the first terminal using the target account is obtained, and the target intimacy between the target user and the target friend is obtained. If the target intimacy satisfies the preset information synchronization condition, then Synchronize the chat information to the second terminal that logs into the target account. This method can determine whether to synchronize the chat information according to the previous target intimacy between the target user and the target friend, which can effectively ensure chatting between friends with high intimacy. confidentiality of information.

请参照图4,为本发明实施例提供的一种信息同步装置的结构示意图,如图所示,本发明实施例的信息同步装置包括第一获取单元10、第二获取单元11以及同步单元12;Please refer to FIG. 4 , which is a schematic structural diagram of an information synchronization device provided by an embodiment of the present invention. As shown in the figure, the information synchronization device of the embodiment of the present invention includes a first acquisition unit 10 , a second acquisition unit 11 and a synchronization unit 12 ;

第一获取单元10,用于获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息;The first obtaining unit 10 is used to obtain the chat information of the target user and the target friend on the first terminal using the target account;

第二获取单元11,用于获取所述目标用户与所述目标好友之间的目标亲密度;The second acquiring unit 11 is configured to acquire the target intimacy between the target user and the target friend;

同步单元12,用于若所述目标亲密度满足预设信息同步条件,则将所述聊天信息同步至登录所述目标帐号的第二终端。The synchronizing unit 12 is configured to synchronize the chat information to the second terminal logged into the target account if the target intimacy satisfies a preset information synchronization condition.

本发明实施例中,获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息,获取该目标用户与目标好友之间的目标亲密度,若目标亲密度满足预设信息同步条件,则将该聊天信息同步至登录该目标帐号的第二终端,这种方式可以根据目标用户与目标好友之前的目标亲密度来确定是否进行聊天信息的同步,可以有效保证亲密度高的好友之间聊天信息的隐秘性。In the embodiment of the present invention, the chat information between the target user and the target friend on the first terminal using the target account is obtained, and the target intimacy between the target user and the target friend is obtained. If the target intimacy satisfies the preset information synchronization condition, then Synchronize the chat information to the second terminal that logs into the target account. This method can determine whether to synchronize the chat information according to the previous target intimacy between the target user and the target friend, which can effectively ensure chatting between friends with high intimacy. confidentiality of information.

请参照图5,为本发明实施例提供的另一种信息同步装置的结构示意图,如图所示,本实施例的信息同步装置包括:Please refer to FIG. 5, which is a schematic structural diagram of another information synchronization device provided by an embodiment of the present invention. As shown in the figure, the information synchronization device of this embodiment includes:

第一获取单元20,用于获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息;The first acquisition unit 20 is configured to acquire the chat information of the target user and the target friend on the first terminal using the target account;

第二获取单元21,用于获取所述目标用户与所述目标好友之间的目标亲密度;The second acquiring unit 21 is configured to acquire the target intimacy between the target user and the target friend;

同步单元22,用于若所述目标亲密度满足预设信息同步条件,则将所述聊天信息同步至登录所述目标帐号的第二终端。The synchronization unit 22 is configured to synchronize the chat information to the second terminal logged into the target account if the target intimacy satisfies a preset information synchronization condition.

可选的,本发明实施例的信息同步装置还包括第三获取单元23以及计算单元24;Optionally, the information synchronization device in this embodiment of the present invention further includes a third acquisition unit 23 and a calculation unit 24;

第三获取单元23,用于获取所述目标帐号的好友列表中的所有好友;The third obtaining unit 23 is configured to obtain all friends in the friend list of the target account;

计算单元24,用于计算所述目标用户与所述所有好友中每个好友之间的亲密度,并存储所述目标用户与所述所有好友中每个好友之间的亲密度。The calculation unit 24 is configured to calculate the intimacy between the target user and each of the all friends, and store the intimacy between the target user and each of the all friends.

具体可选的,所述计算单元24具体用于根据所述目标用户与所述所有好友中每个好友之间的互动频率,计算所述目标用户与每个所述好友之间的亲密度。Specifically, optionally, the calculation unit 24 is specifically configured to calculate the degree of intimacy between the target user and each of the friends according to the interaction frequency between the target user and each of the friends among all the friends.

上述互动频率包括历史聊天频率、社交圈分享操作频率、社交圈点赞操作频率、社交圈评论操作频率中的至少一种。The above-mentioned interaction frequency includes at least one of historical chat frequency, social circle share operation frequency, social circle like operation frequency, and social circle comment operation frequency.

上述同步单元22具体用于若所述目标亲密度大于预设阈值,则将所述聊天信息同步至登录所述目标帐号的第二终端。The synchronization unit 22 is specifically configured to synchronize the chat information to the second terminal that logs into the target account if the target intimacy is greater than a preset threshold.

进一步可选的,本发明实施例的信息同步装置还包括排序单元25;Further optionally, the information synchronization device in the embodiment of the present invention further includes a sorting unit 25;

排序单元25,用于按照从大到小的顺序,将所述目标用户与所述所有好友中每个好友之间的亲密度进行排序,形成原始排序表;The sorting unit 25 is configured to sort the intimacy between the target user and each of the friends in descending order to form an original sorting table;

上述同步单元22具体用于若所述目标用户与所述目标好友之间的所述目标亲密度排序在所述原始排序表的前预设大小百分比,则将所述聊天信息同步至登录所述目标帐号的第二终端。The synchronization unit 22 is specifically configured to synchronize the chat information to the log-in if the target intimacy ranking between the target user and the target friend is within the preset size percentage of the original sorting table. The second terminal of the target account.

进一步可选的,本发明实施例的信息同步装置还包括下发单元26和更新单元27;Further optionally, the information synchronization device in the embodiment of the present invention also includes a sending unit 26 and an updating unit 27;

下发单元26,用于将所述原始排序表下发至所述第一终端;A sending unit 26, configured to send the original sorting table to the first terminal;

更新单元27,用于接收所述第一终端反馈的针对所述原始排序表的更新指令,并根据所述更新指令,对所述原始排序表进行更新。The update unit 27 is configured to receive an update instruction for the original sorting table fed back by the first terminal, and update the original sorting table according to the update instruction.

本发明实施例中,获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息,获取该目标用户与目标好友之间的目标亲密度,若目标亲密度满足预设信息同步条件,则将该聊天信息同步至登录该目标帐号的第二终端,这种方式可以根据目标用户与目标好友之前的目标亲密度来确定是否进行聊天信息的同步,可以有效保证亲密度高的好友之间聊天信息的隐秘性。In the embodiment of the present invention, the chat information between the target user and the target friend on the first terminal using the target account is obtained, and the target intimacy between the target user and the target friend is obtained. If the target intimacy satisfies the preset information synchronization condition, then Synchronize the chat information to the second terminal that logs into the target account. This method can determine whether to synchronize the chat information according to the previous target intimacy between the target user and the target friend, which can effectively ensure chatting between friends with high intimacy. confidentiality of information.

请参照图6,是本发明实施例提供的又一种信息同步装置的结构示意图。本实施例中所描述的信息同步装置包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。Please refer to FIG. 6 , which is a schematic structural diagram of another information synchronization device provided by an embodiment of the present invention. The information synchronization device described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a CPU; and a memory 4000, the above-mentioned input device 1000, output device 2000, processor 3000 and The memory 4000 is connected via a bus 5000 .

其中,上述输入设备1000具体可为服务器的接收器,用于接收目标帐号在第一终端的聊天信息;Wherein, the above-mentioned input device 1000 may specifically be a receiver of the server, for receiving the chat information of the target account in the first terminal;

上述输出设备2000具体可为服务器的发射器,用于向第二终端同步目标帐号在第一终端的聊天信息。The above-mentioned output device 2000 may specifically be a transmitter of the server, and is used for synchronizing the chat information of the target account in the first terminal with the second terminal.

上述存储器4000可以是高速RAM存储器,也可为非不稳定的存储器(non-volatilememory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作:The above-mentioned memory 4000 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a magnetic disk memory. The above-mentioned memory 4000 is used to store a set of program codes, and the above-mentioned input device 1000, output device 2000 and processor 3000 are used to call the program codes stored in the memory 4000, and perform the following operations:

上述输入设备1000,用于获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息;The above-mentioned input device 1000 is used to obtain the chat information of the target user and the target friend on the first terminal using the target account;

上述处理器3000,用于获取所述目标用户与所述目标好友之间的目标亲密度;The above-mentioned processor 3000 is configured to obtain the target intimacy between the target user and the target friend;

上述输出设备2000,用于若所述目标亲密度满足预设信息同步条件,则将所述聊天信息同步至登录所述目标帐号的第二终端。The above-mentioned output device 2000 is configured to synchronize the chat information to the second terminal logged into the target account if the target intimacy satisfies a preset information synchronization condition.

可选的,上述输入设备1000获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息之前,还包括:Optionally, before the above-mentioned input device 1000 obtains the chat information of the target user using the target account with the target friend on the first terminal, it may further include:

上述处理器3000获取所述目标帐号的好友列表中的所有好友;The processor 3000 obtains all friends in the friend list of the target account;

上述处理器3000计算所述目标用户与所述所有好友中每个好友之间的亲密度,并存储所述目标用户与所述所有好友中每个好友之间的亲密度。The above-mentioned processor 3000 calculates the degree of intimacy between the target user and each friend of all the friends, and stores the degree of intimacy between the target user and each friend of all the friends.

可选的,上述处理器3000计算所述目标用户与所述所有好友中每个好友之间的亲密度,包括:Optionally, the processor 3000 calculates the degree of intimacy between the target user and each friend of all the friends, including:

根据所述目标用户与所述所有好友中每个好友之间的互动频率,计算所述目标用户与每个所述好友之间的亲密度。The degree of intimacy between the target user and each of the friends is calculated according to the interaction frequency between the target user and each of the friends.

所述互动频率包括历史聊天频率、社交圈分享操作频率、社交圈点赞操作频率、社交圈评论操作频率中的至少一种。The interaction frequency includes at least one of historical chat frequency, social circle share operation frequency, social circle like operation frequency, and social circle comment operation frequency.

可选的,上述若所述目标亲密度满足预设信息同步条件,则将所述聊天信息同步至登录所述目标帐号的第二终端具体包括:Optionally, if the target intimacy satisfies the preset information synchronization condition, synchronizing the chat information to the second terminal logging into the target account specifically includes:

若所述目标亲密度大于预设阈值,则将所述聊天信息同步至登录所述目标帐号的第二终端。If the target intimacy is greater than a preset threshold, synchronizing the chat information to a second terminal logged into the target account.

优选的,按照从大到小的顺序,将所述目标用户与所述所有好友中每个好友之间的亲密度进行排序,形成原始排序表;Preferably, sort the intimacy between the target user and each of the friends in descending order to form an original sorting table;

上述若所述目标亲密度满足预设信息同步条件,则将所述聊天信息同步至登录所述目标帐号的第二终端具体包括:If the target intimacy meets the preset information synchronization conditions, synchronizing the chat information to the second terminal logging into the target account specifically includes:

若所述目标用户与所述目标好友之间的所述目标亲密度排序在所述原始排序表的前预设大小百分比,则将所述聊天信息同步至登录所述目标帐号的第二终端。If the target intimacy ranking between the target user and the target friend is within a preset size percentage of the original sorting table, synchronizing the chat information to the second terminal logged into the target account.

可选的,上述输出设备2000将所述原始排序表下发至所述第一终端;Optionally, the output device 2000 sends the original sorting table to the first terminal;

上述输入设备1000接收所述第一终端反馈的针对所述原始排序表的更新指令,并根据所述更新指令,对所述原始排序表进行更新。The input device 1000 receives an update instruction for the original sorting table fed back by the first terminal, and updates the original sorting table according to the update instruction.

本发明实施例中,获取目标用户采用目标帐号在第一终端上与目标好友的聊天信息,获取该目标用户与目标好友之间的目标亲密度,若目标亲密度满足预设信息同步条件,则将该聊天信息同步至登录该目标帐号的第二终端,这种方式可以根据目标用户与目标好友之前的目标亲密度来确定是否进行聊天信息的同步,可以有效保证亲密度高的好友之间聊天信息的隐秘性。In the embodiment of the present invention, the chat information between the target user and the target friend on the first terminal using the target account is obtained, and the target intimacy between the target user and the target friend is obtained. If the target intimacy satisfies the preset information synchronization condition, then Synchronize the chat information to the second terminal that logs into the target account. This method can determine whether to synchronize the chat information according to the previous target intimacy between the target user and the target friend, which can effectively ensure chatting between friends with high intimacy. confidentiality of information.

请参照图7,为本发明实施例提供的一种网络系统架构图,本发明实施例的系统架构图包括服务器、第一终端和第二终端,服务器分别和第一终端和第二终端建立网络连接。Please refer to FIG. 7, which is a network system architecture diagram provided by an embodiment of the present invention. The system architecture diagram of the embodiment of the present invention includes a server, a first terminal and a second terminal, and the server establishes a network with the first terminal and the second terminal respectively. connect.

目标用户采用目标帐号在第一终端上与目标好友进行聊天,服务器获取目标用户采用目标帐号在第一终端上与目标好友之间的聊天信息,并获取目标用户与目标好友之间的目标亲密度,若该目标亲密度满足预设信息同步条件,则服务器将第一终端的聊天信息同步至登录该目标帐号的第二终端。The target user uses the target account to chat with the target friend on the first terminal, and the server obtains the chat information between the target user and the target friend on the first terminal using the target account, and obtains the target intimacy between the target user and the target friend , if the target intimacy satisfies a preset information synchronization condition, the server synchronizes the chat information of the first terminal to the second terminal logged into the target account.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种信息同步方法的部分或全部步骤。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, some or all steps of any information synchronization method described in the above method embodiments are included.

尽管在此结合各实施例对本发明进行了描述,然而,在实施所要求保护的本发明过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present invention has been described in conjunction with various embodiments herein, in the process of implementing the claimed invention, those skilled in the art can understand and Other variations of the disclosed embodiments are implemented. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that these measures cannot be combined to advantage.

本领域技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机程序存储/分布在合适的介质中,与其它硬件一起提供或作为硬件的一部分,也可以采用其他分布形式,如通过Internet或其它有线或无线电信系统。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices (devices), or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. The computer program is stored/distributed on suitable media, supplied with or as part of other hardware, and may also take other forms of distribution, such as via the Internet or other wired or wireless telecommunication systems.

本发明是参照本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and/or block diagrams of methods, apparatus (device) and computer program products according to embodiments of the present invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

尽管结合具体特征及其实施例对本发明进行了描述,显而易见的,在不脱离本发明的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本发明的示例性说明,且视为已覆盖本发明范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Although the invention has been described in conjunction with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made therein without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are merely illustrative of the invention as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the invention. Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (15)

1. a kind of information synchronization method is it is characterised in that include:
Obtain targeted customer and adopt target account number chat message with target good friend on first terminal;
Obtain the target cohesion between described targeted customer and described target good friend;
If described target cohesion meets presupposed information synchronous condition, described chat message is synchronized to the described target account of login Number second terminal.
2. the method for claim 1 is it is characterised in that described acquisition targeted customer adopts target account number in first terminal Above and before the chat message of target good friend, also include:
Obtain all good friends in the buddy list of described target account number;
Calculate the cohesion between each good friend in described targeted customer and described all good friends, and store described targeted customer with Cohesion between each good friend in described all good friends.
3. method as claimed in claim 2 is it is characterised in that the described targeted customer of described calculating is every with described all good friends Cohesion between individual good friend, including:
According to the mutual dynamic frequency between each good friend in described targeted customer and described all good friends, calculate described targeted customer with Cohesion between each described good friend.
4. method as claimed in claim 3 is it is characterised in that described mutual dynamic frequency includes history chat frequency, social circle divides Enjoy operation frequency, social activity punctuate praise operation frequency, social circle comment on operation frequency at least one.
If 5. the method as described in claim 1-4 any one is it is characterised in that described target cohesion satisfaction is default Synchronizing information condition, then be synchronized to, by described chat message, the second terminal logging in described target account number, including:
If described target cohesion is more than predetermined threshold value, described chat message is synchronized to and logs in the second of described target account number Terminal.
6. the method as described in claim 2-4 any one is it is characterised in that methods described also includes:
According to order from big to small, the cohesion between each good friend in described targeted customer and described all good friends is carried out Sequence, forms original sequencing table;
If described target cohesion meets presupposed information synchronous condition, described chat message is synchronized to the described mesh of login The second terminal of mark account number, including:
If the described target cohesion between described targeted customer and described target good friend sorts before described original sequencing table Default size percentage ratio, then be synchronized to, by described chat message, the second terminal logging in described target account number.
7. method as claimed in claim 6 is it is characterised in that methods described also includes:
Described original sequencing table is issued to described first terminal;
Receive the more new command for described original sequencing table of described first terminal feedback, and according to described more new command, right Described original sequencing table is updated.
8. a kind of synchronizing information device is it is characterised in that include:
First acquisition unit, adopts target account number to believe with the chat of target good friend on first terminal for obtaining targeted customer Breath;
Second acquisition unit, for obtaining the target cohesion between described targeted customer and described target good friend;
Lock unit, if meeting presupposed information synchronous condition for described target cohesion, described chat message is synchronized to Log in the second terminal of described target account number.
9. device as claimed in claim 8 is it is characterised in that described device also includes:
3rd acquiring unit, for obtaining all good friends in the buddy list of described target account number;
Computing unit, for calculating the cohesion between each good friend in described targeted customer and described all good friends, and stores Cohesion between each good friend in described targeted customer and described all good friends.
10. device as claimed in claim 9 is it is characterised in that described computing unit is specifically for according to described targeted customer And the mutual dynamic frequency between each good friend in described all good friends, calculates the parent between described targeted customer and each described good friend Density.
11. devices as claimed in claim 10 are it is characterised in that described mutual dynamic frequency includes history chat frequency, social circle Share operation frequency, social activity punctuate praise operation frequency, social circle comment on operation frequency at least one.
If 12. devices as described in claim 8-11 any one are it is characterised in that described lock unit is specifically for described Target cohesion is more than predetermined threshold value, then described chat message is synchronized to the second terminal logging in described target account number.
13. devices as described in claim 9-11 any one are it is characterised in that described device also includes:
Sequencing unit, for according to order from big to small, by described targeted customer and each good friend in described all good friends it Between cohesion be ranked up, formed original sequencing table;
If described lock unit is specifically for the described target cohesion sequence between described targeted customer and described target good friend Preset size percentage ratio before described original sequencing table, then described chat message is synchronized to and logs in the of described target account number Two terminals.
14. devices as claimed in claim 13 are it is characterised in that described device also includes:
Issuance unit, for being issued to described first terminal by described original sequencing table;
Updating block, for receiving the more new command for described original sequencing table of described first terminal feedback, and according to institute State more new command, described original sequencing table is updated.
A kind of 15. synchronizing information devices are it is characterised in that include:
Processor and memorizer;Wherein, described processor is executed as power by calling code in described memorizer or instruction Profit requires the method described in 1 to 7 any one.
CN201610828044.2A 2016-09-14 2016-09-14 Information synchronization method and device Expired - Fee Related CN106411703B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610828044.2A CN106411703B (en) 2016-09-14 2016-09-14 Information synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610828044.2A CN106411703B (en) 2016-09-14 2016-09-14 Information synchronization method and device

Publications (2)

Publication Number Publication Date
CN106411703A true CN106411703A (en) 2017-02-15
CN106411703B CN106411703B (en) 2020-01-14

Family

ID=57996911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610828044.2A Expired - Fee Related CN106411703B (en) 2016-09-14 2016-09-14 Information synchronization method and device

Country Status (1)

Country Link
CN (1) CN106411703B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108942919A (en) * 2018-05-28 2018-12-07 北京光年无限科技有限公司 A kind of exchange method and system based on visual human
WO2019085590A1 (en) * 2017-11-03 2019-05-09 上海掌门科技有限公司 Method and device for providing released information of target friend
WO2019085641A1 (en) * 2017-11-01 2019-05-09 上海掌门科技有限公司 Method and apparatus for friend recommendation
CN111556021A (en) * 2020-03-30 2020-08-18 宇龙计算机通信科技(深圳)有限公司 Data transmission method, device, storage medium and related equipment
CN112087371A (en) * 2020-09-10 2020-12-15 北京百度网讯科技有限公司 An instant messaging group search method, device, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060294599A1 (en) * 2005-06-24 2006-12-28 Creative Technology Ltd. Method and apparatus for protecting private information on a user apparatus
CN103345607A (en) * 2013-06-03 2013-10-09 东莞宇龙通信科技有限公司 A smart display method and device for terminal data information
CN103514215A (en) * 2012-06-28 2014-01-15 北京奇虎科技有限公司 Method and device for generating social contact influence information for user
CN103812755A (en) * 2012-11-12 2014-05-21 腾讯科技(深圳)有限公司 Message synchronization method and device in instant messaging application
CN104144116A (en) * 2014-07-16 2014-11-12 腾讯科技(深圳)有限公司 Instant messaging method and system
CN104462136A (en) * 2013-09-17 2015-03-25 北京千橡网景科技发展有限公司 Method and equipment for ranking contacts
CN104967679A (en) * 2015-06-09 2015-10-07 深圳市腾讯计算机系统有限公司 Information recommendation system, method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060294599A1 (en) * 2005-06-24 2006-12-28 Creative Technology Ltd. Method and apparatus for protecting private information on a user apparatus
CN103514215A (en) * 2012-06-28 2014-01-15 北京奇虎科技有限公司 Method and device for generating social contact influence information for user
CN103812755A (en) * 2012-11-12 2014-05-21 腾讯科技(深圳)有限公司 Message synchronization method and device in instant messaging application
CN103345607A (en) * 2013-06-03 2013-10-09 东莞宇龙通信科技有限公司 A smart display method and device for terminal data information
CN104462136A (en) * 2013-09-17 2015-03-25 北京千橡网景科技发展有限公司 Method and equipment for ranking contacts
CN104144116A (en) * 2014-07-16 2014-11-12 腾讯科技(深圳)有限公司 Instant messaging method and system
CN104967679A (en) * 2015-06-09 2015-10-07 深圳市腾讯计算机系统有限公司 Information recommendation system, method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019085641A1 (en) * 2017-11-01 2019-05-09 上海掌门科技有限公司 Method and apparatus for friend recommendation
WO2019085590A1 (en) * 2017-11-03 2019-05-09 上海掌门科技有限公司 Method and device for providing released information of target friend
CN108942919A (en) * 2018-05-28 2018-12-07 北京光年无限科技有限公司 A kind of exchange method and system based on visual human
CN111556021A (en) * 2020-03-30 2020-08-18 宇龙计算机通信科技(深圳)有限公司 Data transmission method, device, storage medium and related equipment
CN112087371A (en) * 2020-09-10 2020-12-15 北京百度网讯科技有限公司 An instant messaging group search method, device, device and storage medium

Also Published As

Publication number Publication date
CN106411703B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
US9147008B2 (en) Activity based recommendations within a social networking environment based upon graph activation
US11271879B2 (en) Information transmission control method, apparatus, and system
KR102480096B1 (en) Methods and systems for processing an ephemeral content message
US9002938B2 (en) Notifying electronic meeting participants of interesting information
CN102510551B (en) Method and device for automatically recommending friends in mobile communication tools
EP3734914A1 (en) Authentication of service requests
US9531768B2 (en) Detection of shared content viewed by attendees in online meetings
US9224134B2 (en) Arranging a conversation among a plurality of participants
CN109729005B (en) Message processing method and device, computer equipment and storage medium
CN106411703A (en) Information synchronization method and apparatus
CN106603391A (en) Method for constructing instant messaging group automatically, server and terminal equipment
TW202004425A (en) Device presentation with real-time feedback
CN105207789A (en) Conference information processing method, mobile terminal and server
US10541951B2 (en) Enhancing network messaging with a real-time, interactive representation of current messaging activity of a user's contacts and associated contacts
CN110609970A (en) User identification method, device, storage medium and electronic equipment
US10686746B2 (en) Maintaining relationships between users in a social network by emphasizing a post from a first user in a second user's activity stream based on detected inactivity between users
CN106789593A (en) A kind of instant message processing method for merging sign language, server and system
US9894114B2 (en) Adjusting the display of social media updates to varying degrees of richness based on environmental conditions and importance of the update
WO2017032076A1 (en) Method and apparatus for creating circle of friends, and communications method and apparatus based on circles of friends
CN107528767B (en) Session processing method and device
US9503575B2 (en) Method and apparatus for augmenting communication sessions using contextual information
CN106506443A (en) A method and device for viewing information
CN105959909B (en) A method and system for recommending friends
US10567318B2 (en) Apparatus and method for quickly sending messages
WO2018069912A1 (en) An apparatus and method for discovering computerized connections between persons and generating computerized introductions

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200114