CN106411703A - Information synchronization method and apparatus - Google Patents
Information synchronization method and apparatus Download PDFInfo
- 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
- cohesion
- targeted customer
- good friend
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting 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/6245—Protecting 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
Technical field
The present invention relates to technical field of communication network, more particularly, to a kind of information synchronization method and device.
Background technology
With the use of various instant messagings application, bring to user and much facilitate, user can appoint at any time
Where put and any one or multiple good friend chat, different based on the relation between user and each good friend, chat message
Content is also not quite similar, and various chat messages are multifarious, have secret, are also disclosed, such as, in company's working chat letter
Breath can be alternate current operation thing between colleague, and on next road or go home, chat message can be that the love talk between lover is said
Love, or can also be to say some secret words etc. between the honey of boudoir.
In prior art, all chat messages of a usual account number (include all chat letters and each good friend between
Breath) can synchronize on any terminal unit logging in account, this mode privacy is poor, such as, someone
Pass through outside to have a talk about secret words between the instant messaging application of mobile phone and boudoir honey, computer also logs in account at home simultaneously,
Therefore user and boudoir honey between secret words be all synchronized to family computer, household it can be seen that, so destroy user and chat
The crypticity of its information.
Content of the invention
The embodiment of the present invention provides a kind of information synchronization method and device, can be based between targeted customer and different good friends
Cohesion differentiated synchronization chat message, improves the crypticity of chat message between hail fellow.
Embodiment of the present invention first aspect provides a kind of information synchronization method, and it may 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 mesh of login
The second terminal of mark account number.
Embodiment of the present invention second aspect provides a kind of synchronizing information device, and it may include:
First acquisition unit, adopts the chat with target good friend on first terminal of target account number for obtaining targeted customer
Information;
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 same
Walk to the second terminal logging in described target account number.
Third aspect present invention provides a kind of synchronizing information device, including:
Processor and memorizer;Wherein, described processor is executed by calling code in described memorizer or instruction
The some or all of step of the information approach described by first aspect.
In the embodiment of the present invention, obtain targeted customer and adopt target account number to believe with the chat of target good friend on first terminal
Breath, obtains the target cohesion between this targeted customer and target good friend, if target cohesion meets presupposed information synchronous condition,
Then this chat message is synchronized to the second terminal logging in this target account number, this mode can be good with target according to targeted customer
Target cohesion before friend, to determine whether to carry out the synchronization of chat message, can be effectively ensured between the high good friend of cohesion
The crypticity of chat message.
Brief description
In order to be illustrated more clearly that embodiment of the present invention technical scheme, required use in embodiment being described below
Accompanying drawing be briefly described it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of information synchronization method provided in an embodiment of the present invention;
Fig. 2 is the second embodiment schematic flow sheet of information synchronization method provided in an embodiment of the present invention;
Fig. 3 is the 3rd embodiment schematic flow sheet of information synchronization method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of synchronizing information device provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another kind synchronizing information device provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another synchronizing information device provided in an embodiment of the present invention;
Fig. 7 is a kind of system architecture diagram provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work
Example, broadly falls into the scope of protection of the invention.
Term " first " in description and claims of this specification and described accompanying drawing, " second " etc. are for distinguishing
Different objects, rather than be used for describing particular order.Additionally, term " comprising " and " having " and their any deformation it is intended that
It is to cover non-exclusive comprising.For example contain series of steps or process, method, system, product or the equipment of unit do not have
Have and be defined in the step listed or unit, but alternatively also include step or the unit do not listed, or alternatively also wrap
Include for these processes, method, product or the intrinsic other steps of equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments
It is contained at least one embodiment of the present invention.It is identical that each position in the description shows that this phrase might not each mean
Embodiment, be not and the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and
Implicitly it is understood by, embodiment described herein can be combined with other embodiments.
Terminal described by the embodiment of the present invention can include smart mobile phone (as Android phone, iOS mobile phone,
Windows Phone mobile phone etc.), panel computer, palm PC, notebook computer, mobile internet device (MID, Mobile
Internet Devices) or Wearable etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned end
End.
Below in conjunction with Fig. 1 to Fig. 6, information synchronization method provided in an embodiment of the present invention and device are specifically described.
Refer to Fig. 1, be the first embodiment schematic flow sheet of information synchronization method provided in an embodiment of the present invention.This reality
Apply the information synchronization method described in example, including step:
S101, obtains targeted customer and adopts target account number chat message with target good friend on first terminal;
In the embodiment of the present invention, information exchange platform refer to a kind of by social networks and/or common interest (or profit jointly
Benefit) by the network architecture connecting between men, user can be entered by the client that this information exchange platform is provided
Row daily exchange and process some routine matters.Each user can have for for other users on this information exchange platform
The network identity being recognized, this network identity can be the system account number for its distribution automatically during user's registration.
On information exchange platform, can be to set up social networks, example by way of being confirmed each other between different user
As mutual plusing good friend or mutual concern etc..After two users establish social networks, they become social networkies connection each other
It is people.One group of user can be by way of voluntarily selecting, to form the social networks having each other, thus forming one
Social group.Each member in this group is the social networking contacts of every other member in this group, when user it
Between become social networking contacts after can carry out chat communication in client (such as instant messaging application).
Each user on information exchange platform is respectively provided with social networking contacts list, i.e. buddy list, for its with
Good friend in its list is exchanged using forms such as instant communication messages.For example, the user in a social group is permissible
It is in communication with each other by the interface that information exchange platform provides, and can also be provided by information exchange platform between user
Interface is in communication with each other.
The account number that each user registers in information exchange platform becomes the network identity mark of user, and user can be in office
The account number of meaning terminal logs in oneself, and select any one good friend in the buddy list of account to be exchanged.The present invention is real
The first terminal applying example can be any terminal, such as smart mobile phone, personal computer, panel computer etc..Target account number can
To be any account number in information exchange platform registration.
In the subsequent embodiment of the present invention, information exchange platform is referred to as server, this server is capable of letter
All social networkies functions of breath interaction platform.
Wherein, targeted customer adopts the target account number of oneself to log in first terminal, the then good friend with this target account number
Any good friend in list is chatted, and server obtains the chat and target good friend between on first terminal of this target account number
Information, target good friend can be any good friend in the buddy list of this target account number, and chat message can include targeted customer
Talking love between the work thing talked about and office colleague between or targeted customer and lover or
Secret words said between targeted customer and boudoir honey etc..It should be noted that targeted customer is the use with this target account number binding
Family.
S102, obtains the target cohesion between described targeted customer and described target good friend;
In the embodiment of the present invention, the target cohesion between targeted customer and target good friend be used for representing this targeted customer with
Intimacy between this target good friend, such as cohesion can include very intimately, typically intimate and not intimate etc..
Server, i.e. according to user's cohesion model, precalculates intimate between each good friend in this targeted customer and buddy list
Degree.Specifically optional, server according to the mutual dynamic frequency between targeted customer and each good friend calculate targeted customer and each
Cohesion between good friend, mutual dynamic frequency can include the frequency of messaging, mutual dynamic frequency of social circle etc., and wherein social circle is mutual
Dynamic frequency can include social activity punctuates and praises frequency, comments on frequency and share frequency etc..When needing to obtain targeted customer and mesh
During target cohesion between mark good friend, can (mark of target good friend includes target good friend according to the mark with target good friend
The pet name or target good friend account number etc.), find the target cohesion between this targeted customer and target good friend.
It should be noted that when calculating cohesion, cohesion can be determined according to the affiliated scope of mutual dynamic frequency, such as one
In individual time cycle (month), mutual dynamic frequency is very intimate more than 60 times, and mutual dynamic frequency is typically close at 30~60 times
Close, it is not intimate that mutual dynamic frequency is less than 30 times.
Specifically optional, in targeted customer and buddy list, the cohesion between each good friend can also include current parent
Close, the past is intimate (as former girlfriend), unidirectional intimate (you are in unrequited love with other side, always give other side's messaging, always see other side's circle of friends), this
Cohesion is weighed mode and can also be calculated by interactive frequency.
S103, if described target cohesion meets presupposed information synchronous condition, described chat message is synchronized to login
The second terminal of described target account number.
In the embodiment of the present invention, the target cohesion between targeted customer and target good friend meets presupposed information synchronization bar
During part, then chat message between first terminal and target good friend for the targeted customer can be synchronized to and log in this target account number
Second terminal, this presupposed information synchronous condition can be determined according to the concrete form of cohesion, and such as, cohesion is target
Mutual dynamic frequency between user and target good friend, then this presupposed information synchronous condition can be that target cohesion is more than default threshold
Value, or, cohesion is typically intimate, very intimate and intimate according to the determination of mutual dynamic frequency, then this presupposed information is same
Step condition can be very intimate for cohesion.
In the embodiment of the present invention, obtain targeted customer and adopt target account number to believe with the chat of target good friend on first terminal
Breath, obtains the target cohesion between this targeted customer and target good friend, if target cohesion meets presupposed information synchronous condition,
Then this chat message is synchronized to the second terminal logging in this target account number, this mode can be good with target according to targeted customer
Target cohesion before friend, to determine whether to carry out the synchronization of chat message, can be effectively ensured between the high good friend of cohesion
The crypticity of chat message.
Refer to Fig. 2, be the flow chart of another kind information synchronization method provided in an embodiment of the present invention, as illustrated, this
The information synchronization method of inventive embodiments comprises the following steps:
S201, obtains all good friends in the buddy list of described target account number;
In the embodiment of the present invention, the good friend that all good friends in buddy list add for targeted customer, targeted customer is permissible
Chatted with any good friend in buddy list.In order to calculate the parent between all good friends in targeted customer and buddy list
Density, server obtains all good friends in the buddy list of target account number in advance.
S202, calculates the cohesion between each good friend in described targeted customer and described all good friends, and stores described
Cohesion between each good friend in targeted customer and described all good friends.
Specifically optional, the cohesion between each good friend in the described targeted customer of described calculating and described all good friends,
Including:
According to the mutual dynamic frequency between each good friend in described targeted customer and described all good friends, calculate described target and use
Cohesion between family and each described good friend.
Above-mentioned mutual dynamic frequency includes history chat frequency, operation frequency is shared by social circle, social activity is punctuated and praised operation frequency, society
Hand at least one in circle comment operation frequency.
In the embodiment of the present invention, the history chat frequency between targeted customer and good friend can be targeted customer and this good friend
In unit interval, chat number of times or chat content are how many, and the unit interval can be one day, and it can be mesh that operation is shared by social circle
Mark user share good friend upload or reprint various contents (such as photo, video, word etc.), social circle share operation also may be used
To be that good friend shares the various contents that targeted customer uploads or reprints, social activity is punctuated and praised operation can be targeted customer on good friend
The point of the various contents passing or reprinting praises operation, and social activity is punctuated and praised operation can also be that good friend uploads to targeted customer or reprints
The point of various contents praises operation.Social circle's comment operates commenting of the various contents that can be targeted customer to good friend's upload or reprinting
By operation, social circle's comment operation can also be that the comment of the various contents that good friend uploads to targeted customer or reprints operates.
S203, obtains targeted customer and adopts target account number chat message with target good friend on first terminal;
S204, obtains the target cohesion between described targeted customer and described target good friend;
Embodiment of the present invention step S203-S204 refer to embodiment step S101-S102 of Fig. 1, will not be described here.
S205, if described target cohesion is more than predetermined threshold value, described chat message is synchronized to the described target of login
The second terminal of account number.
In the embodiment of the present invention, target cohesion is the mutual dynamic frequency between targeted customer and target good friend, if target is used
Target cohesion between family and target good friend is more than predetermined threshold value, then the chatting in first terminal and target good friend by target account number
Its synchronizing information is to the second terminal logging in this target account number.
In the embodiment of the present invention, obtain targeted customer and adopt target account number to believe with the chat of target good friend on first terminal
Breath, obtains the target cohesion between this targeted customer and target good friend, if target cohesion meets presupposed information synchronous condition,
Then this chat message is synchronized to the second terminal logging in this target account number, this mode can be good with target according to targeted customer
Target cohesion before friend, to determine whether to carry out the synchronization of chat message, can be effectively ensured between the high good friend of cohesion
The crypticity of chat message.
Refer to Fig. 3, be the flow chart of another information synchronization method provided in an embodiment of the present invention, as illustrated, this
The information synchronization method of inventive embodiments comprises the following steps:
S301, obtains all good friends in the buddy list of described target account number;
S302, calculates the cohesion between each good friend in described targeted customer and described all good friends, and stores described
Cohesion between each good friend in targeted customer and described all good friends.
Embodiment of the present invention step S301-S302 refer to embodiment step S201-S202 of Fig. 2, will not be described here.
S303, according to order from big to small, by described targeted customer and described all good friends between each good friend
Cohesion is ranked up, and forms original sequencing table;
In the embodiment of the present invention, after calculating in targeted customer and all good friends the cohesion between each good friend, press
According to order from big to small, the cohesion between each good friend in this targeted customer and all good friends is ranked up, is formed former
Beginning sequencing table.
S304, described original sequencing table is issued to described first terminal;
In the embodiment of the present invention, this original sequencing table is issued to first terminal by server, and it is former that first terminal receives this
After beginning sequencing table, show this original sequencing table, targeted customer can operate to this original sequencing table.
S305, receives the more new command for described original sequencing table of described first terminal feedback, and according to described more
New command, is updated to described original sequencing table.
In the embodiment of the present invention, targeted customer can input the triggering for changing original sequencing table by this first terminal
Instruction, the trigger action of this triggering command can be contact action, voice operating etc..Optionally, targeted customer can adjust
Clooating sequence between each good friend in this original sequencing table, such as, although targeted customer thinks the interaction with some good friend
Frequency is fewer, but targeted customer thinks and is belonging to intimacy and this good friend between, such as, targeted customer and oneself father
Mother chat in social networkies at any time fewer, but be also belonging to intimacy, then original sequencing table can be adjusted with oneself
Sequentially.
First terminal sends the more new command for original sequencing table to server, when server receives this more new command
Afterwards, that is, according to this more new command, original sequencing table is updated.
S306, obtains targeted customer and adopts target account number chat message with target good friend on first terminal;
S307, obtains the target cohesion between described targeted customer and described target good friend;
S308, if the described target cohesion between described targeted customer and described target good friend sorts in described original row
The front default size percentage ratio of sequence table, then be synchronized to, by described chat message, the second terminal logging in described target account number.
In the embodiment of the present invention, pre- when needing to judge whether the target cohesion between targeted customer and target good friend meets
If during synchronizing information condition, this target cohesion can be judged whether to sort before original sequencing table and to preset size percentage
Ratio such as judges whether this target cohesion sorts 30% before original sequencing table, if so, then by target account number first eventually
The chat message at end is synchronized to the second terminal logging in this target account number, this by way of sequence determining whether to be chatted
The embodiment compared to Fig. 2 for its synchronizing information more has feasibility, such as between targeted customer itself and any one good friend
Interaction all fewer, then simply compare with predetermined threshold value, possible accuracy is not just high.
In the embodiment of the present invention, obtain targeted customer and adopt target account number to believe with the chat of target good friend on first terminal
Breath, obtains the target cohesion between this targeted customer and target good friend, if target cohesion meets presupposed information synchronous condition,
Then this chat message is synchronized to the second terminal logging in this target account number, this mode can be good with target according to targeted customer
Target cohesion before friend, to determine whether to carry out the synchronization of chat message, can be effectively ensured between the high good friend of cohesion
The crypticity of chat message.
Refer to Fig. 4, be a kind of structural representation of synchronizing information device provided in an embodiment of the present invention, as illustrated,
The synchronizing information device of the embodiment of the present invention includes first acquisition unit 10, second acquisition unit 11 and lock unit 12;
First acquisition unit 10, for obtain targeted customer adopt target account number on first terminal with target good friend chat
Its information;
Second acquisition unit 11, for obtaining the target cohesion between described targeted customer and described target good friend;
Lock unit 12, if meet presupposed information synchronous condition for described target cohesion, by described chat message
It is synchronized to the second terminal logging in described target account number.
In the embodiment of the present invention, obtain targeted customer and adopt target account number to believe with the chat of target good friend on first terminal
Breath, obtains the target cohesion between this targeted customer and target good friend, if target cohesion meets presupposed information synchronous condition,
Then this chat message is synchronized to the second terminal logging in this target account number, this mode can be good with target according to targeted customer
Target cohesion before friend, to determine whether to carry out the synchronization of chat message, can be effectively ensured between the high good friend of cohesion
The crypticity of chat message.
Refer to Fig. 5, be the structural representation of another kind synchronizing information device provided in an embodiment of the present invention, as schemed institute
Show, the synchronizing information device of the present embodiment includes:
First acquisition unit 20, for obtain targeted customer adopt target account number on first terminal with target good friend chat
Its information;
Second acquisition unit 21, for obtaining the target cohesion between described targeted customer and described target good friend;
Lock unit 22, if meet presupposed information synchronous condition for described target cohesion, by described chat message
It is synchronized to the second terminal logging in described target account number.
Optionally, the synchronizing information device of the embodiment of the present invention also includes the 3rd acquiring unit 23 and computing unit 24;
3rd acquiring unit 23, for obtaining all good friends in the buddy list of described target account number;
Computing unit 24, for calculating the cohesion between each good friend in described targeted customer and described all good friends,
And store the cohesion between each good friend in described targeted customer and described all good friends.
Specifically optional, described computing unit 24 specifically for according in described targeted customer and described all good friends each
Mutual dynamic frequency between good friend, calculates the cohesion between described targeted customer and each described good friend.
Above-mentioned mutual dynamic frequency includes history chat frequency, operation frequency is shared by social circle, social activity is punctuated and praised operation frequency, society
Hand at least one in circle comment operation frequency.
If above-mentioned lock unit 22 is more than predetermined threshold value specifically for described target cohesion, described chat message is same
Walk to the second terminal logging in described target account number.
Further alternative, the synchronizing information device of the embodiment of the present invention also includes sequencing unit 25;
Sequencing unit 25, for according to order from big to small, by described targeted customer and described all good friends each
Cohesion between good friend is ranked up, and forms original sequencing table;
If above-mentioned lock unit 22 is intimate specifically for the described target between described targeted customer and described target good friend
Size percentage ratio is preset in degree sequence before described original sequencing table, then described chat message is synchronized to the described target account of login
Number second terminal.
Further alternative, the synchronizing information device of the embodiment of the present invention also includes issuance unit 26 and updating block 27;
Issuance unit 26, for being issued to described first terminal by described original sequencing table;
Updating block 27, for receiving the more new command for described original sequencing table of described first terminal feedback, and
According to described more new command, described original sequencing table is updated.
In the embodiment of the present invention, obtain targeted customer and adopt target account number to believe with the chat of target good friend on first terminal
Breath, obtains the target cohesion between this targeted customer and target good friend, if target cohesion meets presupposed information synchronous condition,
Then this chat message is synchronized to the second terminal logging in this target account number, this mode can be good with target according to targeted customer
Target cohesion before friend, to determine whether to carry out the synchronization of chat message, can be effectively ensured between the high good friend of cohesion
The crypticity of chat message.
Refer to Fig. 6, be the structural representation of another synchronizing information device provided in an embodiment of the present invention.The present embodiment
Described in synchronizing information device include:At least one input equipment 1000;At least one outut device 2000;At least one
Processor 3000, such as CPU;With memorizer 4000, above-mentioned input equipment 1000, outut device 2000, processor 3000 and deposit
Reservoir 4000 is connected by bus 5000.
Wherein, the receptor of above-mentioned input equipment 1000 concretely server, for receiving target account number first eventually
The chat message at end;
The emitter of above-mentioned outut device 2000 concretely server, for second terminal synchronization target account number the
The chat message of one terminal.
Above-mentioned memorizer 4000 can be high-speed RAM memorizer, alternatively non-labile memorizer (non-volatile
Memory), such as disk memory.Above-mentioned memorizer 4000 is used for storing batch processing code, above-mentioned input equipment 1000, defeated
Go out equipment 2000 and processor 3000 is used for calling the program code of storage in memorizer 4000, execution is following to be operated:
Above-mentioned input equipment 1000, adopts target account number with target good friend's on first terminal for obtaining targeted customer
Chat message;
Above-mentioned processor 3000, for obtaining the target cohesion between described targeted customer and described target good friend;
Above-mentioned outut device 2000, if meeting presupposed information synchronous condition for described target cohesion, chats described
Its synchronizing information is to the second terminal logging in described target account number.
Optionally, above-mentioned input equipment 1000 obtain targeted customer adopt target account number on first terminal with target good friend
Chat message before, also include:
Above-mentioned processor 3000 obtains all good friends in the buddy list of described target account number;
Above-mentioned processor 3000 calculates the cohesion in described targeted customer and described all good friends between each good friend, and
Store the cohesion between each good friend in described targeted customer and described all good friends.
Optionally, above-mentioned processor 3000 calculates the parent in described targeted customer and described all good friends between each good friend
Density, including:
According to the mutual dynamic frequency between each good friend in described targeted customer and described all good friends, calculate described target and use
Cohesion between family and each described good friend.
Described mutual dynamic frequency includes history chat frequency, operation frequency is shared by social circle, social activity is punctuated and praised operation frequency, society
Hand at least one in circle comment operation frequency.
Optionally, if above-mentioned described target cohesion meets presupposed information synchronous condition, described chat message is synchronous
Specifically include to the second terminal logging in described target account number:
If described target cohesion is more than predetermined threshold value, described chat message is synchronized to and logs in described target account number
Second terminal.
Preferably, according to order from big to small, by described targeted customer and described all good friends between each good friend
Cohesion be ranked up, formed original sequencing table;
If above-mentioned described target cohesion meets presupposed information synchronous condition, described chat message is synchronized to login institute
The second terminal stating target account number specifically includes:
If the described target cohesion between described targeted customer and described target good friend sorts in described original sequencing table
Front default size percentage ratio, then described chat message is synchronized to the second terminal logging in described target account number.
Optionally, described original sequencing table is issued to described first terminal by above-mentioned outut device 2000;
Above-mentioned input equipment 1000 receives the more new command for described original sequencing table of described first terminal feedback, and
According to described more new command, described original sequencing table is updated.
In the embodiment of the present invention, obtain targeted customer and adopt target account number to believe with the chat of target good friend on first terminal
Breath, obtains the target cohesion between this targeted customer and target good friend, if target cohesion meets presupposed information synchronous condition,
Then this chat message is synchronized to the second terminal logging in this target account number, this mode can be good with target according to targeted customer
Target cohesion before friend, to determine whether to carry out the synchronization of chat message, can be effectively ensured between the high good friend of cohesion
The crypticity of chat message.
Refer to Fig. 7, be a kind of network system architecture figure provided in an embodiment of the present invention, the system tray of the embodiment of the present invention
Composition includes server, first terminal and second terminal, and server sets up network connection with first terminal and second terminal respectively.
Targeted customer is chatted with target good friend on first terminal using target account number, and server obtains targeted customer
Using target account number on first terminal the chat message and target good friend between, and obtain between targeted customer and target good friend
Target cohesion, if this target cohesion meets presupposed information synchronous condition, server is by the chat message of first terminal
It is synchronized to the second terminal logging in this target account number.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can be stored with journey
Sequence, includes the part or all of step of any information synchronization method described in said method embodiment during this program performing
Suddenly.
Although here combines each embodiment, and invention has been described, however, implementing the present invention for required protection
During, those skilled in the art are by checking described accompanying drawing, disclosure and appended claims it will be appreciated that and real
Other changes of existing described open embodiment.In the claims, " include " (comprising) one word and be not excluded for other compositions
Part or step, "a" or "an" is not excluded for multiple situations.Single processor or other units can realize claim
In some functions enumerating.Mutually different has been recited in mutually different dependent some measures, it is not intended that these are arranged
Applying to combine produces good effect.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer journey
Sequence product.Therefore, the present invention using complete hardware embodiment, complete software embodiment or can combine software and hardware aspect
The form of embodiment.And, the present invention can be using in one or more calculating wherein including computer usable program code
The upper computer program implemented of machine usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.)
The form of product.Computer program is stored/distributed in suitable medium, provides or as hardware one together with other hardware
Part, it would however also be possible to employ other distribution forms, such as by the wired or wireless telecommunication system of Internet or other.
The present invention be with reference to the embodiment of the present invention the flow chart of method, device (equipment) and computer program with/
Or block diagram is describing.It should be understood that can by each flow process in computer program instructions flowchart and/or block diagram and/
Or the combination of the flow process in square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided
To general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device processor to produce one
Individual machine is so that produced for realizing by the instruction of computer or the computing device of other programmable data processing device
The device of the function of specifying in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spy
Determine in the computer-readable memory that mode works so that the instruction generation inclusion being stored in this computer-readable memory refers to
Make the manufacture of device, this command device realize in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that counting
On calculation machine or other programmable devices, execution series of operation steps to be to produce computer implemented process, thus in computer or
On other programmable devices, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process and/or block diagram one
The step of the function of specifying in individual square frame or multiple square frame.
Although in conjunction with specific features and embodiment invention has been described it is clear that, without departing from this
In the case of bright spirit and scope, it can be carried out with various modifications and combine.Correspondingly, the specification and drawings are only institute
The exemplary illustration of the present invention that attached claim is defined, and be considered as covering arbitrarily repairing in the scope of the invention with all
Change, change, combining or equivalent.Obviously, those skilled in the art the present invention can be carried out various change and modification and not
Depart from the spirit and scope of the present invention.So, if the present invention these modification and modification belong to the claims in the present invention and its
Within the scope of equivalent technologies, then the present invention is also intended to comprise these changes and modification.
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.
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)
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 |
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 |
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 | 北京百度网讯科技有限公司 | Instant messaging group searching method, device, equipment and storage medium |
Citations (7)
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 | 东莞宇龙通信科技有限公司 | 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 |
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 |
-
2016
- 2016-09-14 CN CN201610828044.2A patent/CN106411703B/en not_active Expired - Fee Related
Patent Citations (7)
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 | 东莞宇龙通信科技有限公司 | 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 |
Cited By (5)
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 | 北京百度网讯科技有限公司 | Instant messaging group searching method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106411703B (en) | 2020-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106716934B (en) | Chat interaction method and device and electronic equipment thereof | |
CN106411703A (en) | Information synchronization method and apparatus | |
US9832144B2 (en) | Method and device for implementing instant communication | |
CN109891447A (en) | Change the visual aspects of graphic user interface to take focus to message | |
CN107040816A (en) | A kind of client application operation exception analysis method and device | |
EP2736199A1 (en) | Method and device for prompting dynamic information about contact person | |
AU2022268327B2 (en) | An interactive broadcast management system | |
CN104283769B (en) | The user oriented instant message service based on project interested | |
CN109729005A (en) | Message treatment method, device, computer equipment and storage medium | |
CN106896986B (en) | Conference record generation method and device | |
CN102025657A (en) | Method and system for inviting friends to join social network by utilizing email | |
CN110609970B (en) | User identity identification method and device, storage medium and electronic equipment | |
CN106533923A (en) | Information processing method and device based on instant messaging software | |
CN111130986A (en) | Message sending method, device, equipment and storage medium | |
CN112134779B (en) | Network information processing method, device, system, client and readable storage medium | |
CN112242948B (en) | Group session processing method and device, computer equipment and storage medium | |
CN111557014A (en) | Method and system for providing multiple personal data | |
CN107508745A (en) | The association input method and device and computing device of prompting message | |
CN114257570A (en) | Processing method, device, equipment and medium based on multi-person session | |
CN109302503A (en) | The sharing method and device of the generation method of signature, signature template | |
US20150120828A1 (en) | Recalling activities during communication sessions | |
CN106254226A (en) | A kind of information synchronization method and device | |
CN104901869A (en) | Interaction method for online group members | |
CN114945036B (en) | Processing method of shared data, related equipment and medium | |
CN106230710A (en) | A kind of information synchronization method and device |
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 |
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. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200114 |
|
CF01 | Termination of patent right due to non-payment of annual fee |