CN106254226B - A kind of information synchronization method and device - Google Patents

A kind of information synchronization method and device Download PDF

Info

Publication number
CN106254226B
CN106254226B CN201610826289.1A CN201610826289A CN106254226B CN 106254226 B CN106254226 B CN 106254226B CN 201610826289 A CN201610826289 A CN 201610826289A CN 106254226 B CN106254226 B CN 106254226B
Authority
CN
China
Prior art keywords
chat message
information
terminal
predetermined keyword
target
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.)
Active
Application number
CN201610826289.1A
Other languages
Chinese (zh)
Other versions
CN106254226A (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 CN201610826289.1A priority Critical patent/CN106254226B/en
Publication of CN106254226A publication Critical patent/CN106254226A/en
Application granted granted Critical
Publication of CN106254226B publication Critical patent/CN106254226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/21Monitoring or handling of messages
    • H04L51/23Reliability checks, e.g. acknowledgments or fault reporting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

The embodiment of the invention discloses a kind of information synchronization method and devices, wherein information synchronization method includes: to obtain target account in the chat message of first terminal;The chat message is matched with predetermined keyword;According to the matching degree of the chat message and the predetermined keyword, it is determined whether the chat message is synchronized to second terminal.Using the present invention, it can be determined whether to carry out the synchronous of chat message with the matching degree of predetermined keyword according to chat message, avoid the leakage of important chat message, improve the safety of chat message.

Description

A kind of information synchronization method and device
Technical field
The present invention relates to technical field of communication network more particularly to a kind of information synchronization methods and device.
Background technique
With the use that various instant messagings are applied, many convenience are brought to user, user can appoint at any time Where put with any one or multiple good friends chat, it is different based on the relationship between user and each good friend, chat message Content is also not quite similar, and various chat messages are multifarious, there is secret, is also disclosed, and believes for example, going to work to chat in company Breath can be alternate current operation thing between colleague, comes off duty on the road or goes home, chat message can be the love talk between lover and say Love, or be also possible to say some secret words etc. between the honey of boudoir, in the prior art, all chat messages of a usual account can To synchronize on the various terminal devices for logging in the account, this mode safety is extremely low, and privacy is also poor.
Summary of the invention
The embodiment of the present invention provides a kind of information synchronization method and device, can be according to of chat message and predetermined keyword The synchronization that progress chat message is determined whether with degree, avoids the leakage of important chat message, improves the safety of chat message.
First aspect of the embodiment of the present invention provides a kind of information synchronization method, can include:
Target account is obtained in the chat message of first terminal;
The chat message is matched with predetermined keyword;
According to the matching degree of the chat message and the predetermined keyword, it is determined whether the chat message to be synchronized to Second terminal.
Second aspect of the embodiment of the present invention provides a kind of synchronizing information device, can include:
Acquiring unit, for obtaining target account in the chat message of first terminal;
Matching unit, for matching the chat message with predetermined keyword;
Determination unit, for the matching degree according to the chat message and the predetermined keyword, it is determined whether will be described Chat message is synchronized to second terminal.
Third aspect present invention provides a kind of synchronizing information device, comprising:
Processor and memory;Wherein, the processor is by calling the code in the memory or instructing to execute The some or all of step of information approach described in first aspect.
In the embodiment of the present invention, target account is obtained in the chat message of first terminal, by the chat message and default pass Keyword is matched, according to the matching degree of chat message and predetermined keyword, it is determined whether the chat message is synchronized to second Terminal, in order to improve the crypticity of chat message, avoids important due to may including the privacy of user in chat message The leakage of chat message first passes through predetermined keyword in advance and is screened, to improve the safety of chat message.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the first embodiment flow diagram of information synchronization method provided in an embodiment of the present invention;
Fig. 2 is the second embodiment flow diagram of information synchronization method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of synchronizing information device provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another synchronizing information device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another synchronizing information device provided in an embodiment of the present invention;
Fig. 6 is a kind of system architecture diagram provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first " in the attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include the other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.It is identical that each position in the description shows that the phrase might not be each meant Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Terminal described in the embodiment of the present invention may include smart phone (such as Android phone, iOS mobile phone, Windows Phone mobile phone etc.), tablet computer, palm PC, laptop, mobile internet device (MID, Mobile Internet Devices) or wearable device etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned end End.
Information synchronization method provided in an embodiment of the present invention and device are specifically described below in conjunction with Fig. 1 to Fig. 5.
Fig. 1 is please referred to, is the first embodiment flow diagram of information synchronization method provided in an embodiment of the present invention.This reality Information synchronization method described in example is applied, comprising steps of
S101 obtains target account in the chat message of first terminal;
In the embodiment of the present invention, in the embodiment of the present invention, information exchange platform refers to a kind of by social networks and/or common The network architecture that interest (or common interests) will connect between men, user can be mentioned by the information exchange platform The client of confession carries out daily exchange and some routine matters of processing.Each user can possess for putting down for the information exchange The network identity that other users are recognized on platform, system is automatically the account of its distribution when which can be user's registration Number.
On information exchange platform, social networks, example can be established between different user by way of being confirmed each other Such as, mutual plusing good friend or mutually concern etc..After two users establish social networks, they join as mutual social networks It is people.One group of user can be by way of voluntarily selecting, to form the social networks between having, to form one Social group.Each member in the group is the social networking contacts of every other member in the group, when user it Between become social networking contacts after can client (such as instant messaging application) carry out chat communication.
Each user on information exchange platform all has 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, user in a social group can be with 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.
Each user becomes the network identity mark of user in the account that information exchange platform is registered, and user can be in office Meaning terminal logs in the account of oneself, and any one good friend in the buddy list of the account is selected to exchange.The present invention is real The first terminal for applying example can be any terminal, such as smart phone, personal computer, tablet computer etc..Target account can To be any account in information exchange platform registration.
In subsequent embodiment of the invention, information exchange platform is referred to as server, which can be realized letter Cease all social networks functions of interaction platform.
Wherein, target user using oneself target account first terminal log in, then with the good friend of the target account Any good friend in list chats, and server obtains the target account in the chat message of first terminal, and chat message can To include the work thing talked about between target user and office colleague, the love talk being also possible between target user and lover It says love, is also possible to the secret words etc. said between target user and boudoir honey.It should be noted that target user is and the target The user of account binding.
S102 matches the chat message with predetermined keyword;
In the embodiment of the present invention, which can be the word comprising certain sensitive vocabulary, for example, can be one It is related to the vocabulary of fund security, such as bank card, password a bit, money can also be some and be related to the vocabulary of concealed emotion, for example likes Vigorously, like, can also be and be related to the vocabulary that some leaders that user actively adds are known as, can also be some vocabulary etc. sworn at people Deng.
Optionally, multiple keywords can be preset in server automatically (for example to be carried out according to the common habit of target user It is default), certain target user can also add one's own predetermined keyword, and addition manner can be server to the target Account issues tabs, and user adds predetermined keyword by selection tabs, so that server creation belongs to the target account Keywords database.
S103, according to the matching degree of the chat message and the predetermined keyword, it is determined whether by the chat message It is synchronized to second terminal.
In the embodiment of the present invention, when chat message is matched with predetermined keyword, participle converges in the middle part of the chat message It can be matched with some predetermined keywords, for example, chat message is that " I has just sent out envelope mail to you, and password is 112 ", should Predetermined keyword includes " password and number ", then " password is 112 " just matches in chat message.
In embodiments of the present invention by the institute of the content matched in chat message with predetermined keyword and the chat message There is the ratio between content as matching degree.If matching degree is relatively high, illustrate that the chat message confidentiality is relatively high, if matching degree compares It is low, then illustrate that the chat message confidentiality is relatively low.
It is further alternative, predetermined keyword can also be classified not according to importance height, for example, comprising password and The predetermined keyword of number is high confidentiality predetermined keyword, is matched as long as existing in chat message with the predetermined keyword Vocabulary, that is, forbid the chat message being synchronized to second terminal;Comprising other for example, ID card No., bank card etc Predetermined keyword is low confidentiality predetermined keyword, needs further to be determined according to the matching degree of chat message and predetermined keyword Whether the chat message is synchronized.
Optionally, the matching degree according to the chat message and the predetermined keyword, it is determined whether described will chat Its synchronizing information is to second terminal, comprising:
If the content in the chat message more than preset percentage is matched with the predetermined keyword, forbidding will be described Chat message is synchronized to second terminal;
It, will be described if being less than the preset percentage with the matched content of the predetermined keyword in the chat message Chat message is synchronized to second terminal.
In the embodiment of the present invention, which can be set according to the actual situation, and user can also change this Preset percentage, such as the preset percentage are 30%, if then in chat message being more than 30% content and predetermined keyword Match, then illustrates that the chat message is the information of high confidentiality, forbid all chat messages being synchronized to second terminal.
If, can be synchronous by all chat messages with the matched content of predetermined keyword less than 30% in chat message To second terminal.
It optionally, include at least one information in the chat message;
The matching degree according to the chat message and the predetermined keyword, it is determined whether the chat message is same It walks to second terminal, comprising:
Forbid synchronizing at least one information with the matched information of the predetermined keyword;
By the synchronizing information unmatched at least one information with the predetermined keyword to second terminal.
In the embodiment of the present invention, usual target user uses the chat message between target account and some good friend can be with Which including at least one, need to synchronize in order to accurately determine chat message, which chat message does not need to synchronize, then It can be synchronized using the item number of chat message as basic unit, if being to exist in a certain chat message and predetermined keyword This chat message is not then synchronized to second terminal by the information matched, and other chats for not including predetermined keyword are believed Breath still may synchronize to second terminal.
In the embodiment of the present invention, target account is obtained in the chat message of first terminal, by the chat message and default pass Keyword is matched, according to the matching degree of chat message and predetermined keyword, it is determined whether the chat message is synchronized to second Terminal, in order to improve the crypticity of chat message, avoids important due to may including the privacy of user in chat message The leakage of chat message first passes through predetermined keyword in advance and is screened, to improve the safety of chat message.
It referring to figure 2., is the flow diagram of another information synchronization method provided in an embodiment of the present invention, as schemed institute Show, the information synchronization method of the embodiment of the present invention the following steps are included:
S201 creates the corresponding keywords database of the target account, includes the predetermined keyword in the keywords database;
Wherein, the predetermined keyword in the keywords database is the key that user is added by the target account Word.
In the embodiment of the present invention, server is that each account creates a keywords database, which includes at least One predetermined keyword, which can be user and passes through the keyword that the target account is added, for example, server will Tabs comprising predetermined keyword is issued to the target account, and target user can be chosen when logging in the target account.
S202, obtaining target account includes at least one information in the chat message of first terminal, the chat message;
S203 matches the chat message with predetermined keyword;
S204, obtain at least one information with the matched target information of the predetermined keyword, and using default The target information is encrypted key;
In the embodiment of the present invention, in order to keep second terminal to show the continuity of chat message, the embodiment of the present invention It will be shown by the way of encryption in chat message with the matched target information of predetermined keyword, be server using pre- If target information is encrypted key, the target information after encryption can be a messy code.
The target information after encryption is synchronized to the second terminal by S205, so that the second terminal is aobvious The target information after showing encryption.
In the embodiment of the present invention, encrypted target information is synchronized to the second end for logging in the target account by server End, so that the second terminal shows the target information after encryption, for example, showing the target information in the form of messy code.
S206, receive that the second terminal sends for being asked to the decryption of the target information after the encryption It asks, the decoding request carries authentication information;
In the embodiment of the present invention, when user need when second terminal checks the target information, second terminal can be passed through Instruction is checked in triggering, for example double-clicks the target information of encryption display, and second terminal is sent to server for checking at the encryption The decoding request of target information after reason, while the decoding request needs to carry authentication information, such as fingerprint, sound is close Code, preset password etc..
S207 matches the authentication information with presupposed information, if matching is consistent, by the preset-key It is sent to the second terminal, so that the second terminal is using the preset-key to the target after the encryption Information is decrypted and shows the target information.
In the embodiment of the present invention, authentication information and presupposed information progress that server sends the second terminal Match, when which can be target account registration, the information of target user's input, target user is the target account User bound.
If the authentication information that second terminal is sent matches unanimously with presupposed information, illustrate it is that target user needs It checks, then preset-key is sent to second terminal, second terminal can be using the preset-key to the mesh after encryption Mark information is decrypted, and shows the target information after decryption.
It should be noted that the Encryption Algorithm of the decipherment algorithm corresponding server of second terminal.
In the embodiment of the present invention, target account is obtained in the chat message of first terminal, by the chat message and default pass Keyword is matched, according to the matching degree of chat message and predetermined keyword, it is determined whether the chat message is synchronized to second Terminal, in order to improve the crypticity of chat message, avoids important due to may including the privacy of user in chat message The leakage of chat message first passes through predetermined keyword in advance and is screened, to improve the safety of chat message.
It referring to figure 3., is a kind of structural schematic diagram of synchronizing information device provided in an embodiment of the present invention, as shown, The synchronizing information device of the embodiment of the present invention includes:
Acquiring unit 10, for obtaining target account in the chat message of first terminal;
Matching unit 11, for matching the chat message with predetermined keyword;
Determination unit 12, for the matching degree according to the chat message and the predetermined keyword, it is determined whether by institute It states chat message and is synchronized to second terminal.
Optionally, the determination unit 12 is specifically used for:
If the content in the chat message more than preset percentage is matched with the predetermined keyword, forbidding will be described Chat message is synchronized to second terminal;
It, will be described if being less than the preset percentage with the matched content of the predetermined keyword in the chat message Chat message is synchronized to second terminal.
It optionally, include at least one information in the chat message;The determination unit 12 is specifically used for:
Forbid synchronizing at least one information with the matched information of the predetermined keyword;
By the synchronizing information unmatched at least one information with the predetermined keyword to second terminal.
It optionally, include at least one information in the chat message;The determination unit 12 is specifically used for:
Obtain at least one information with the matched target information of the predetermined keyword, and using preset-key will The target information is encrypted;
The target information after encryption is synchronized to the second terminal, so that second terminal display encryption The target information that treated.
In the embodiment of the present invention, target account is obtained in the chat message of first terminal, by the chat message and default pass Keyword is matched, according to the matching degree of chat message and predetermined keyword, it is determined whether the chat message is synchronized to second Terminal, in order to improve the crypticity of chat message, avoids important due to may including the privacy of user in chat message The leakage of chat message first passes through predetermined keyword in advance and is screened, to improve the safety of chat message.
It referring to figure 4., is the structural schematic diagram of another synchronizing information device provided in an embodiment of the present invention, the present embodiment Described in synchronizing information device be on the synchronizing information device basic described in Fig. 3 optimization obtain, as shown, this The synchronizing information device of inventive embodiments includes:
Acquiring unit 20, for obtaining target account in the chat message of first terminal;
Matching unit 21, for matching the chat message with predetermined keyword;
Determination unit 22, for the matching degree according to the chat message and the predetermined keyword, it is determined whether by institute It states chat message and is synchronized to second terminal.
Further alternative, the synchronizing information device of the embodiment of the present invention further includes receiving unit 23 and transmission unit 24;
Receiving unit 23, for receiving that the second terminal sends for believing the target after the encryption The decoding request of breath, the decoding request carry authentication information;
Transmission unit 24, for matching the authentication information with presupposed information, if matching is consistent, by institute State preset-key and be sent to the second terminal so that the second terminal using the preset-key to the encryption after The target information be decrypted and show the target information.
It is further alternative, the synchronizing information device of the embodiment of the present invention further include:
Creating unit 25 includes described in the keywords database for creating the target account corresponding keywords database Predetermined keyword;
Wherein, the predetermined keyword in the keywords database is the key that user is added by the target account Word.
In the embodiment of the present invention, target account is obtained in the chat message of first terminal, by the chat message and default pass Keyword is matched, according to the matching degree of chat message and predetermined keyword, it is determined whether the chat message is synchronized to second Terminal, in order to improve the crypticity of chat message, avoids important due to may including the privacy of user in chat message The leakage of chat message first passes through predetermined keyword in advance and is screened, to improve the safety of chat message.
It referring to figure 5., is the structural schematic diagram 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 output equipment 2000;At least one Processor 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, processor 3000 and deposit Reservoir 4000 is connected by bus 5000.
Wherein, the receiver of above-mentioned input equipment 1000 concretely server, for receiving target account first eventually The chat message at end;
The transmitter of above-mentioned output equipment 2000 concretely server, for the synchronous target account of second terminal the The chat message of one terminal.
Above-mentioned memory 4000 can be high speed RAM memory, can also be non-labile memory (non-volatile ), such as magnetic disk storage memory.Above-mentioned memory 4000 is used to store a set of program code, above-mentioned input equipment 1000, defeated Equipment 2000 and processor 3000 are used to call the program code stored in memory 4000 out, perform the following operations:
Above-mentioned input equipment 1000, for obtaining target account in the chat message of first terminal;
Above-mentioned processor 3000, for matching the chat message with predetermined keyword;
Above-mentioned processor 3000 is also used to the matching degree according to the chat message and the predetermined keyword, it is determined whether The chat message is synchronized to second terminal.
Optionally, the processor 3000 is according to the matching degree of the chat message and the predetermined keyword, determination It is no that the chat message is synchronized to second terminal, comprising:
If the content in the chat message more than preset percentage is matched with the predetermined keyword, forbidding will be described Chat message is synchronized to second terminal;
It, will be described if being less than the preset percentage with the matched content of the predetermined keyword in the chat message Chat message is synchronized to second terminal.
It optionally, include at least one information in the chat message;
The processor 3000 is according to the matching degree of the chat message and the predetermined keyword, it is determined whether will be described Chat message is synchronized to second terminal, comprising:
Forbid synchronizing at least one information with the matched information of the predetermined keyword;
By the synchronizing information unmatched at least one information with the predetermined keyword to second terminal.
It optionally, include at least one information in the chat message;
The processor 3000 is according to the matching degree of the chat message and the predetermined keyword, it is determined whether will be described Chat message is synchronized to second terminal, comprising:
Obtain at least one information with the matched target information of the predetermined keyword, and using preset-key will The target information is encrypted;
The target information after encryption is synchronized to the second terminal, so that second terminal display encryption The target information that treated.
Above-mentioned input equipment 1000, for receiving that the second terminal sends for described in after the encryption The decoding request of target information, the decoding request carry authentication information;
Above-mentioned output equipment 2000, for the authentication information to be matched with presupposed information, if matching is consistent, The preset-key is then sent to the second terminal, so that the second terminal is using the preset-key to the encryption The target information that treated is decrypted and shows the target information.
The processor 3000 is also used to create the corresponding keywords database of the target account, includes in the keywords database The predetermined keyword;
Wherein, the predetermined keyword in the keywords database is the key that user is added by the target account Word.
In the embodiment of the present invention, target account is obtained in the chat message of first terminal, by the chat message and default pass Keyword is matched, according to the matching degree of chat message and predetermined keyword, it is determined whether the chat message is synchronized to second Terminal, in order to improve the crypticity of chat message, avoids important due to may including the privacy of user in chat message The leakage of chat message first passes through predetermined keyword in advance and is screened, to improve the safety of chat message.
Fig. 6 is please referred to, is 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 establishes network connection with first terminal and second terminal respectively.
Target user is chatted using target account in first terminal and good friend, and server obtains target account first The chat message of terminal, and chat message is matched with predetermined keyword, according to of chat message and predetermined keyword With degree, it is determined whether the chat message is synchronized to second terminal.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, the program include some or all of any information synchronization method recorded in above method embodiment step when executing Suddenly.
Although combining each embodiment herein, invention has been described, however, implementing the claimed invention In the process, those skilled in the art are by checking the attached drawing, disclosure and the appended claims, it will be appreciated that and it is real Other variations of the existing open embodiment.In the claims, " comprising " (comprising) word is not excluded for other compositions Part or step, "a" or "an" are not excluded for multiple situations.Claim may be implemented in single processor or other units In several functions enumerating.Mutually different has been recited in mutually different dependent certain measures, it is not intended that these are arranged It applies to combine and generates good effect.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, apparatus (equipment) or computer journey Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the present invention The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or as the one of hardware Part can also use other distribution forms, such as pass through the wired or wireless telecommunication system of Internet or other.
The present invention be referring to the embodiment of the present invention method, apparatus (equipment) and computer program product flow chart with/ Or block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/ Or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions To general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate one A machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although in conjunction with specific features and embodiment, invention has been described, it is clear that, do not departing from this hair In the case where bright spirit and scope, it can be carry out various modifications and is combined.Correspondingly, the specification and drawings are only institute The exemplary illustration of the invention that attached claim is defined, and be considered as covered in the scope of the invention any and all and repair Change, change, combining or equivalent.Obviously, those skilled in the art various changes and modifications can be made to the invention without It is detached from the spirit and scope of the present invention.If in this way, these modifications and changes of the present invention belong to the claims in the present invention and its Within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.

Claims (9)

1. a kind of information synchronization method, which is characterized in that be applied to server, comprising:
Target account is obtained in the chat message of first terminal;
The chat message is matched with predetermined keyword;
According to the matching degree of the chat message and the predetermined keyword, it is determined whether by the chat message with it is described pre- If the target information of Keywords matching encrypts;When the chat message is matched with the predetermined keyword, by encryption For target information simultaneous display to second terminal, the second terminal is to log in another terminal of the target account.
2. the method as described in claim 1, which is characterized in that include at least one information in the chat message;
According to the matching degree of the chat message and the predetermined keyword, it is determined whether by the chat message with it is described pre- If the target information of Keywords matching encrypts, comprising:
Obtain the chat message, include at least one information in the chat message, obtain at least one information with The matched chat message of predetermined keyword is encrypted the target information as target information, and using preset-key Processing;
The target information after encryption is synchronized to the second terminal, so that the second terminal shows encryption The target information afterwards.
3. method according to claim 2, which is characterized in that the method also includes:
Receive the decoding request being used for the target information after the encryption that the second terminal is sent, the solution Close request carries authentication information;
The authentication information is matched with presupposed information, if matching is consistent, the preset-key is sent to institute Second terminal is stated, so that the second terminal carries out the target information after the encryption using the preset-key It decrypts and shows the target information.
4. method as claimed in any one of claims 1-3, which is characterized in that the acquisition target account is in first terminal Before chat message, further includes:
The corresponding keywords database of the target account is created, includes the predetermined keyword in the keywords database;
Wherein, the predetermined keyword in the keywords database is the keyword that user is added by the target account.
5. a kind of synchronizing information device characterized by comprising
Acquiring unit, for obtaining target account in the chat message of first terminal;
Matching unit, for matching the chat message with predetermined keyword;
Determination unit, for the matching degree according to the chat message and the predetermined keyword, it is determined whether by the chat It is encrypted in information with the matched target information of the predetermined keyword, the determination unit is also used to when the chat message and institute When stating predetermined keyword matching, by the target information simultaneous display of encryption to second terminal, the second terminal is to log in Another terminal of the target account.
6. device as claimed in claim 5, which is characterized in that the determination unit is specifically used for:
Obtain the chat message, include at least one information in the chat message, obtain at least one information with The matched chat message of predetermined keyword is encrypted the target information as target information, and using preset-key Processing;
The target information after encryption is synchronized to the second terminal, so that the second terminal shows encryption The target information afterwards.
7. device as claimed in claim 6, which is characterized in that described device further include:
Receiving unit, the solution being used for the target information after the encryption sent for receiving the second terminal Close request, the decoding request carry authentication information;
Transmission unit, will be described default if matching is consistent for matching the authentication information with presupposed information Key is sent to the second terminal, so that the second terminal is using the preset-key to described in after the encryption Target information is decrypted and shows the target information.
8. the device as described in claim 5-7 any one, which is characterized in that described device further include:
Creating unit includes the default pass in the keywords database for creating the target account corresponding keywords database Keyword;
Wherein, the predetermined keyword in the keywords database is the keyword that user is added by the target account.
9. a kind of synchronizing information device characterized by comprising
Processor and memory;Wherein, the processor is by calling the code in the memory or instructing to execute such as power Benefit requires method described in 1 to 4 any one.
CN201610826289.1A 2016-09-14 2016-09-14 A kind of information synchronization method and device Active CN106254226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610826289.1A CN106254226B (en) 2016-09-14 2016-09-14 A kind of information synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610826289.1A CN106254226B (en) 2016-09-14 2016-09-14 A kind of information synchronization method and device

Publications (2)

Publication Number Publication Date
CN106254226A CN106254226A (en) 2016-12-21
CN106254226B true CN106254226B (en) 2019-10-25

Family

ID=57600121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610826289.1A Active CN106254226B (en) 2016-09-14 2016-09-14 A kind of information synchronization method and device

Country Status (1)

Country Link
CN (1) CN106254226B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603873A (en) * 2017-02-21 2017-04-26 珠海市魅族科技有限公司 Voice control method and voice control system
CN108134789B (en) * 2017-12-21 2020-03-17 北京深思数盾科技股份有限公司 Method for synchronizing data between devices through cloud and cloud server
CN109039860B (en) * 2018-07-17 2021-07-30 北京小米移动软件有限公司 Method and device for sending and displaying message and method and device for identity authentication

Citations (4)

* 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
CN105100081A (en) * 2015-07-02 2015-11-25 惠州Tcl移动通信有限公司 Mobile terminal based on voice services and method for realizing voice services thereof
CN105516947A (en) * 2016-01-28 2016-04-20 宇龙计算机通信科技(深圳)有限公司 Message receiving method and system for mobile terminal
CN105843962A (en) * 2016-04-18 2016-08-10 百度在线网络技术(北京)有限公司 Information processing and displaying methods, information processing and displaying devices as well as information processing and displaying system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8464353B2 (en) * 2003-10-03 2013-06-11 Hewlett-Packard Development Company, L. P. Method and system for content downloads via an insecure communications channel to devices
US9450750B2 (en) * 2009-05-14 2016-09-20 Nec Corporation Communication apparatus and secret information sharing method
CN103812755A (en) * 2012-11-12 2014-05-21 腾讯科技(深圳)有限公司 Message synchronization method and device in instant messaging application
CN104517068A (en) * 2014-12-31 2015-04-15 华为技术有限公司 Audio file processing method and equipment
CN105824825B (en) * 2015-01-06 2019-10-18 中国移动通信集团湖南有限公司 A kind of sensitive data recognition methods and device
CN105844166B (en) * 2015-01-12 2018-11-02 中国移动通信集团江苏有限公司 A kind of sensitive data recognition methods and device
CN105635131B (en) * 2015-12-25 2019-06-25 东软集团股份有限公司 Transmit data method, device and server

Patent Citations (4)

* 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
CN105100081A (en) * 2015-07-02 2015-11-25 惠州Tcl移动通信有限公司 Mobile terminal based on voice services and method for realizing voice services thereof
CN105516947A (en) * 2016-01-28 2016-04-20 宇龙计算机通信科技(深圳)有限公司 Message receiving method and system for mobile terminal
CN105843962A (en) * 2016-04-18 2016-08-10 百度在线网络技术(北京)有限公司 Information processing and displaying methods, information processing and displaying devices as well as information processing and displaying system

Also Published As

Publication number Publication date
CN106254226A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
EP3598312B1 (en) Data transfer method and computer program
Sutikno et al. WhatsApp, viber and telegram: Which is the best for instant messaging?
CN105704085B (en) Method and apparatus for information sharing
EP2849411B1 (en) Session establishment methods and corresponding server
CN113364760A (en) Data encryption processing method and device, computer equipment and storage medium
US20140310346A1 (en) Data analytics and security in social networks
Albrecht et al. Collective Information Security in {Large-Scale} Urban Protests: the Case of Hong Kong
CN110266682B (en) Data encryption method and device, mobile terminal and decryption method
CN112804133B (en) Encryption group chat method and system based on blockchain technology
US20160127280A1 (en) Communication apparatus with in-context messaging
CN106506443B (en) A kind of information inspection method and device
KR20200121583A (en) Method and Apparatus for Distributed Processing of Data using De-identification of Data
CN106254226B (en) A kind of information synchronization method and device
US9432344B2 (en) Secure storage and sharing of user objects
US20220116203A1 (en) Ultrasound split key transmission for enhanced security
CN107154916A (en) A kind of authentication information acquisition methods, offer method and device
KR20170062836A (en) Method for providing chatting service
KR20150073229A (en) The file sharing system and method within messenger group
KR101657243B1 (en) Online secret data managing system and method of the same
CN109302503A (en) The sharing method and device of the generation method of signature, signature template
CN113254989B (en) Fusion method and device of target data and server
US11012394B2 (en) Method and system for providing social media using partition function
KR102137540B1 (en) Method and system for providing social media using partition function
CN112152918B (en) System and method for anonymous and consistent data routing in a client-server architecture
CN104468110A (en) Password authentication method, equipment and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant