CN106790584B - Information synchronization method and device - Google Patents

Information synchronization method and device Download PDF

Info

Publication number
CN106790584B
CN106790584B CN201611234409.5A CN201611234409A CN106790584B CN 106790584 B CN106790584 B CN 106790584B CN 201611234409 A CN201611234409 A CN 201611234409A CN 106790584 B CN106790584 B CN 106790584B
Authority
CN
China
Prior art keywords
information
processed
identification code
display
display mode
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
CN201611234409.5A
Other languages
Chinese (zh)
Other versions
CN106790584A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611234409.5A priority Critical patent/CN106790584B/en
Publication of CN106790584A publication Critical patent/CN106790584A/en
Application granted granted Critical
Publication of CN106790584B publication Critical patent/CN106790584B/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Abstract

The disclosure relates to an information synchronization method and device, and belongs to the technical field of information. The method comprises the following steps: acquiring information to be processed; judging whether the information to be processed meets a filtering condition or not according to preset characteristic information; and if the information to be processed meets the filtering condition, filtering the information to be processed when the information is synchronous. According to the information synchronization method and device, the information to be processed is filtered according to the preset characteristic information, the information to be processed meeting the filtering condition is not synchronized, the information without practical value occupies a storage space, and the utilization rate of the storage space is improved.

Description

Information synchronization method and device
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to an information synchronization method and apparatus.
Background
With the popularization and development of terminals, more and more users communicate by means of short messages, mails and the like. In order to avoid the loss of important information caused by mistaken deletion or other reasons, the terminal can synchronize the information to the server and store the information by the server.
Currently, when information synchronization is performed, a terminal may synchronize all received information to a server every preset time (or in real time), and the server stores the received information.
Disclosure of Invention
The disclosure provides an information synchronization method and device.
According to a first aspect of the embodiments of the present disclosure, there is provided an information synchronization method, the method including:
acquiring information to be processed;
judging whether the information to be processed meets a filtering condition or not according to preset characteristic information;
and if the information to be processed meets the filtering condition, filtering the information to be processed when the information is synchronous.
In another embodiment of the present disclosure, the preset feature information includes at least one of a specific number, a specific address, and a specific keyword;
the judging whether the information to be processed meets the filtering condition according to the preset characteristic information comprises the following steps:
judging whether the information to be processed comprises at least one of the specific number, the specific address and the specific keyword;
and if the information to be processed comprises at least one of the specific number, the specific address and the specific keyword, determining that the information to be processed meets the filtering condition.
In another embodiment of the present disclosure, after filtering the information to be processed during information synchronization, the method further includes:
displaying an information processing dialog box, the information processing dialog box including an information deletion option;
and when the information deleting option is detected to be selected, deleting the information to be processed.
In another embodiment of the present disclosure, the method further comprises:
when the information to be processed is received, extracting an identification code of the information to be processed;
according to the identification code, searching a display mode corresponding to the identification code from a corresponding relation between the pre-stored identification code and the display mode;
and displaying the information to be processed according to the display mode corresponding to the identification code.
In another embodiment of the present disclosure, the displaying the to-be-processed information according to the display mode corresponding to the identification code includes:
if the display mode corresponding to the identification code is normal display, displaying the information to be processed in a conventional information display list;
if the display mode corresponding to the identification code is private display, displaying the information to be processed in a private information display list;
and if the display mode corresponding to the identification code is displayed after decryption, storing the information to be processed in the private information display list, and displaying the information to be processed after obtaining the display password.
In another embodiment of the present disclosure, the acquiring information to be processed includes:
acquiring the synchronization time of the last information synchronization;
and taking the information with the receiving time after the synchronous time as the information to be processed.
According to a second aspect of the embodiments of the present disclosure, there is provided an information synchronization apparatus, the apparatus including:
the acquisition module is used for acquiring information to be processed;
the judging module is used for judging whether the information to be processed meets the filtering condition or not according to preset characteristic information;
and the synchronization module is used for filtering the information to be processed when the information to be processed meets the filtering condition and the information is synchronized.
In another embodiment of the present disclosure, the preset feature information includes at least one of a specific number, a specific address, and a specific keyword;
the judging module is used for judging whether the information to be processed comprises at least one of the specific number, the specific address and the specific keyword; when the information to be processed includes at least one of the specific number, the specific address and the specific keyword, determining that the information to be processed satisfies the filtering condition.
In another embodiment of the present disclosure, the apparatus further comprises:
the system comprises a first display module, a second display module and a display module, wherein the first display module is used for displaying an information processing dialog box, and the information processing dialog box comprises an information deleting option;
and the deleting module is used for deleting the information to be processed when the information deleting option is detected to be selected.
In another embodiment of the present disclosure, the apparatus further comprises:
the extraction module is used for extracting the identification code of the information to be processed when the information to be processed is received;
the searching module is used for searching the display mode corresponding to the identification code from the corresponding relation between the prestored identification code and the display mode according to the identification code;
and the second display module is used for displaying the information to be processed according to the display mode corresponding to the identification code.
In another embodiment of the present disclosure, the second display module is configured to display the to-be-processed information in a conventional information display list when the display mode corresponding to the identification code is normal display; when the display mode corresponding to the identification code is private display, displaying the information to be processed in a private information display list; and when the display mode corresponding to the identification code is displayed after decryption, storing the information to be processed in the private information display list, and displaying the information to be processed after obtaining the display password.
In another embodiment of the present disclosure, the obtaining module is configured to obtain a synchronization time of last time information synchronization is performed; and taking the information with the receiving time after the synchronous time as the information to be processed.
According to a third aspect provided by an embodiment of the present disclosure, there is provided an information synchronization apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring information to be processed;
judging whether the information to be processed meets a filtering condition or not according to preset characteristic information;
and if the information to be processed meets the filtering condition, filtering the information to be processed when the information is synchronous.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the information synchronization process, the information to be processed is filtered according to the preset characteristic information, and the information to be processed meeting the filtering condition is not synchronized, so that the information without practical value occupies a storage space, and the utilization rate of the storage space is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of information synchronization according to an example embodiment.
Fig. 2 is a flow chart illustrating a method of information synchronization according to an example embodiment.
Fig. 3 is a block diagram illustrating an information synchronization apparatus according to an example embodiment.
Fig. 4 is a block diagram illustrating an information synchronization apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating an information synchronization method according to an exemplary embodiment, where the information synchronization method is used in a terminal, as shown in fig. 1, and includes the following steps.
In step S101, information to be processed is acquired.
In step S102, it is determined whether the information to be processed satisfies the filtering condition according to the preset feature information.
In step S103, if the information to be processed satisfies the filtering condition, the information to be processed is filtered when the information is synchronized.
According to the method provided by the embodiment of the disclosure, in the information synchronization process, the information to be processed is filtered according to the preset characteristic information, and the information to be processed meeting the filtering condition is not synchronized, so that the storage space occupied by the information without practical value is reduced, and the utilization rate of the storage space is improved.
In another embodiment of the present disclosure, the preset feature information includes at least one of a specific number, a specific address, and a specific keyword;
judging whether the information to be processed meets the filtering condition or not according to the preset characteristic information, comprising the following steps:
judging whether the information to be processed comprises at least one of a specific number, a specific address and a specific keyword;
and if the information to be processed comprises at least one of the specific number, the specific address and the specific keyword, determining that the information to be processed meets the filtering condition.
In another embodiment of the present disclosure, during information synchronization, after filtering the information to be processed, the method further includes:
displaying an information processing dialog box, the information processing dialog box including an information deletion option;
and when the information deleting option is detected to be selected, deleting the information to be processed.
In another embodiment of the present disclosure, the method further comprises:
when receiving information to be processed, extracting an identification code of the information to be processed;
according to the identification code, searching a display mode corresponding to the identification code from a corresponding relation between the pre-stored identification code and the display mode;
and displaying the information to be processed according to the display mode corresponding to the identification code.
In another embodiment of the present disclosure, displaying the information to be processed according to the display mode corresponding to the identification code includes:
if the display mode corresponding to the identification code is normal display, displaying the information to be processed in a conventional information display list;
if the display mode corresponding to the identification code is private display, displaying the information to be processed in a private information display list;
and if the display mode corresponding to the identification code is displayed after decryption, storing the information to be processed in a private information display list, and displaying the information to be processed after obtaining the display password.
In another embodiment of the present disclosure, acquiring information to be processed includes:
acquiring the synchronization time of the last information synchronization;
and taking the information of which the receiving time is behind the synchronous time as the information to be processed.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 2 is a flowchart illustrating an information synchronization method according to an exemplary embodiment, where the information synchronization method is used in a terminal or a server, as shown in fig. 1, and includes the following steps.
In step S201, the terminal sets feature information in advance.
The terminal may be a smart phone, a tablet computer, a notebook computer, a personal computer, or the like, and the present embodiment does not specifically limit the product type of the terminal. In order to meet the communication requirement of the user, various applications, such as a short message application, a mail application, and the like, are installed in the terminal.
The feature information may include the specific number, the specific address, and the specific keyword, that is, the feature information may include the specific number, the feature information may include the specific keyword, the feature information may include the specific address, the feature information may also include the specific number and the specific keyword, the feature information may also include the specific number and the specific address, the feature information may also include the specific address and the specific keyword, and the feature information may also include the specific number, the specific address, and the specific keyword. The specific number may be a service number of a merchant, a number of a third party application platform, and the like, and the specific number is mainly used for pushing some notification messages to the user through short messages, such as sales promotion activities of the merchant, verification codes sent by the third party platform, and the like. The specific address can be a mailbox address of a merchant, a mailbox address of a third-party application platform and the like, and the specific address is mainly used for pushing some notification messages to the user through a mailbox. The specific keyword may be some sensitive words, such as words related to gambling, pornography, etc., or words related to the merchandise, such as "discount", "promotion", etc.
In order to specifically synchronize the received information, so as to reduce the occupation of storage space by unimportant and non-practical information as much as possible on the basis of ensuring that the important information can be synchronized to the server in time, the method provided by the embodiment of the disclosure further sets the characteristic information.
When the terminal sets the feature information, a feature information setting interface can be provided, the feature information setting interface is provided with a plurality of input boxes, the user inputs the feature information in the input boxes according to the actual storage requirement, and the terminal sets the feature information by detecting the input operation of the user on the feature information interface. In addition, for the convenience of subsequent application, the terminal will also execute the step of storing the feature information after setting the feature information. In the specific storage, the set feature information may be stored in a local memory, where the local memory is at least one of a volatile memory (e.g., a memory) and a non-volatile memory (e.g., a hard disk).
It should be noted that, the feature information is not preset every time the information synchronization method is implemented, and the preset feature information may be executed when the information synchronization method is implemented for the first time, and the feature information set this time may be directly used when the information synchronization method is implemented later. Of course, when the preset feature information needs to be updated, the setting step of the feature information may be executed again, and the number of times of executing the step is not limited in the embodiment of the present disclosure.
In step S202, the terminal acquires information to be processed.
Since the information synchronization method provided in this embodiment is mainly to synchronize newly received information, in order to avoid missing any piece of information that needs to be processed, when a new piece of information is received, the terminal may use the received information as information to be processed, and determine whether the information to be processed needs to be synchronized through subsequent steps. However, in order to reduce the processing pressure, the terminal may also scan the local memory every preset time period, and acquire the synchronization time of the last information synchronization, and then take the information whose reception time is after the synchronization time as the information to be processed. The preset time length is determined by the terminal according to the processing capacity, and the preset time length can be 10 minutes, 20 minutes, 30 minutes and the like.
In step S203, the terminal determines whether the information to be processed satisfies the filtering condition according to the preset feature information, if not, step S204 is executed, and if so, step S205 is executed.
Generally, some information without practical value exists in the information received by the user, the information has certain effectiveness, or the subsequent user cannot check the information again, if the information is synchronized, the storage space of the server is wasted, and some important information of the user cannot be synchronized in time. Therefore, in order to save the storage space of the server and improve the utilization rate of storage resources, when the information to be synchronized is acquired, the terminal also judges whether the information to be processed meets the filtering condition according to the preset characteristic information, and then processes the information to be processed by adopting different processing modes according to whether the information to be processed meets the filtering condition.
When judging whether the information to be processed meets the filtering condition, the terminal can judge whether the information to be processed comprises at least one of a specific number, a specific address and a specific keyword by scanning the information to be processed, and if the information to be processed comprises at least one of the specific number, the specific address and the specific keyword, the information to be processed can be determined to meet the filtering condition; if the information to be processed does not include any one of the specific number, the specific address, and the specific keyword, it may be determined that the information to be processed does not satisfy the filtering condition.
For example, the preset feature information includes specific keywords "discount" and "promotion", specific numbers "123456" and "147258", specific addresses "abcde @163. com" and "wertt @ sina. com", and if the acquired to-be-processed information is "send number: 123456, the information content is: the verification code is 935926 ", and the acquired information to be processed includes the specific number" 123456 "in the preset feature information, so that the information to be processed can be determined to meet the filtering condition.
When determining that the information to be processed does not meet the filtering condition, the terminal will execute step S204 to synchronize the information to be processed when the information is synchronized; when it is determined that the information to be processed satisfies the filtering condition, the terminal will perform step S205 to filter the information to be processed when the information is synchronized.
In step S204, the terminal synchronizes the information to be processed when the information is synchronized.
When it is determined that the information to be processed does not satisfy the filtering condition, it is indicated that the information to be processed is important information for the user, and the information to be processed needs to be backed up on the server.
For the convenience of user query, when storing information to be processed, the server may store the information according to a certain rule, for example, the server may store information corresponding to the same sending number or the same sending address in the same folder according to the sending number or the sending address; the server can also create an information list, and store the information received later in front of the information list and the information received first in back of the information list according to the receiving time sequence. Of course, the server may also store the information to be processed in other manners, and the embodiments of the present disclosure are not described one by one.
After the terminal local memory and the server store any information to be processed, if a user adds, deletes, changes and the like the information to be processed stored on the terminal, the server can automatically update the stored information to be processed according to the operated information so as to ensure that the information stored on the terminal local memory and the server is synchronous; similarly, if the user performs operations such as adding, deleting and changing on the information to be processed stored in the server, the terminal will automatically update the stored information to be processed according to the operated information, so as to ensure that the local memory of the terminal is synchronous with the information stored in the server.
In step S205, the terminal filters the information to be processed while synchronizing the information.
When the information to be processed is determined to meet the filtering condition, the information to be processed is the information which has no practicability for the user, and the subsequent user of the information to be processed generally cannot read the information to be processed again, so that the information to be processed does not need to be synchronized, and the information to be processed can be directly filtered.
In order to save the storage space of the local memory of the terminal, after the information to be processed is determined to be filtered, the terminal also displays an information processing dialog box, wherein the information processing dialog box comprises an information deleting option and the like, and after the information deleting option is detected to be selected, the terminal can delete the information to be processed.
In order to protect the privacy of the user, the information to be processed may be displayed in different display modes according to the degree of secret involvement of the information to be processed. The specific display process comprises the following steps (1) to (3):
(1) and when the information to be processed is received, the terminal extracts the identification code of the information to be processed.
The identification code is used for identifying the privacy degree of the information, the digit of the identification code can be one digit or two digits or three digits, and the digit of the identification code is not specifically limited in the embodiment of the disclosure. The identification code is typically in the form of a numeric value, but of course, the identification code may also be a character string consisting of numbers, or a character string consisting of letters, or a character string consisting of numbers and characters, etc. In order to distinguish information with different privacy degrees, in the embodiment, different privacy degrees correspond to different identification codes. The identification code is set to be a character consisting of a number, wherein the character 0 represents that the privacy degree of the information is common, the character 1 represents that the privacy degree of the information is private, and the character 2 represents that the privacy degree of the information is advanced privacy and the like.
(2) And the terminal searches the display mode corresponding to the identification code from the corresponding relation between the prestored identification code and the display mode according to the identification code.
The display mode comprises normal display, private display, display after decryption and the like. In order to manage to-be-processed information with different privacy degrees, the terminal is also used for presetting the corresponding relation between the identification code and the display mode, during specific setting, a display setting interface can be provided, multiple display modes are arranged on the display setting interface, the corresponding relation between different identification codes and the display modes is set by a user according to the requirements of the user, and the corresponding relation between the identification code and the display modes is set by the terminal through detecting the setting operation of the user. In addition, in order to facilitate subsequent application, the terminal also stores the corresponding relation between the set identification code and the display mode.
(3) And the terminal displays the information to be processed according to the display mode corresponding to the identification code.
Based on the corresponding relation between the set identification code and the display mode, when the display mode corresponding to the identification code of the information to be processed is normal display, the terminal can display the information to be processed in a conventional information display list; when the display mode corresponding to the identification code of the information to be processed is private display, the terminal can display the information to be processed in a private information display list; when the display mode corresponding to the identification code of the information to be processed is display after decryption, the terminal can store the information to be processed in the private information display list and display the information to be processed after the display password is obtained.
It should be noted that, the above-mentioned step S201 to step S205 are executed only by taking the terminal as an execution subject, actually, the above-mentioned step S201 to step S205 may also be executed by the server, and when the above-mentioned step S201 to step S205 are executed by the server, the information synchronization method specifically implements the following processes:
first, the server presets feature information.
The process of presetting the feature information by the server is the same as the step S201, and is not described again here.
And secondly, scanning the local memory by the terminal, acquiring the information to be processed, and sending the information to be processed to the server.
And thirdly, the server judges whether the received information to be processed meets the filtering condition or not according to the preset characteristic information, if not, the information to be processed is synchronized, and if so, the information to be processed is filtered.
According to the method provided by the embodiment of the disclosure, in the information synchronization process, the information to be processed is filtered according to the preset characteristic information, and the information to be processed meeting the filtering condition is not synchronized, so that the storage space occupied by the information without practical value is reduced, and the utilization rate of the storage space is improved.
Fig. 3 is a schematic diagram illustrating an information synchronization apparatus according to an example embodiment. Referring to fig. 3, the apparatus includes: an obtaining module 301, a determining module 302 and a synchronizing module 303.
The obtaining module 301 is configured to obtain information to be processed;
the judging module 302 is configured to judge whether the information to be processed meets the filtering condition according to the preset characteristic information;
the synchronization module 303 is configured to filter the information to be processed when the information to be processed satisfies the filtering condition and the information is synchronized.
In another embodiment of the present disclosure, the preset feature information includes at least one of a specific number, a specific address, and a specific keyword;
the determining module 302 is configured to determine whether the information to be processed includes at least one of a specific number, a specific address, and a specific keyword; and when the information to be processed comprises at least one of the specific number, the specific address and the specific keyword, determining that the information to be processed meets the filtering condition.
In another embodiment of the present disclosure, the apparatus further comprises: the device comprises a first display module and a deleting module.
The first display module is configured to display an information handling dialog box, the information handling dialog box including an information deletion option;
the deletion module is configured to delete the information to be processed when detecting that the information deletion option is selected.
In another embodiment of the present disclosure, the apparatus further comprises: the device comprises an extraction module, a search module and a second display module.
The extraction module is configured to extract the identification code of the information to be processed when the information to be processed is received;
the searching module is configured to search the display mode corresponding to the identification code from the corresponding relation between the pre-stored identification code and the display mode according to the identification code;
the second display module is configured to display the information to be processed according to the display mode corresponding to the identification code.
In another embodiment of the disclosure, the second display module is configured to display the information to be processed in the regular information display list when the display mode corresponding to the identification code is normal display; when the display mode corresponding to the identification code is private display, displaying the information to be processed in a private information display list; and when the display mode corresponding to the identification code is displayed after decryption, storing the information to be processed in a private information display list, and displaying the information to be processed after obtaining the display password.
In another embodiment of the present disclosure, the obtaining module 301 is configured to obtain a synchronization time of the last time information synchronization is performed; and taking the information of which the receiving time is behind the synchronous time as the information to be processed.
According to the device provided by the embodiment of the disclosure, in the information synchronization process, the information to be processed is filtered according to the preset characteristic information, and the information to be processed meeting the filtering condition is not synchronized, so that the storage space occupied by the information without practical value is reduced, and the utilization rate of the storage space is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a block diagram illustrating an apparatus 400 for information synchronization in accordance with an example embodiment. For example, the apparatus 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 4, the apparatus 400 may include one or more of the following components: processing component 402, memory 404, power component 406, multimedia component 408, audio component 410, input/output (I/O) interface 412, sensor component 414, and communication component 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the apparatus 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 406 provide power to the various components of device 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor assembly 414 may detect an open/closed state of the apparatus 400, the relative positioning of the components, such as a display and keypad of the apparatus 400, the sensor assembly 414 may also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform an information synchronization method, the method comprising:
acquiring information to be processed;
judging whether the information to be processed meets the filtering condition or not according to preset characteristic information;
and if the information to be processed meets the filtering condition, filtering the information to be processed when the information is synchronous.
In another embodiment of the present disclosure, the preset feature information includes at least one of a specific number, a specific address, and a specific keyword;
judging whether the information to be processed meets the filtering condition or not according to the preset characteristic information, comprising the following steps:
judging whether the information to be processed comprises at least one of a specific number, a specific address and a specific keyword;
and if the information to be processed comprises at least one of the specific number, the specific address and the specific keyword, determining that the information to be processed meets the filtering condition.
In another embodiment of the present disclosure, during information synchronization, after filtering the information to be processed, the method further includes:
displaying an information processing dialog box, the information processing dialog box including an information deletion option;
and when the information deleting option is detected to be selected, deleting the information to be processed.
In another embodiment of the present disclosure, the method further comprises:
when receiving information to be processed, extracting an identification code of the information to be processed;
according to the identification code, searching a display mode corresponding to the identification code from a corresponding relation between the pre-stored identification code and the display mode;
and displaying the information to be processed according to the display mode corresponding to the identification code.
In another embodiment of the present disclosure, displaying the information to be processed according to the display mode corresponding to the identification code includes:
if the display mode corresponding to the identification code is normal display, displaying the information to be processed in a conventional information display list;
if the display mode corresponding to the identification code is private display, displaying the information to be processed in a private information display list;
and if the display mode corresponding to the identification code is displayed after decryption, storing the information to be processed in a private information display list, and displaying the information to be processed after obtaining the display password.
In another embodiment of the present disclosure, acquiring information to be processed includes:
acquiring the synchronization time of the last information synchronization;
and taking the information of which the receiving time is behind the synchronous time as the information to be processed.
According to the non-transitory computer-readable storage medium provided by the embodiment of the disclosure, in the information synchronization process, the information to be processed is filtered according to the preset feature information, and the information to be processed meeting the filtering condition is not synchronized, so that the storage space occupied by the information without practical value is reduced, and the utilization rate of the storage space is improved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (4)

1. A method for synchronizing information, the method comprising:
providing a feature information setting interface, wherein the feature information setting interface is provided with a plurality of input boxes, and when the input operation of a user on the feature information setting interface is detected, feature information is set, and the feature information comprises a specific number, a specific address and a specific keyword;
scanning a local memory every other preset time length, acquiring the synchronization time of information synchronization last time, and taking the information of which the receiving time is behind the synchronization time as information to be processed;
judging whether the information to be processed comprises at least one of the specific number, the specific address and the specific keyword; if the information to be processed comprises at least one of the specific number, the specific address and the specific keyword, determining that the information to be processed meets a filtering condition; the specific number is used for pushing a notification message to a user through a short message, and the specific address is used for pushing the notification message to the user through a mailbox;
if the information to be processed meets the filtering condition, filtering the information to be processed and displaying an information processing dialog box when the information is synchronous, wherein the information processing dialog box comprises an information deleting option; when the information deleting option is detected to be selected, deleting the information to be processed;
the method further comprises the following steps: when the information to be processed is received, extracting an identification code of the information to be processed, wherein the identification code is used for identifying the privacy degree of the information; according to the identification code, searching a display mode corresponding to the identification code from a corresponding relation between the pre-stored identification code and the display mode; displaying the information to be processed according to the display mode corresponding to the identification code;
the displaying the information to be processed according to the display mode corresponding to the identification code comprises the following steps:
if the display mode corresponding to the identification code is normal display, displaying the information to be processed in a conventional information display list;
if the display mode corresponding to the identification code is private display, displaying the information to be processed in a private information display list;
and if the display mode corresponding to the identification code is displayed after decryption, storing the information to be processed in the private information display list, and displaying the information to be processed after obtaining the display password.
2. An information synchronization apparatus, characterized in that the apparatus comprises:
means for performing the steps of: providing a feature information setting interface, wherein the feature information setting interface is provided with a plurality of input boxes, and when the input operation of a user on the feature information setting interface is detected, feature information is set, and the feature information comprises a specific number, a specific address and a specific keyword;
the acquisition module is used for acquiring information to be processed;
the acquisition module is used for scanning the local memory every preset time length, acquiring the synchronization time of the last information synchronization, and taking the information with the receiving time after the synchronization time as the information to be processed;
the judging module is used for judging whether the information to be processed meets the filtering condition or not according to preset characteristic information;
the judging module is used for judging whether the information to be processed comprises at least one of the specific number, the specific address and the specific keyword; if the information to be processed comprises at least one of the specific number, the specific address and the specific keyword, determining that the information to be processed meets a filtering condition; the specific number is used for pushing a notification message to a user through a short message, and the specific address is used for pushing the notification message to the user through a mailbox;
the synchronization module is used for filtering the information to be processed when the information to be processed meets the filtering condition and the information is synchronized;
the device further comprises:
the extraction module is used for extracting the identification code of the information to be processed when the information to be processed is received;
the searching module is used for searching the display mode corresponding to the identification code from the corresponding relation between the prestored identification code and the display mode according to the identification code;
the second display module is used for displaying the information to be processed according to the display mode corresponding to the identification code;
the second display module is used for displaying the information to be processed in a conventional information display list when the display mode corresponding to the identification code is normal display; when the display mode corresponding to the identification code is private display, displaying the information to be processed in a private information display list; when the display mode corresponding to the identification code is display after decryption, storing the information to be processed in the private information display list, and displaying the information to be processed after obtaining the display password;
the device further comprises:
the system comprises a first display module, a second display module and a display module, wherein the first display module is used for displaying an information processing dialog box, and the information processing dialog box comprises an information deleting option;
and the deleting module is used for deleting the information to be processed when the information deleting option is detected to be selected.
3. An information synchronization apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
providing a feature information setting interface, wherein the feature information setting interface is provided with a plurality of input boxes, and when the input operation of a user on the feature information setting interface is detected, feature information is set, and the feature information comprises a specific number, a specific address and a specific keyword;
scanning a local memory every other preset time length, acquiring the synchronization time of information synchronization last time, and taking the information of which the receiving time is behind the synchronization time as information to be processed;
judging whether the information to be processed comprises at least one of the specific number, the specific address and the specific keyword; if the information to be processed comprises at least one of the specific number, the specific address and the specific keyword, determining that the information to be processed meets a filtering condition; the specific number is used for pushing a notification message to a user through a short message, and the specific address is used for pushing the notification message to the user through a mailbox;
if the information to be processed meets the filtering condition, filtering the information to be processed when the information is synchronous; displaying an information processing dialog box, the information processing dialog box including an information deletion option; when the information deleting option is detected to be selected, deleting the information to be processed;
when the information to be processed is received, extracting an identification code of the information to be processed; according to the identification code, searching a display mode corresponding to the identification code from a corresponding relation between the pre-stored identification code and the display mode; displaying the information to be processed according to the display mode corresponding to the identification code;
if the display mode corresponding to the identification code is normal display, displaying the information to be processed in a conventional information display list;
if the display mode corresponding to the identification code is private display, displaying the information to be processed in a private information display list;
and if the display mode corresponding to the identification code is displayed after decryption, storing the information to be processed in the private information display list, and displaying the information to be processed after obtaining the display password.
4. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the information synchronization method of claim 1.
CN201611234409.5A 2016-12-28 2016-12-28 Information synchronization method and device Active CN106790584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611234409.5A CN106790584B (en) 2016-12-28 2016-12-28 Information synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611234409.5A CN106790584B (en) 2016-12-28 2016-12-28 Information synchronization method and device

Publications (2)

Publication Number Publication Date
CN106790584A CN106790584A (en) 2017-05-31
CN106790584B true CN106790584B (en) 2020-09-04

Family

ID=58924560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611234409.5A Active CN106790584B (en) 2016-12-28 2016-12-28 Information synchronization method and device

Country Status (1)

Country Link
CN (1) CN106790584B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109391944B (en) * 2018-10-31 2022-05-20 北京小米移动软件有限公司 Wireless network remarking method and device
CN110098996A (en) * 2019-04-29 2019-08-06 努比亚技术有限公司 Synchronous filtering method, terminal and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491120A (en) * 2012-06-13 2014-01-01 中兴通讯股份有限公司 System and method for user information transferring based on cloud storage
CN104583901A (en) * 2012-08-20 2015-04-29 罗·利维 Systems and methods for collection-based multimedia data packaging and display

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009516B (en) * 2006-01-26 2011-05-04 华为技术有限公司 A method, system and device for data synchronization
CN101022632A (en) * 2007-01-26 2007-08-22 华为技术有限公司 Message monitoring method and device
CN102043859A (en) * 2010-12-27 2011-05-04 用友软件股份有限公司 Data updating method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491120A (en) * 2012-06-13 2014-01-01 中兴通讯股份有限公司 System and method for user information transferring based on cloud storage
CN104583901A (en) * 2012-08-20 2015-04-29 罗·利维 Systems and methods for collection-based multimedia data packaging and display

Also Published As

Publication number Publication date
CN106790584A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN105843615B (en) Notification message processing method and device
CN107992248B (en) Message display method and device
EP3038334B1 (en) Method and device for replying to a call
CN107423386B (en) Method and device for generating electronic card
CN106919629B (en) Method and device for realizing information screening in group chat
CN104462296B (en) File management method and device and terminal
US10324910B2 (en) Contact record processing method and apparatus
CN107147815B (en) Call processing method and device based on taxi taking
CN105979062B (en) Communication event processing method and device
CN108011990B (en) Contact management method and device
CN107402767B (en) Method and device for displaying push message
CN113259226A (en) Information synchronization method and device, electronic equipment and storage medium
CN105939424B (en) Application switching method and device
CN106790584B (en) Information synchronization method and device
CN104951522B (en) Method and device for searching
US10154128B2 (en) Methods and apparatuses for interpreting a phone number
CN111368329B (en) Message display method and device, electronic equipment and storage medium
CN106506808B (en) Method and device for prompting communication message
CN108491535B (en) Information classified storage method and device
CN107908522B (en) Information display method and device and computer readable storage medium
CN110785987B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN112351131B (en) Control method and device of electronic equipment, electronic equipment and storage medium
US20170289306A1 (en) Method, device and storage medium for synchronizing states
CN107145286B (en) Browsing interaction processing method and device
CN107181850B (en) Number marking 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