CN106411703B - Information synchronization method and device - Google Patents

Information synchronization method and device Download PDF

Info

Publication number
CN106411703B
CN106411703B CN201610828044.2A CN201610828044A CN106411703B CN 106411703 B CN106411703 B CN 106411703B CN 201610828044 A CN201610828044 A CN 201610828044A CN 106411703 B CN106411703 B CN 106411703B
Authority
CN
China
Prior art keywords
target
friend
intimacy
terminal
target user
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.)
Expired - Fee Related
Application number
CN201610828044.2A
Other languages
Chinese (zh)
Other versions
CN106411703A (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

Images

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; CALCULATING OR 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 a device, wherein the information synchronization method comprises the following steps: obtaining the chat information between a target user and a target friend on a first terminal by adopting a target account; acquiring target intimacy between the target user and the target friend; and if the target intimacy meets the preset information synchronization condition, synchronizing the chat information to a second terminal for logging in the target account. By adopting the invention, the synchronous chat information can be differentiated based on the intimacy between the target user and different friends, and the secrecy of the chat information between the close friends is improved.

Description

Information synchronization method and device
Technical Field
The present invention relates to the field of communications network technologies, and in particular, to an information synchronization method and apparatus.
Background
With the use of various instant messaging applications, great convenience is brought to users, users can chat with any one or more friends at any time and any place, the content of chat information is different based on different relations between the users and the friends, the various chat information is various, private and public, for example, the chat information on work can be work exchanged between coworkers, and on work or home, the chat information can be talking between lovers or whisper between girlfrieds, and the like.
In the prior art, usually all chat messages of an account (including with all chat messages between each friend) can be in step on logging in arbitrary terminal equipment of this account, this kind of mode privacy is relatively poor, for example, someone says a secret message between instant messaging application and the girlfriend of cell-phone outside, this account also logs in at home computer simultaneously, consequently, secret message between user and the girlfriend is all synchronous to the computer at home, the family can all see, the secret nature of user chat message has been destroyed like this.
Disclosure of Invention
The embodiment of the invention provides an information synchronization method and device, which can differentially synchronize chat information based on the intimacy between a target user and different friends and improve the secrecy of the chat information between the close friends.
A first aspect of an embodiment of the present invention provides an information synchronization method, which may include:
obtaining the chat information between a target user and a target friend on a first terminal by adopting a target account;
acquiring target intimacy between the target user and the target friend;
and if the target intimacy meets the preset information synchronization condition, synchronizing the chat information to a second terminal for logging in the target account.
A second aspect of the embodiments of the present invention provides an information synchronization apparatus, which may include:
the first acquisition unit is used for acquiring the chat information between the target user and the target friend on the first terminal by adopting the target account;
the second acquisition unit is used for acquiring the target intimacy between the target user and the target friend;
and the synchronization unit is used for synchronizing the chat information to a second terminal for logging in the target account if the target intimacy meets a preset information synchronization condition.
A third aspect of the present invention provides an information synchronization apparatus, including:
a processor and a memory; wherein the processor performs some or all of the steps of the information method described in the first aspect by calling code or instructions in the memory.
In the embodiment of the invention, the chat information between the target user and the target friend on the first terminal by adopting the target account is obtained, the target intimacy between the target user and the target friend is obtained, and if the target intimacy meets the preset information synchronization condition, the chat information is synchronized to the second terminal for logging in the target account.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a first embodiment of an information synchronization method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an information synchronization method according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart of a third embodiment of an information synchronization method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an information synchronization apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another information synchronization apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another information synchronization apparatus according to an embodiment of the present invention;
fig. 7 is a system architecture diagram according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and in the claims, and in the drawings, are used for distinguishing between different objects and not necessarily for describing a particular sequential order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
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 invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
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 palm computer, a notebook computer, a mobile internet device (MID, mobile internet Devices), or a wearable device, and the terminal is merely an example, and is not exhaustive and includes but is not limited to the terminal.
The following describes an information synchronization method and apparatus provided in an embodiment of the present invention with reference to fig. 1 to 6.
Fig. 1 is a flowchart illustrating an information synchronization method according to a first embodiment of the present invention. The information synchronization method described in this embodiment includes the steps of:
s101, obtaining chat information between a target user and a target friend on a first terminal by adopting a target account;
in the embodiment of the invention, the information interaction platform refers to a network architecture for connecting people through social relations and/or common interests (or common benefits), and a user can perform daily communication and process some daily matters through a client provided by the information interaction platform. Each user may have a network identity, which may be an account number automatically assigned to the user by the system when the user registers, for recognition by other users on the information interaction platform.
On the information interaction platform, different users can establish a social relationship in a mutually confirmed manner, for example, friends are added to each other or concern each other. When two users establish a social relationship, they become social network contacts of each other. A group of users can form a social group by forming a social relationship with each other in a self-selection mode. Each member in the group is a social network contact of all other members in the group, and chat communication can be performed on a client (such as an instant messaging application) after the users become the social network contacts.
Each user on the information interaction platform has a social network contact list, namely a friend list, so that the user can communicate with friends in the social network contact list in forms of instant messaging messages and the like. For example, users in a social group can communicate with each other through an 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 network identity of the user, and the user can log in the own account at any terminal and select any friend in the friend list of the account for communication. The first terminal of the 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 number can be any account number registered in the information interaction platform.
In the subsequent embodiments of the present invention, the information interaction platform is collectively referred to as a server, and the server can implement all social network functions of the information interaction platform.
The target user logs in at the first terminal by adopting a target account of the target user, and then chats with any friend in a friend list of the target account, the server acquires chatting information between the target account and the target friend on the first terminal, the target friend can be any friend in the friend list of the target account, and the chatting information can comprise working things talked between the target user and office colleagues, talking and talking between the target user and lovers, whisper talks between the target user and girdes, and the like. It should be noted that the target user is a user bound to the target account.
S102, acquiring 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 indicate the intimacy between the target user and the target friend, for example, the intimacy may include very intimacy, general intimacy, and unfamiliarity, etc. The server calculates the intimacy between the target user and each friend in the friend list in advance according to the user intimacy model. Specifically, optionally, the server calculates the affinity between the target user and each friend according to the interaction frequency between the target user and each friend, where the interaction frequency may include a messaging frequency, a social circle interaction frequency, and the like, and the social circle interaction frequency may include a social circle praise frequency, a comment frequency, a sharing frequency, and the like. When the target intimacy between the target user and the target friend needs to be obtained, the target intimacy between the target user and the target friend can be found according to the identification of the target friend (the identification of the target friend comprises a nickname of the target friend or an account number of the target friend and the like).
It should be noted that, when calculating the intimacy, the intimacy can be determined according to the range to which the interaction frequency belongs, for example, within a time period (one month), the interaction frequency is very close when more than 60 times, the interaction frequency is generally close when 30-60 times, and the interaction frequency is not close when less than 30 times.
Specifically, optionally, the intimacy between the target user and each friend in the friend list may further include current intimacy, past intimacy (such as previous girlfriend), one-way intimacy (you may be secretly loved by the other, always send a message to the other, and always see the friend circle of the other), and this intimacy measurement manner may also be obtained through interaction frequency calculation.
S103, if the target intimacy meets the preset information synchronization condition, synchronizing the chat information to a second terminal for logging in the target account.
In the embodiment of the present invention, when the target intimacy between the target user and the target friend meets the preset information synchronization condition, the chat information of the target user between the first terminal and the target friend can be synchronized to the second terminal logging in the target account, and the preset information synchronization condition can be determined according to a specific form of intimacy, for example, if the intimacy is the interaction frequency between the target user and the target friend, the preset information synchronization condition may be that the target intimacy is greater than a preset threshold, or, if the intimacy is general intimacy, very intimacy and not intimacy determined according to the interaction frequency, the preset information synchronization condition may be that the intimacy is very intimacy.
In the embodiment of the invention, the chat information between the target user and the target friend on the first terminal by adopting the target account is obtained, the target intimacy between the target user and the target friend is obtained, and if the target intimacy meets the preset information synchronization condition, the chat information is synchronized to the second terminal for logging in the target account.
Referring to fig. 2, a flowchart of another information synchronization method according to an embodiment of the present invention is shown, where the information synchronization method according to the embodiment of the present invention includes the following steps:
s201, acquiring all friends in a friend list of the target account;
in the embodiment of the invention, all the 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 the friends in the friend list, the server acquires all the friends in the friend list of the target account in advance.
S202, calculating the intimacy between the target user and each friend of the all friends, and storing the intimacy between the target user and each friend of the all friends.
Specifically, optionally, the calculating the intimacy between the target user and each of the friends includes:
and calculating the intimacy between the target user and each friend according to the interaction frequency between the target user and each friend in all friends.
The interaction frequency comprises at least one of a historical chat frequency, a social circle sharing operation frequency, a social circle praise operation frequency and a social circle comment operation frequency.
In the embodiment of the present invention, the historical chat frequency between the target user and the friend may be the number of chats or the number of chatting contents in a unit time of the target user and the friend, the unit time may be one day, the social circle sharing operation may be that the target user shares various contents (such as photos, videos, texts, and the like) uploaded or transferred by the friend, the social circle sharing operation may also be that the friend shares various contents uploaded or transferred by the target user, the social circle approval operation may be an approval operation of the target user for various contents uploaded or transferred by the friend, and the social circle approval operation may also be an approval operation of the friend for various contents uploaded or transferred by the target user. The social circle comment operation may be a comment operation of the target user on various contents uploaded or transferred by the friend, and the social circle comment operation may also be a comment operation of the friend on various contents uploaded or transferred by the target user.
S203, obtaining the chat information between the target user and the target friend on the first terminal by adopting the target account;
s204, acquiring the target intimacy between the target user and the target friend;
referring to steps S101 to S102 of fig. 1, steps S203 to S204 of the embodiment of the present invention are not described herein again.
S205, if the target intimacy is larger than a preset threshold value, synchronizing the chat information to a second terminal logging in the target account.
In the embodiment of the invention, the target intimacy is the interaction frequency between the target user and the target friend, and if the target intimacy between the target user and the target friend is greater than the preset threshold value, the chat information of the target account between the first terminal and the target friend is synchronized to the second terminal for logging in the target account.
In the embodiment of the invention, the chat information between the target user and the target friend on the first terminal by adopting the target account is obtained, the target intimacy between the target user and the target friend is obtained, and if the target intimacy meets the preset information synchronization condition, the chat information is synchronized to the second terminal for logging in the target account.
Referring to fig. 3, a flowchart of another information synchronization method according to an embodiment of the present invention is shown, where the information synchronization method according to the embodiment of the present invention includes the following steps:
s301, acquiring all friends in a friend list of the target account;
s302, calculating the intimacy between the target user and each friend of all friends, and storing the intimacy between the target user and each friend of all friends.
Referring to steps S201 to S202 of fig. 2, steps S301 to S302 of the embodiment of the present invention are not described herein again.
S303, sequencing the intimacy between the target user and each friend in all the friends according to the descending order to form an original sequencing list;
in the embodiment of the invention, after the intimacy between the target user and each friend in all friends is calculated, the intimacy between the target user and each friend in all friends is sequenced according to the sequence from large to small to form an original sequencing list.
S304, sending the original sorting table to the first terminal;
in the embodiment of the invention, the server sends the original sorting table to the first terminal, the first terminal displays the original sorting table after receiving the original sorting table, and a target user can operate the original sorting table.
S305, receiving an update instruction aiming at the original sorting table fed back by the first terminal, and updating the original sorting table according to the update instruction.
In the embodiment of the invention, a target user can input a trigger instruction for modifying the original sorting table through the first terminal, and the trigger operation of the trigger instruction can be touch screen operation, voice operation and the like. Optionally, the target user may adjust the ranking order among the friends in the original ranking list, for example, the target user considers that although the interaction frequency with a certain friend is low, the target user considers that the target user is in close relationship with the friends, for example, the target user has less chatting with parents of the target user in the social network at any time, but also has close relationship, and the target user may adjust the order of the original ranking list by himself.
The first terminal sends an updating instruction aiming at the original sorting table to the server, and when the server receives the updating instruction, the original sorting table is updated according to the updating instruction.
S306, obtaining the chat information between the target user and the target friend on the first terminal by adopting the target account;
s307, acquiring target intimacy between the target user and the target friend;
s308, if the target intimacy degree between the target user and the target friend is sorted in the front preset size percentage of the original sorting table, synchronizing the chat information to a second terminal for logging in the target account.
In the embodiment of the present invention, when it is required to determine whether the target intimacy degree between the target user and the target friend meets the preset information synchronization condition, it may be determined whether the target intimacy degree is ranked at a preset size percentage in front of the original ranking table, for example, it is determined whether the target intimacy degree is ranked at the top 30% of the original ranking table, if yes, the chat information of the target account at the first terminal is synchronized to the second terminal that logs in the target account, which is more feasible than the embodiment of fig. 2 by determining whether to perform chat information synchronization in a ranking manner, for example, if the interaction between the target user and any friend is less, the target user is simply compared with the preset threshold, and the accuracy may not be high.
In the embodiment of the invention, the chat information between the target user and the target friend on the first terminal by adopting the target account is obtained, the target intimacy between the target user and the target friend is obtained, and if the target intimacy meets the preset information synchronization condition, the chat information is synchronized to the second terminal for logging in the target account.
Referring to fig. 4, which is a schematic structural diagram of an information synchronization apparatus according to an embodiment of the present invention, as shown in the drawing, the information synchronization apparatus according to the embodiment of the present invention includes a first obtaining unit 10, a second obtaining unit 11, and a synchronization unit 12;
a first obtaining unit 10, configured to obtain chat information between a target user and a target friend on a first terminal through a target account;
a second obtaining unit 11, configured to obtain a target intimacy between the target user and the target friend;
a synchronizing unit 12, configured to synchronize the chat information to a second terminal that logs in the target account if the target intimacy meets a preset information synchronization condition.
In the embodiment of the invention, the chat information between the target user and the target friend on the first terminal by adopting the target account is obtained, the target intimacy between the target user and the target friend is obtained, and if the target intimacy meets the preset information synchronization condition, the chat information is synchronized to the second terminal for logging in the target account.
Referring to fig. 5, a schematic structural diagram of another information synchronization apparatus according to an embodiment of the present invention is shown, where the information synchronization apparatus of the embodiment includes:
a first obtaining unit 20, configured to obtain chat information between a target user and a target friend on a first terminal through a target account;
a second obtaining unit 21, configured to obtain a target intimacy between the target user and the target friend;
a synchronizing unit 22, configured to synchronize the chat information to a second terminal that logs in the target account if the target intimacy meets a preset information synchronization condition.
Optionally, the information synchronization apparatus according to the embodiment of the present invention further includes a third obtaining unit 23 and a calculating unit 24;
a third obtaining unit 23, configured to obtain all buddies in the buddy list of the target account;
a calculating unit 24, configured to calculate an affinity between the target user and each friend of the all friends, and store the affinity between the target user and each friend of the all friends.
Specifically, optionally, the calculating unit 24 is specifically configured to calculate, according to the interaction frequency between the target user and each friend of the all friends, the intimacy between the target user and each friend.
The interaction frequency comprises at least one of a historical chat frequency, a social circle sharing operation frequency, a social circle praise operation frequency and a social circle comment operation frequency.
The synchronization unit 22 is specifically configured to synchronize the chat message to a second terminal that logs in the target account if the target affinity is greater than a preset threshold.
Further optionally, the information synchronization apparatus according to the embodiment of the present invention further includes a sorting unit 25;
a sorting unit 25, configured to sort, according to a descending order, the intimacy between the target user and each of the friends to form an original sorting table;
the synchronization unit 22 is specifically configured to synchronize the chat information to a second terminal that logs in the target account if the target affinity ranking between the target user and the target friend is a preset size percentage in front of the original ranking table.
Further optionally, the information synchronization apparatus according to the embodiment of the present invention further includes a sending unit 26 and an updating unit 27;
a sending unit 26, configured to send the original sorting table to the first terminal;
and the updating unit 27 is configured to receive an update instruction, which is fed back by the first terminal and is for the original sorting table, and update the original sorting table according to the update instruction.
In the embodiment of the invention, the chat information between the target user and the target friend on the first terminal by adopting the target account is obtained, the target intimacy between the target user and the target friend is obtained, and if the target intimacy meets the preset information synchronization condition, the chat information is synchronized to the second terminal for logging in the target account.
Fig. 6 is a schematic structural diagram of another information synchronization apparatus according to an embodiment of the present invention. The information synchronization apparatus described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, e.g., a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and the memory 4000 being connected by a bus 5000.
The input device 1000 may be a receiver of a server, configured to receive chat information of a target account at a first terminal;
the output device 2000 may be a transmitter of the server, and is configured to synchronize the chat information of the target account at the first terminal to the second terminal.
The memory 4000 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 4000 is used for storing a set of program codes, and the input device 1000, the output device 2000 and the processor 3000 are used for calling the program codes stored in the memory 4000 to execute the following operations:
the input device 1000 is configured to obtain chat information between a target user and a target friend on a first terminal through a target account;
the processor 3000 is configured to obtain a target intimacy between the target user and the target friend;
the output device 2000 is configured to synchronize the chat information to a second terminal that logs in the target account if the target intimacy meets a preset information synchronization condition.
Optionally, before the input device 1000 obtains the chat information between the target user and the target friend on the first terminal by using the target account, the method further includes:
the processor 3000 obtains all the buddies in the buddy list of the target account;
the processor 3000 calculates the intimacy between the target user and each of the friends, and stores the intimacy between the target user and each of the friends.
Optionally, the processor 3000 calculates the intimacy between the target user and each friend of the all friends, including:
and calculating the intimacy between the target user and each friend according to the interaction frequency between the target user and each friend in all friends.
The interaction frequency comprises at least one of a historical chat frequency, a social circle sharing operation frequency, a social circle praise operation frequency and a social circle comment operation frequency.
Optionally, if the target intimacy meets a preset information synchronization condition, synchronizing the chat information to the second terminal that logs in the target account specifically includes:
and if the target intimacy is greater than a preset threshold value, synchronizing the chat information to a second terminal for logging in the target account.
Preferably, the intimacy between the target user and each friend in all friends is sorted according to the descending order to form an original sorting table;
if the target intimacy meets the preset information synchronization condition, synchronizing the chat information to a second terminal logging in the target account specifically comprises:
and if the target intimacy degree between the target user and the target friend is sorted in the front preset size percentage of the original sorting table, synchronizing the chat information to a second terminal for logging in the target account.
Optionally, the output device 2000 issues the original sorting table to the first terminal;
the input device 1000 receives an update instruction for the original sorting table, which is fed back by the first terminal, and updates the original sorting table according to the update instruction.
In the embodiment of the invention, the chat information between the target user and the target friend on the first terminal by adopting the target account is obtained, the target intimacy between the target user and the target friend is obtained, and if the target intimacy meets the preset information synchronization condition, the chat information is synchronized to the second terminal for logging in the target account.
Referring to fig. 7, a network system architecture diagram according to an embodiment of the present invention is provided, where the system architecture diagram according to the embodiment of the present invention includes a server, a first terminal and a second terminal, and the server establishes network connections with the first terminal and the second terminal, respectively.
The target user chats with the target friend on the first terminal by adopting the target account, the server acquires the chatting information between the target user and the target friend on the first terminal by adopting the target account, and acquires the target intimacy between the target user and the target friend, and if the target intimacy meets the preset information synchronization condition, the server synchronizes the chatting information of the first terminal to the second terminal logging in the target account.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program includes some or all of the steps of any one of the information synchronization methods described in the above method embodiments.
While the invention has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "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 a combination of these measures cannot be used to advantage.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may 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, and the like) having computer-usable program code embodied therein. A computer program stored/distributed on a suitable medium supplied together with or as part of other hardware, may also take other distributed forms, such as via the Internet or other wired or wireless telecommunication systems.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the invention has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the invention. Accordingly, the specification and figures are merely exemplary of the invention as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the invention. It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (13)

1. An information synchronization method, comprising:
obtaining the chat information between a target user and a target friend on a first terminal by adopting a target account;
obtaining a target intimacy between the target user and the target friend, wherein the obtaining of the target intimacy comprises: searching and adjusting the target intimacy between the target user and the target friend according to the nickname of the target friend in the identification of the target friend or the account number and the interaction frequency of the target friend;
if the target intimacy meets a preset information synchronization condition, wherein the preset information synchronization condition comprises that the target intimacy is greater than a preset threshold value or the intimacy is high intimacy, the chat information is synchronized to a second terminal logging in the target account, and the chat information corresponding to the target friend only with high interaction frequency is prevented from being synchronized to the second terminal.
2. The method of claim 1, wherein before the obtaining the target user's chat information with the target friend on the first terminal using the target account, further comprises:
acquiring all friends in a friend list of the target account;
and calculating the intimacy between the target user and each friend in all the friends, and storing the intimacy between the target user and each friend in all the friends.
3. The method of claim 2, wherein said calculating an affinity between said target user and each of said all buddies comprises:
and calculating the intimacy between the target user and each friend according to the interaction frequency between the target user and each friend in all friends.
4. The method of claim 3, wherein the interaction frequency comprises at least one of a historical chat frequency, a social circle sharing operation frequency, a social circle praise operation frequency, and a social circle review operation frequency.
5. The method of any one of claims 2-4, further comprising:
sequencing the intimacy between the target user and each friend in all friends according to the sequence from big to small to form an original sequencing list;
if the target intimacy meets the preset information synchronization condition, synchronizing the chat information to a second terminal logging in the target account, including:
and if the target intimacy degree between the target user and the target friend is sorted in the front preset size percentage of the original sorting table, synchronizing the chat information to a second terminal for logging in the target account.
6. The method of claim 5, wherein the method further comprises:
issuing the original sorting table to the first terminal;
and receiving an updating instruction which is fed back by the first terminal and aims at the original sorting table, and updating the original sorting table according to the updating instruction.
7. An information synchronization apparatus, comprising:
the first acquisition unit is used for acquiring the chat information between the target user and the target friend on the first terminal by adopting the target account;
a second obtaining unit, configured to obtain a target intimacy between the target user and the target friend, where the obtaining of the target intimacy includes: searching and adjusting the target intimacy between the target user and the target friend according to the nickname of the target friend in the identification of the target friend or the account number and the interaction frequency of the target friend;
and the synchronization unit is used for synchronizing the chat information to a second terminal logging in the target account if the target intimacy meets a preset information synchronization condition, wherein the preset information synchronization condition comprises that the target intimacy is greater than a preset threshold value or the intimacy is high intimacy, and the chat information corresponding to the target friend with high interaction frequency is prevented from being synchronized to the second terminal.
8. The apparatus of claim 7, wherein the apparatus further comprises:
a third obtaining unit, configured to obtain all friends in a friend list of the target account;
and the calculating unit is used for calculating the intimacy between the target user and each friend in all the friends and storing the intimacy between the target user and each friend in all the friends.
9. The apparatus of claim 8, wherein the computing unit is specifically configured to compute the affinity between the target user and each of the friends according to the frequency of interaction between the target user and each of the friends.
10. The apparatus of claim 9, wherein the interaction frequency comprises at least one of a historical chat frequency, a social circle sharing operation frequency, a social circle praise operation frequency, and a social circle comment operation frequency.
11. The apparatus of any one of claims 8-10, further comprising:
the sequencing unit is used for sequencing the intimacy between the target user and each friend in all the friends according to the descending order to form an original sequencing list;
the synchronization unit is specifically configured to synchronize the chat information to a second terminal that logs in the target account if the target intimacy degree ranking between the target user and the target friend is a preset size percentage before the original ranking table.
12. The apparatus of claim 11, wherein the apparatus further comprises:
the issuing unit is used for issuing the original sorting table to the first terminal;
and the updating unit is used for receiving an updating instruction which is fed back by the first terminal and aims at the original sorting table, and updating the original sorting table according to the updating instruction.
13. An information synchronization apparatus, comprising:
a processor and a memory; wherein the processor performs the method of any one of claims 1 to 6 by calling code or instructions in the memory.
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 CN106411703A (en) 2017-02-15
CN106411703B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733786B (en) * 2017-11-01 2022-04-15 上海掌门科技有限公司 Friend recommendation method and device
CN107835120A (en) * 2017-11-03 2018-03-23 上海掌门科技有限公司 For providing the method and apparatus to release news of target good friend
CN108942919B (en) * 2018-05-28 2021-03-30 北京光年无限科技有限公司 Interaction method and system based on virtual human
CN111556021A (en) * 2020-03-30 2020-08-18 宇龙计算机通信科技(深圳)有限公司 Data transmission method, device, storage medium and related equipment
CN112087371B (en) * 2020-09-10 2022-11-18 北京百度网讯科技有限公司 Instant messaging group searching method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345607A (en) * 2013-06-03 2013-10-09 东莞宇龙通信科技有限公司 Method and device for intelligently displaying terminal data information
CN103514215A (en) * 2012-06-28 2014-01-15 北京奇虎科技有限公司 Method and device for generating social contact influence information for user
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8359659B2 (en) * 2005-06-24 2013-01-22 Creative Technology Ltd Method and apparatus for protecting private information on a user apparatus
CN103812755A (en) * 2012-11-12 2014-05-21 腾讯科技(深圳)有限公司 Message synchronization method and device in instant messaging application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514215A (en) * 2012-06-28 2014-01-15 北京奇虎科技有限公司 Method and device for generating social contact influence information for user
CN103345607A (en) * 2013-06-03 2013-10-09 东莞宇龙通信科技有限公司 Method and device for intelligently displaying 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

Also Published As

Publication number Publication date
CN106411703A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN106411703B (en) Information synchronization method and device
EP2849411B1 (en) Session establishment methods and corresponding server
CN110086704B (en) Method and system for synchronizing unread messages in instant messaging
US20210067475A1 (en) Instant messaging method, apparatus and system based on email system
CN108494571B (en) Method, device and system for initiating reservation conference
CN109729005B (en) Message processing method and device, computer equipment and storage medium
WO2020238873A1 (en) Communication method, server, and communication system
CN108282395B (en) Message interaction method and related device, communication system and computer storage medium
KR102108882B1 (en) Information update method and device, 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
CN109274575B (en) Message sending method and device and electronic equipment
KR102444164B1 (en) Method and system for providing relevance information between users
CN112770129B (en) Live broadcast-based group chat establishing method, device, server and medium
JP2021506034A (en) Servers and user terminals that support the management of social networks
CN104391858A (en) Chat background presentation method and device based on mobile terminal
CN104935496B (en) Instant communicating method, system, device and instant communication terminal
CN105227443B (en) Synchronization method, synchronization device and synchronization system for session messages
CN104407765A (en) Theme background replacement method and device
CN106664240A (en) Instant messaging group polls
CN105376279B (en) Method and device for recommending contact persons
CN106254226B (en) A kind of information synchronization method and device
CN111557014A (en) Method and system for providing multiple personal data
CN107786431B (en) Message interaction method and related device, communication system and medium product
CN110224924B (en) State updating method and device, storage medium and electronic device
CN111857901B (en) Data processing method, method for generating session background, electronic device and medium

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