[go: up one dir, main page]

CN106953863B - Synchronization method and device - Google Patents

Synchronization method and device Download PDF

Info

Publication number
CN106953863B
CN106953863B CN201710184288.6A CN201710184288A CN106953863B CN 106953863 B CN106953863 B CN 106953863B CN 201710184288 A CN201710184288 A CN 201710184288A CN 106953863 B CN106953863 B CN 106953863B
Authority
CN
China
Prior art keywords
generated content
user
content
user generated
privacy information
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
CN201710184288.6A
Other languages
Chinese (zh)
Other versions
CN106953863A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710184288.6A priority Critical patent/CN106953863B/en
Publication of CN106953863A publication Critical patent/CN106953863A/en
Application granted granted Critical
Publication of CN106953863B publication Critical patent/CN106953863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a synchronization method and a device, which are used for acquiring a synchronization instruction for synchronizing user generated content to a server after the user generated content in a mobile terminal is acquired, judging whether the user generated content comprises privacy information or not to obtain a judgment result, and responding to the synchronization instruction according to the judgment result to correspondingly process the user generated content. If the judgment result indicates that the user generated content includes the privacy information, the synchronization instruction may be used to instruct to perform encryption synchronization on the user generated content, that is, to perform encryption processing on the user generated content to obtain encrypted content, and to synchronize the encrypted content to the server, so as to improve the security of the information.

Description

Synchronization method and device
Technical Field
The present invention belongs to the technical field of user generated content processing, and more particularly, to a synchronization method and apparatus.
Background
At present, with the development of internet technology, networks gradually become important sources for people to acquire information, and particularly after the internet enters the web2.0 era, users are not only browsers of website content but also manufacturers of the website content, so that more and more user-generated content in the internet system, such as a microblog system and/or a blog system, can be regarded as user-generated content, such as logs, photos, videos and the like in the internet system. In addition to modification of website content, with the rise of network storage, it is also becoming more common to store local user-generated content on a server for backup or sharing.
For the user-generated contents, the user-generated contents can be obtained from a mobile terminal used by the user, and when a piece of user-generated contents is obtained, the mobile terminal can upload the user-generated contents to a social network server or a storage server.
However, the obtained user generated content may include user privacy information such as a credit card, a bank card, an identification card photo, and the like, and if the user generated content including the user privacy information is uploaded, the privacy information may be leaked, and the security of the information may be reduced.
Disclosure of Invention
In view of the above, the present invention provides a synchronization method and apparatus for improving information security. The technical scheme is as follows:
the invention provides a synchronization method, which comprises the following steps:
acquiring user generated content in a mobile terminal;
judging whether the user generated content comprises privacy information or not to obtain a judgment result, wherein the security level of the privacy information is greater than that of other types of information;
acquiring a synchronization instruction for synchronizing the user generated content to a server;
and responding to the synchronous instruction according to the judgment result, and performing corresponding processing on the user generated content.
Preferably, the responding to the synchronization instruction according to the determination result and performing corresponding processing on the user-generated content includes:
under the condition that the judgment result shows that the user generated content comprises the privacy information, the user generated content is encrypted to obtain encrypted content, and the encrypted content is synchronized to the server;
or
And under the condition that the judgment result shows that the user generated content comprises the privacy information, the user generated content is not synchronized.
Preferably, the determining whether the content generated by the user includes the privacy information to obtain a determination result includes:
under the condition that the user generated content is video content, carrying out image recognition on the video content to obtain a recognition result in the video content;
judging whether the identification result comprises the target information or not;
obtaining a judgment result indicating that the user generated content includes the privacy information under the condition that the identification result includes the target information;
and obtaining a judgment result indicating that the privacy information is not included in the user-generated content under the condition that the target information is not included in the identification result.
Preferably, when a plurality of user generated contents are acquired simultaneously, each user generated content corresponds to one judgment result;
the responding the synchronous instruction according to the judgment result and correspondingly processing the user generated content comprises the following steps: under the condition that the judgment result shows that the user generated content does not include the privacy information, directly synchronizing the user generated content to the server;
skipping the synchronization instruction when the judgment result indicates that the user generated content includes the privacy information;
after synchronization of the user-generated content that does not include the privacy information is completed, prompting a user to process the user-generated content that includes the privacy information.
Preferably, after the responding to the synchronization instruction according to the determination result and performing corresponding processing on the user-generated content, the method further includes:
after the user generated content is encrypted and synchronized to the server, compressing the user generated content to obtain compressed content;
storing the compressed content locally and deleting the user-generated content;
after receiving a detail viewing instruction, acquiring the user-generated content matched with the detail viewing instruction;
locally displaying the user-generated content that matches the detail viewing instructions.
The present invention also provides a synchronization apparatus, the apparatus comprising:
a first acquisition unit configured to acquire user-generated content in a mobile terminal;
the judging unit is used for judging whether the user generated content comprises privacy information or not to obtain a judging result, and the security level of the privacy information is greater than that of other types of information;
a second obtaining unit, configured to obtain a synchronization instruction for synchronizing the user-generated content with a server;
and the processing unit is used for responding to the synchronous instruction according to the judgment result and carrying out corresponding processing on the user generated content.
Preferably, the processing unit is configured to, when the determination result indicates that the user generated content includes the privacy information, perform encryption processing on the user generated content to obtain an encrypted content, and synchronize the encrypted content with the server;
or
And the processing unit is used for not synchronizing the user generated content under the condition that the judgment result shows that the user generated content comprises the privacy information.
Preferably, the judging unit includes:
the identification subunit is used for carrying out image identification on the image content to obtain an identification result in the image content under the condition that the user generated content is the image content;
a judging subunit, configured to judge whether the target information is included in the identification result;
a result obtaining subunit, configured to obtain, in a case where the target information is included in the identification result, a determination result indicating that the privacy information is included in the user-generated content, and obtain, in a case where the target information is not included in the identification result, a determination result indicating that the privacy information is not included in the user-generated content.
Preferably, when a plurality of user generated contents are acquired simultaneously, each user generated content corresponds to one judgment result;
the processing unit is used for directly synchronizing the user generated content to the server under the condition that the judgment result shows that the user generated content does not include the privacy information; and under the condition that the judgment result shows that the user generated content comprises the privacy information, skipping the synchronization instruction, and prompting the user to process the user generated content comprising the privacy information after completing the synchronization of the user generated content not comprising the privacy information.
Preferably, the apparatus further comprises: the compression processing unit is used for compressing the user generated content after the user generated content is encrypted and synchronized to the server to obtain a compressed content;
a storage unit for locally storing the compressed content;
a deleting unit configured to delete a user-generated content corresponding to the compressed content;
the first obtaining unit is used for obtaining the user generated content matched with the detail viewing instruction after the second obtaining unit receives the detail viewing instruction;
and the display unit is used for locally displaying the user-generated content matched with the detail viewing instruction.
Compared with the prior art, the technical scheme provided by the invention has the following advantages:
by means of the technical scheme, after the user generated content in the mobile terminal is obtained, the synchronization instruction for synchronizing the user generated content to the server is obtained, whether the user generated content comprises privacy information or not is judged, a judgment result is obtained, and the user generated content is correspondingly processed according to the judgment result and the synchronization instruction. If the judgment result indicates that the user generated content includes the privacy information, the synchronization instruction may be used to instruct to perform encryption synchronization on the user generated content, that is, to perform encryption processing on the user generated content to obtain encrypted content, and to synchronize the encrypted content to the server, so as to improve the security of the information.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a synchronization method provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of a manipulation interface provided by an embodiment of the present invention;
FIG. 3 is another flow chart of a synchronization method provided by an embodiment of the present invention;
FIG. 4 is a schematic diagram of a content display interface provided by an embodiment of the invention;
FIG. 5 is a schematic structural diagram of a synchronization apparatus according to an embodiment of the present invention;
fig. 6 is another schematic structural diagram of a synchronization apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a synchronization method according to an embodiment of the present invention is shown, which may include the following steps:
101: user-generated content in a mobile terminal is acquired. The user-generated content may include content generated by the user on the mobile terminal, such as text input through a touch screen of the mobile terminal, an image captured by a camera, a screenshot generated on the mobile terminal, and may also include content received by the user or locally stored in the mobile terminal.
102: and judging whether the content generated by the user comprises the privacy information or not to obtain a judgment result. It can be understood that the privacy information is information that is not easily known by others, such as personal information of the user, and specifically, the privacy information may be information such as a credit card, a bank card, and an identification card photo of the user, which, once known by others, may cause a great harm to the security of the personal information of the user, and therefore, the security level of the privacy information is higher than that of other types of information.
In the embodiment of the present invention, it is determined whether the content generated by the user includes the privacy information, and one possible way to obtain the determination result is: under the condition that the user generated content is the video content, carrying out image recognition on the video content to obtain a recognition result in the video content; judging whether the identification result comprises target information or not; the target information refers to information including private information, such as a credit card, a bank card, an identification card photo of the user, and the like, which are personal, and of course, the embodiments of the present invention are not limited to these examples, and information that may cause private information of the user to be leaked is all considered as target information, and is considered to be within the protection scope of the embodiments of the present invention.
When the identification result includes the target information, it is described that the video content serving as the user-generated content includes privacy information causing leakage of the user privacy information, and at this time, a judgment result indicating that the user-generated content includes the privacy information can be obtained; in the case where the target information is not included in the recognition result, it is described that the influence content as the user-generated content does not include the privacy information that causes the leakage of the user privacy information, and at this time, a determination result indicating that the privacy information is not included in the user-generated content can be obtained.
If the image content is subjected to image recognition, and the recognition result comprises at least one of the information of the credit card, the bank card and the identification card photo, the image content contains privacy information which causes the leakage of the user privacy information, and at the moment, a judgment result indicating that the content generated by the user comprises the privacy information can be obtained; if the identification result does not include any information in the credit card, the bank card and the identification card and other private information of the user, it is indicated that the image content does not include the private information causing the private information of the user to be leaked, and at this time, a judgment result indicating that the private information is not included in the content generated by the user can be obtained.
103: and acquiring a synchronization instruction for synchronizing the content generated by the user to the server.
104: and responding to the synchronous instruction according to the judgment result, and performing corresponding processing on the user generated content.
In the embodiment of the present invention, the synchronization instruction refers to synchronizing the acquired user generated content from the mobile terminal to the server, and in the prior art, the acquired user generated content is directly synchronized from the mobile terminal to the server after the synchronization instruction is acquired. The embodiment of the present invention needs to respond to the synchronization instruction according to the determination result, because if the determination result indicates that the user-generated content includes the private information, if the user-generated content is directly synchronized to the server from the mobile terminal, the security of the information is reduced, and therefore, the embodiment of the present invention needs to respond to the synchronization instruction according to the determination result.
For example, under the condition that the judgment result shows that the user generated content does not include the privacy information, synchronizing the user generated content from the mobile terminal to the server; in the case that the judgment result indicates that the user generated content includes the privacy information, the mode of responding to the synchronization instruction includes, but is not limited to, the following two modes:
one way is that: and under the condition that the judgment result shows that the user generated content comprises the privacy information, encrypting the user generated content to obtain encrypted content, and synchronizing the encrypted content to the server. That is, in the case that the judgment result indicates that the private information is included in the user-generated content, it is necessary to encrypt and synchronize the user-generated content to the server to improve the security of the information.
The other mode is as follows: under the condition that the judgment result shows that the user generated content comprises the privacy information, the user generated content is not synchronized, namely under the condition that the judgment result shows that the user generated content comprises the privacy information, the user generated content is not synchronized to the server from the mobile terminal any more, so that the probability of information acquisition can be reduced, and the information safety is improved.
In practical applications, a plurality of user generated contents are simultaneously acquired from the mobile terminal, and each user generated content corresponds to one judgment result, and correspondingly, in this case, a feasible manner for performing corresponding processing on the user generated contents according to a synchronous instruction of the judgment result is as follows:
processing the judgment results corresponding to the generated content of each user one by one, and directly synchronizing the generated content of the user to the server under the condition that the judgment results show that the generated content of the user does not include privacy information; skipping a synchronization instruction under the condition that the judgment result shows that the user generated content comprises the privacy information; after synchronization of the user-generated content that does not include the private information is completed, the user is prompted to process the user-generated content that includes the private information.
That is, when the judgment results corresponding to the generated contents of each user are processed one by one, if the judgment result of the generated contents of a certain user indicates that the generated contents of the user do not include privacy information, the generated contents of the user are synchronized to the server from the mobile terminal; and if the judgment result of the user generated content indicates that the user generated content comprises the privacy information, suspending the processing of the user generated content until other user generated content not comprising the privacy information is synchronized to the server, and prompting the user to process the user generated content comprising the privacy information and subjected to the suspended processing.
For example, after other user generated content not including the privacy information is synchronized to the server, the mobile terminal outputs the prompt information to prompt the user that the user generated content still including the privacy information needs to be processed, and the prompt manner of the prompt information includes, but is not limited to, the manner shown in the embodiment of the present invention: the voice prompt is displayed in a display area of the mobile terminal in a text form, or a voice prompt is output in a voice form, or a combination of the text and the voice can be adopted.
Moreover, a control interface may also be displayed on the mobile terminal, and various processing manners for the user-generated content including the privacy information may be pre-made on the control interface, as shown in fig. 2, where the various processing manners include: encryption synchronization, asynchronization and synchronization are carried out, so that a user can select a processing mode of user generated content comprising privacy information through a control interface. The encryption synchronization is to encrypt the user generated content including the privacy information to obtain encrypted content and synchronize the encrypted content to the server; the asynchronous mode refers to that the content generated by the user is not synchronized to the server from the mobile terminal any more; and the synchronization is to synchronize the user-generated content from the mobile terminal to the server.
The user selects a processing mode for the user generated content comprising the privacy information through the control interface, and the processing mode is as follows: the same processing mode can be selected for the user generated content which comprises the privacy information currently; or selecting a corresponding processing mode for each current user generated content including the privacy information according to the importance degree and the integrity degree of the user to the privacy information included in the user generated content, if the user generated content includes the back of the identity card, determining that the importance degree of the privacy information included in the user generated content is low, and selecting a synchronous processing mode for the user generated content; if the user generated content comprises the front side of the identity card, the importance degree of the privacy information contained in the user generated content is considered to be higher, and at the moment, an encryption synchronous processing mode or an asynchronous processing mode can be selected for the user generated content.
By means of the technical scheme, after the user generated content in the mobile terminal is obtained, the synchronization instruction for synchronizing the user generated content to the server is obtained, whether the user generated content comprises privacy information or not is judged, a judgment result is obtained, and the user generated content is correspondingly processed according to the judgment result and the synchronization instruction. If the judgment result indicates that the user generated content includes the privacy information, the synchronization instruction may be used to instruct to perform encryption synchronization on the user generated content, that is, to perform encryption processing on the user generated content to obtain encrypted content, and to synchronize the encrypted content to the server, so as to improve the security of the information.
Referring to fig. 3, another flowchart of a synchronization method according to an embodiment of the present invention is shown, and on the basis of fig. 1, the method may further include the following steps:
105: and after the user generated content is encrypted and synchronized to the server, compressing the user generated content to obtain the compressed content.
In the embodiment of the present invention, the compression processing on the user-generated content may be performed by various existing compression processing methods, which are not described in the present invention one by one, but a feasible method for encrypting and synchronizing the user-generated content to the server is as follows: under the condition that a communication link is established between the mobile terminal and other mobile terminals, the mobile terminal is closer to the other mobile terminals, at this time, the content generated by the user is encrypted, the encrypted content can be directly sent to the other mobile terminals after being obtained, and then the encrypted content is synchronously encrypted to the server through the other mobile terminals. And under the condition that a communication link is not established between the mobile terminal and other mobile terminals, the mobile terminal and other mobile terminals are far away from each other, and at the moment, the encrypted content can be directly synchronized into the server by the mobile terminal.
When the mobile terminal needs to synchronize a plurality of encrypted contents to the server, the mobile terminal can divide the plurality of encrypted contents into two parts, wherein one part is synchronized to the server through other mobile terminals, the other part is synchronized to the server through the mobile terminal, so that the synchronization rate is increased, the communication rate between the mobile terminal and other mobile terminals is higher than that between the mobile terminal and the server, and the mobile terminal can quickly synchronize the parts in the encrypted contents to other mobile terminals, so that the system resources used by the mobile terminal for synchronizing the encrypted contents are reduced, and the mobile terminal can use the system resources to process other tasks. And when the other mobile terminals synchronize the encrypted content to the server, the encrypted content can still be retained in the mobile terminal and directly synchronized to the encrypted content in the server, or can be synchronized to the other mobile terminals from the server through communication links between the other mobile terminals and the server, and when the storage space in the other mobile terminals is insufficient, the user needs to be prompted to delete the encrypted content stored in the other mobile terminals, for example, the encrypted content can be deleted according to the storage time and/or the use frequency of the encrypted content.
In the embodiment of the present invention, the storage space of the other mobile terminal is larger than that of the mobile terminal, for example, the mobile terminal may be an electronic device which has a small volume and is convenient to carry about, the other mobile terminal may be an electronic device which has a large volume and is larger than that of a PC (Personal Computer), and the storage space of the other mobile terminal is larger than that of the mobile terminal, and the other mobile terminal and the mobile terminal of the type such as the mobile phone can quickly perform content synchronization.
106: the compressed content is stored locally and the user-generated content is deleted to reduce the occupied space of the compressed content locally, but the user-generated content can also be viewed locally by displaying the compressed content.
107: and after receiving the detail viewing instruction, acquiring the user generated content matched with the detail viewing instruction. The detail viewing instruction is used for instructing to view original user-generated content (uncompressed user-generated content), namely user-generated content acquired from the mobile terminal.
In this embodiment of the present invention, the mobile terminal displays the compressed content through the content display interface, and when the compressed content is displayed, may display at least one control for operating the compressed content on the content display interface, as shown in fig. 4, where the at least one control includes: the detail control, the enlargement control, the reduction control, and the like are illustrated in fig. 4 by taking the detail control, the enlargement control, and the reduction control as examples.
The detail control is used for indicating that original user generated content needs to be displayed in the content display interface, the amplification control is used for indicating that the compressed content needs to be amplified, and if the amplification control is triggered after the original user generated content is displayed in the content display interface, the amplification control is used for indicating that the original user generated content is amplified; the zooming-out control is used for indicating that the compressed content needs to be zoomed out, and if the zooming-out control is triggered after the original user-generated content is displayed in the content display interface, the zooming-out control is used for indicating that the original user-generated content is zoomed out.
When any control is triggered, the mobile terminal receives a corresponding instruction, and if the detail control is triggered, the mobile terminal receives a detail checking instruction, and at the moment, the mobile terminal can acquire user generated content matched with the detail checking instruction.
In the embodiment of the present invention, a feasible way to obtain the user-generated content matched with the detail viewing instruction is as follows: under the condition that a communication link is established between the mobile terminal and other mobile terminals, inquiring whether user generated content matched with the detail checking instruction is stored in the other mobile terminals or not, if so, acquiring the user generated content matched with the detail checking instruction from the other mobile terminals, and if not, acquiring the user generated content matched with the detail checking instruction from the server; and under the condition that a communication link is not established between the mobile terminal and other mobile terminals, directly acquiring the user-generated content matched with the detail viewing instruction from the server.
108: and displaying the user generated content matched with the detail viewing instruction locally, so that even if only compressed content is stored locally, original user generated content can be displayed locally through the process, and the purpose of displaying the original user generated content locally is realized under the condition of saving local occupied space.
The points to be explained here are: the above processing method for the encrypted content may also be applied to the user generated content that does not include the privacy information, that is, after the user generated content that does not include the privacy information is synchronized to the server, the user generated content that does not include the privacy information may also be compressed to obtain the compressed content, the compressed content is stored locally, and the user generated content that does not include the privacy information is deleted.
By means of the technical scheme, after the encrypted content is synchronized to the server, the compressed content of the user generated content can be obtained, only the compressed content is stored locally, so that the occupied space of the compressed content in the local area is reduced, and meanwhile, the user generated content can be viewed locally by displaying the compressed content. And when the user generated content needs to be viewed, the user generated content matched with the detail viewing instruction can be obtained, and the purpose of displaying the user generated content locally is achieved.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a synchronization apparatus, a schematic structural diagram of which is shown in fig. 5, and the synchronization apparatus may include: a first acquisition unit 11, a judgment unit 12, a second acquisition unit 13 and a processing unit 14.
A first obtaining unit 11, configured to obtain user-generated content in the mobile terminal. The user-generated content may include content generated by the user on the mobile terminal, such as text input through a touch screen of the mobile terminal, an image captured by a camera, a screenshot generated on the mobile terminal, and may also include content received by the user or locally stored in the mobile terminal.
The judging unit 12 is configured to judge whether the user generated content includes the privacy information, and obtain a judgment result, it is understood that the privacy information is information that is not easily known by others, such as user personal information, specifically information such as a credit card, a bank card, and an identification card photo of the user, and once the privacy information is known by others, the security of the user personal information is greatly damaged, and therefore, the security level of the privacy information is higher than that of other types of information.
In the embodiment of the present invention, the determining unit 12 may include: the device comprises an identification subunit, a judgment subunit and a result acquisition subunit. The identification subunit is used for carrying out image identification on the image content to obtain an identification result in the image content under the condition that the user generated content is the image content. And the judging subunit is used for judging whether the identification result comprises the target information. The target information refers to information including private information, such as a credit card, a bank card, an identification card photo of the user, and the like, which are personal, and of course, the embodiments of the present invention are not limited to these examples, and information that may cause private information of the user to be leaked is all considered as target information, and is considered to be within the protection scope of the embodiments of the present invention.
A result obtaining subunit operable to obtain, in a case where the target information is included in the recognition result, a determination result indicating that the user-generated content includes the privacy information, and obtain, in a case where the target information is not included in the recognition result, a determination result indicating that the user-generated content does not include the privacy information.
When the identification result includes the target information, it is indicated that the image content as the user-generated content includes privacy information causing leakage of the user privacy information, and the result obtaining subunit may obtain a determination result indicating that the user-generated content includes the privacy information; in the case where the target information is not included in the recognition result, indicating that the influence content as the user-generated content does not include the privacy information that causes the leakage of the user privacy information, the result obtaining subunit may obtain a determination result indicating that the privacy information is not included in the user-generated content.
And a second obtaining unit 13, configured to obtain a synchronization instruction for synchronizing the user-generated content with the server.
And the processing unit 14 is used for responding to the synchronization instruction according to the judgment result and correspondingly processing the user generated content.
In the embodiment of the present invention, the synchronization instruction refers to synchronizing the acquired user generated content from the mobile terminal to the server, and in the prior art, the acquired user generated content is directly synchronized from the mobile terminal to the server after the synchronization instruction is acquired. However, in the embodiment of the present invention, the synchronization instruction needs to be responded according to the determination result, because if the determination result indicates that the user generated content includes the private information, if the user generated content is directly synchronized from the mobile terminal to the server, the security of the information is reduced, and therefore, the processing unit 14 needs to respond to the synchronization instruction according to the determination result.
For example, in the case where the determination result indicates that the privacy information is not included in the user-generated content, the processing unit 14 synchronizes the user-generated content from the mobile terminal to the server; in the case that the judgment result indicates that the user generated content includes the privacy information, the way in which the processing unit 14 responds to the synchronization instruction includes, but is not limited to, the following two ways:
one way is that: and under the condition that the judgment result shows that the user generated content comprises the privacy information, encrypting the user generated content to obtain encrypted content, and synchronizing the encrypted content to the server. That is, in the case that the judgment result indicates that the private information is included in the user-generated content, it is necessary to encrypt and synchronize the user-generated content to the server to improve the security of the information.
The other mode is as follows: under the condition that the judgment result shows that the user generated content comprises the privacy information, the user generated content is not synchronized, namely under the condition that the judgment result shows that the user generated content comprises the privacy information, the user generated content is not synchronized to the server from the mobile terminal any more, so that the probability of information acquisition can be reduced, and the information safety is improved.
In practical applications, a plurality of user generated contents are simultaneously acquired from the mobile terminal, and each user generated content corresponds to one judgment result, and in this case, the processing unit 14 responds to the synchronization instruction according to the judgment result, and correspondingly processes the user generated contents as follows:
processing the judgment results corresponding to the generated content of each user one by one, and directly synchronizing the generated content of the user to the server under the condition that the judgment results show that the generated content of the user does not include privacy information; skipping a synchronization instruction under the condition that the judgment result shows that the user generated content comprises the privacy information; after synchronization of the user-generated content that does not include the private information is completed, the user is prompted to process the user-generated content that includes the private information.
That is, when the judgment results corresponding to the generated contents of each user are processed one by one, if the judgment result of the generated contents of a certain user indicates that the generated contents of the user do not include privacy information, the generated contents of the user are synchronized to the server from the mobile terminal; if the judgment result of a certain user generated content indicates that the user generated content includes the privacy information, the user is prompted to process the user generated content which includes the privacy information and is subjected to the suspended processing after the user generated content which does not include the privacy information is synchronized to the server.
By means of the technical scheme, after the user generated content in the mobile terminal is obtained, the synchronization instruction for synchronizing the user generated content to the server is obtained, whether the user generated content comprises privacy information or not is judged, a judgment result is obtained, and the user generated content is correspondingly processed according to the judgment result and the synchronization instruction. If the judgment result indicates that the user generated content includes the privacy information, the synchronization instruction may be used to instruct to perform encryption synchronization on the user generated content, that is, to perform encryption processing on the user generated content to obtain encrypted content, and to synchronize the encrypted content to the server, so as to improve the security of the information.
Referring to fig. 6, another structure of the synchronization apparatus according to the embodiment of the present invention is shown, and on the basis of fig. 5, the synchronization apparatus may further include: a compression processing unit 15, a storage unit 16, a deletion unit 17, and a display unit 18.
The compression processing unit 15 is configured to perform compression processing on the user generated content after encrypting and synchronizing the user generated content to the server, so as to obtain a compressed content, where the compression processing on the user generated content may be performed by various existing compression processing manners, which is not described in the present invention, but refer to the related description in the method embodiment for a feasible manner of encrypting and synchronizing the user generated content to the server.
The storage unit 16 is configured to store the compressed content locally, and delete the user-generated content corresponding to the compressed content through the deletion unit 17, so as to reduce the occupied space of the compressed content locally, but at the same time, the user-generated content can be viewed locally by displaying the compressed content.
And the first acquiring unit 11 is configured to acquire the user-generated content matched with the detail viewing instruction after the second acquiring unit 12 receives the detail viewing instruction. The detail viewing instruction is used for instructing to view original user-generated content (uncompressed user-generated content), namely user-generated content acquired from the mobile terminal.
And the display unit 18 is used for locally displaying the user generated content matched with the detail viewing instruction, so that even if only compressed content is locally stored, the original user generated content can be locally displayed through the process, and the purpose of locally displaying the original user generated content is achieved under the condition of saving local occupied space.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A method of synchronization, the method comprising:
acquiring user generated content in a mobile terminal;
judging whether the user generated content comprises privacy information or not to obtain a judgment result, wherein the security level of the privacy information is greater than that of other types of information;
acquiring a synchronization instruction for synchronizing the user generated content to a server;
responding to the synchronous instruction according to the judgment result, and carrying out corresponding processing on the user generated content;
wherein the responding to the synchronization instruction according to the judgment result and the corresponding processing of the user generated content comprises: when the judgment results of the multiple user generated contents acquired simultaneously are processed one by one, if the judgment results of the user generated contents indicate that the user generated contents do not include privacy information, synchronizing the user generated contents from the mobile terminal to the server; if the judgment result of the user generated content indicates that the user generated content comprises the privacy information, suspending the processing of the user generated content until other user generated content not comprising the privacy information is synchronized to the server, and prompting the user to process the user generated content comprising the privacy information and having been suspended;
and selecting a synchronization mode corresponding to the distance according to the distance between the mobile terminal and other mobile terminals to synchronize the user generated content containing the privacy information.
2. The method according to claim 1, wherein said responding to the synchronization command according to the determination result and performing corresponding processing on the user-generated content comprises:
under the condition that the judgment result shows that the user generated content comprises the privacy information, the user generated content is encrypted to obtain encrypted content, and the encrypted content is synchronized to the server;
or
And under the condition that the judgment result shows that the user generated content comprises the privacy information, the user generated content is not synchronized.
3. The method of claim 1, wherein the determining whether the user-generated content includes the private information, and obtaining the determination result comprises:
under the condition that the user generated content is video content, carrying out image recognition on the video content to obtain a recognition result in the video content;
judging whether the identification result comprises the target information or not;
obtaining a judgment result indicating that the user generated content includes the privacy information under the condition that the identification result includes the target information;
and obtaining a judgment result indicating that the privacy information is not included in the user-generated content under the condition that the target information is not included in the identification result.
4. The method according to claim 1, wherein after said responding to said synchronization instruction according to said determination result and performing corresponding processing on said user-generated content, said method further comprises:
after the user generated content is encrypted and synchronized to the server, compressing the user generated content to obtain compressed content;
storing the compressed content locally and deleting the user-generated content;
after receiving a detail viewing instruction, acquiring the user-generated content matched with the detail viewing instruction;
locally displaying the user-generated content that matches the detail viewing instructions.
5. A synchronization apparatus, characterized in that the apparatus comprises:
a first acquisition unit configured to acquire user-generated content in a mobile terminal;
the judging unit is used for judging whether the user generated content comprises privacy information or not to obtain a judging result, and the security level of the privacy information is greater than that of other types of information;
a second obtaining unit, configured to obtain a synchronization instruction for synchronizing the user-generated content with a server;
the processing unit is used for responding to the synchronous instruction according to the judgment result and carrying out corresponding processing on the user generated content;
the processing unit is used for synchronizing the user generated content from the mobile terminal to the server if the judgment result of the user generated content indicates that the user generated content does not include privacy information when the judgment result of the user generated content is processed one by one; if the judgment result of the user generated content indicates that the user generated content comprises the privacy information, suspending the processing of the user generated content until other user generated content not comprising the privacy information is synchronized to the server, and prompting the user to process the user generated content comprising the privacy information and having been suspended; and selecting a synchronization mode corresponding to the distance according to the distance between the mobile terminal and other mobile terminals to synchronize the user generated content containing the privacy information.
6. The apparatus according to claim 5, wherein the processing unit is configured to, if the determination result indicates that the user-generated content includes the privacy information, perform encryption processing on the user-generated content to obtain encrypted content, and synchronize the encrypted content with the server;
or
And the processing unit is used for not synchronizing the user generated content under the condition that the judgment result shows that the user generated content comprises the privacy information.
7. The apparatus according to claim 5, wherein the determining unit comprises:
the identification subunit is used for carrying out image identification on the image content to obtain an identification result in the image content under the condition that the user generated content is the image content;
a judging subunit, configured to judge whether the target information is included in the identification result;
a result obtaining subunit, configured to obtain, in a case where the target information is included in the identification result, a determination result indicating that the privacy information is included in the user-generated content, and obtain, in a case where the target information is not included in the identification result, a determination result indicating that the privacy information is not included in the user-generated content.
8. The apparatus of claim 5, further comprising: the compression processing unit is used for compressing the user generated content after the user generated content is encrypted and synchronized to the server to obtain a compressed content;
a storage unit for locally storing the compressed content;
a deleting unit configured to delete a user-generated content corresponding to the compressed content;
the first obtaining unit is used for obtaining the user generated content matched with the detail viewing instruction after the second obtaining unit receives the detail viewing instruction;
and the display unit is used for locally displaying the user-generated content matched with the detail viewing instruction.
CN201710184288.6A 2017-03-24 2017-03-24 Synchronization method and device Active CN106953863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710184288.6A CN106953863B (en) 2017-03-24 2017-03-24 Synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710184288.6A CN106953863B (en) 2017-03-24 2017-03-24 Synchronization method and device

Publications (2)

Publication Number Publication Date
CN106953863A CN106953863A (en) 2017-07-14
CN106953863B true CN106953863B (en) 2020-08-25

Family

ID=59472870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710184288.6A Active CN106953863B (en) 2017-03-24 2017-03-24 Synchronization method and device

Country Status (1)

Country Link
CN (1) CN106953863B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024039A (en) * 2012-12-13 2013-04-03 东莞宇龙通信科技有限公司 Data synchronization method and system
CN104298931A (en) * 2014-09-29 2015-01-21 深圳酷派技术有限公司 Information processing method and information processing device
CN106210528A (en) * 2016-07-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of encrypt the method for photo, device and mobile terminal
CN106295398A (en) * 2016-07-29 2017-01-04 维沃移动通信有限公司 The guard method of privacy information and mobile terminal thereof
CN106485164A (en) * 2016-09-27 2017-03-08 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN106534570A (en) * 2016-11-30 2017-03-22 广东欧珀移动通信有限公司 Privacy protection method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024039A (en) * 2012-12-13 2013-04-03 东莞宇龙通信科技有限公司 Data synchronization method and system
CN104298931A (en) * 2014-09-29 2015-01-21 深圳酷派技术有限公司 Information processing method and information processing device
CN106210528A (en) * 2016-07-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of encrypt the method for photo, device and mobile terminal
CN106295398A (en) * 2016-07-29 2017-01-04 维沃移动通信有限公司 The guard method of privacy information and mobile terminal thereof
CN106485164A (en) * 2016-09-27 2017-03-08 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN106534570A (en) * 2016-11-30 2017-03-22 广东欧珀移动通信有限公司 Privacy protection method and device

Also Published As

Publication number Publication date
CN106953863A (en) 2017-07-14

Similar Documents

Publication Publication Date Title
KR101820781B1 (en) Methods and apparatus for album display
CN106415664B (en) System and method for generating a library of user facial expressions for messaging and social networking applications
CN104933342B (en) A kind of picture inspection method and mobile terminal
US20170109371A1 (en) Method and Apparatus for Processing File in a Distributed System
WO2014206278A1 (en) Message query methods and devices
CN106453572B (en) Method and system based on Cloud Server synchronous images
US9875255B2 (en) Terminal and method for sharing content thereof
CN103440247A (en) Method and device for sending photos
CN110390641B (en) Image desensitizing method, electronic device and storage medium
US10223537B2 (en) Method and electronic device for managing data
CN111897474A (en) File processing method and electronic equipment
CN104852967A (en) Picture sharing method and device
CN105100195A (en) Data transmission method and device thereof
CN104679239B (en) A kind of terminal input method
CN105049631B (en) Enter the method and mobile terminal of row information transmission in address list program
WO2015196996A1 (en) Photo storage method and device
US9282331B2 (en) Image processing method and electronic device
TWI490814B (en) Method of combining network data and mobile device using the same
CN104679506B (en) A kind of terminal
CN105354510A (en) Naming method and naming system of photos
EP3511840B1 (en) Data processing method, electronic device, and computer-readable storage medium
WO2018001054A1 (en) Method and device for synchronizing cloud desktop data
CN104219360B (en) Information processing method and device
CN106953863B (en) Synchronization method and device
CN106790584B (en) Information synchronization method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant