WO2017166558A1 - 状态同步方法及装置 - Google Patents

状态同步方法及装置 Download PDF

Info

Publication number
WO2017166558A1
WO2017166558A1 PCT/CN2016/092824 CN2016092824W WO2017166558A1 WO 2017166558 A1 WO2017166558 A1 WO 2017166558A1 CN 2016092824 W CN2016092824 W CN 2016092824W WO 2017166558 A1 WO2017166558 A1 WO 2017166558A1
Authority
WO
WIPO (PCT)
Prior art keywords
contact
target
usage status
target contact
list
Prior art date
Application number
PCT/CN2016/092824
Other languages
English (en)
French (fr)
Inventor
谭康喜
梁鑫
许超
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Publication of WO2017166558A1 publication Critical patent/WO2017166558A1/zh

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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/27457Management thereof, e.g. manual editing of data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/2753Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content
    • H04M1/2757Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content by data transmission, e.g. downloading

Definitions

  • the present disclosure relates to the field of communications technologies, and in particular, to a state synchronization method and apparatus.
  • users can change their contact information anytime, anywhere, such as the user's mobile phone number, the user's email address, and so on.
  • the contact information needs to be sent to each contact in the contact list. For example, after user A replaces the mobile phone number, user A needs to send a new mobile phone number to each friend.
  • the present disclosure provides a state synchronization method and apparatus.
  • the technical solution is as follows:
  • a state synchronization method comprising:
  • synchronizing the usage status of the target contact to the contacts in the target contact list includes:
  • synchronizing the usage status of the target contact to the contacts in the target contact list includes:
  • the usage status of the target contact mode is synchronized to the contact corresponding to the preset contact list.
  • the usage status of the target contact is updated to be discontinued, and the method further includes:
  • a state synchronization method comprising:
  • the set usage status is sent to the server so that the server synchronizes the usage status to the contacts in the terminal's contact list when it detects a change in usage status.
  • a state synchronization device comprising:
  • a status receiving module configured to acquire a usage status of a target contact mode of the target user
  • the state detecting module is configured to detect, according to the usage state of each contact mode stored in advance, whether the usage state of the target contact mode changes;
  • a list obtaining module configured to obtain a target contact list of the target user if the usage status of the target contact mode changes
  • the status synchronization module is configured to synchronize the usage status of the target contact to the contact in the target contact list.
  • the state synchronization module includes:
  • a first obtaining submodule configured to obtain, for each contact in the target contact list, a usage status of the contact information of the contact
  • the first synchronization sub-module is configured to synchronize the usage status of the target contact to the contact corresponding to each contact mode in the target contact list that is in use.
  • the state synchronization module includes:
  • a second obtaining submodule configured to obtain a preset contact list of the contact for each contact in the target contact list
  • a target detection submodule configured to detect whether a target contact mode exists in a preset contact list
  • the second synchronization sub-module is configured to synchronize the usage status of the target contact mode to the contact corresponding to the preset contact list, if the target contact mode exists in the preset contact list.
  • the usage status of the target contact is updated to be discontinued, and the device further includes:
  • An update acquisition module configured to obtain an updated target contact method
  • the update synchronization module is configured to synchronize the updated target contact to the contacts in the target contact list.
  • a state synchronization device comprising:
  • a signal receiving module configured to receive a setting signal
  • a status setting module configured to set a usage status of the target contact according to the setting signal
  • the status sending module is configured to send the set usage status to the server, so that the server synchronizes the usage status to the contacts in the terminal's contact list when detecting that the usage status changes.
  • a state synchronization device comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • a state synchronization device comprising:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • Obtaining the usage status of the target contact mode of the target user detecting whether the usage status of the target contact mode changes according to the usage status of each contact mode stored in advance; and if the usage status of the target contact mode changes, acquiring the target of the target user Contact list; synchronize the usage status of the target contact to the contact in the target contact list; the server detects the change in the usage status of the target contact, and automatically detects the target when the usage status of the target contact is changed.
  • the usage status of the contact mode is synchronized to the contact in the target contact list; the problem that the user needs to manually send the replaced contact information to each contact in the contact list after the contact mode is replaced is solved;
  • the usage status of the target contact mode changes, the usage status of the target contact mode is automatically synchronized to the contact in the target contact list, and the effect of automatically synchronizing the usage status of the target contact mode is achieved.
  • FIG. 1 is a flowchart of a state synchronization method according to an exemplary embodiment
  • FIG. 2 is a flowchart of a state synchronization method according to an exemplary embodiment
  • FIG. 3A is a flowchart of a state synchronization method according to another exemplary embodiment
  • FIG. 3B is a schematic diagram of a usage state setting method according to an exemplary embodiment
  • FIG. 3C is a schematic diagram of a usage state setting method according to another exemplary embodiment
  • FIG. 4A is a flowchart of a state synchronization method according to still another exemplary embodiment
  • FIG. 4B is a schematic diagram showing a display state in a contact list according to an exemplary embodiment
  • FIG. 5A is a flowchart of a state synchronization method according to still another exemplary embodiment
  • FIG. 5B is a schematic diagram of a contact usage state setting method according to an exemplary embodiment
  • FIG. 6 is a block diagram of a state synchronization apparatus according to an exemplary embodiment
  • FIG. 7 is a block diagram of a state synchronization apparatus according to another exemplary embodiment.
  • FIG. 8 is a block diagram of a state synchronization apparatus according to an exemplary embodiment
  • FIG. 9 is a block diagram of a state synchronization device, according to an exemplary embodiment.
  • the state synchronization method disclosed in the embodiment of the present disclosure is mainly applied to when the target contact mode of the target user changes, the server synchronizes the use state of the target contact mode to the contact in the target contact list of the target user, so that the target contact is made. Contacts in the list can keep track of the target contact that the target user is using.
  • FIG. 1 is a flowchart of a state synchronization method according to an exemplary embodiment. As shown in FIG. 1, the state synchronization method is applied to a server, and the state synchronization method includes the following steps.
  • step 101 the usage status of the target user's target contact mode is obtained.
  • step 102 it is detected whether the usage state of the target contact mode has changed according to the usage state of each contact mode stored in advance.
  • step 103 if the usage status of the target contact mode changes, the target contact list of the target user is obtained.
  • step 104 the usage status of the target contact is synchronized to the contact in the target contact list.
  • the method for state synchronization acquires the usage state of the target contact mode of the target user; and detects whether the usage state of the target contact mode changes according to the usage state of each contact mode stored in advance. If the usage status of the target contact method changes, the target contact list of the target user is obtained; the usage status of the contact target contact mode is synchronized to the contact in the target contact list; and the server detects whether the usage status of the target contact mode changes.
  • the usage status of the target contact mode is automatically synchronized to the contact in the target contact list; after the user replaces the contact method, The problem that the contact information needs to be manually sent to each contact in the contact list; when the usage status of the target contact is changed, the usage status of the target contact is automatically synchronized to the target contact list.
  • the contact in the middle achieves the effect of automatically synchronizing the usage status of the target contact.
  • FIG. 2 is a flowchart of a state synchronization method according to an exemplary embodiment. As shown in FIG. 2, the state synchronization method is applied to a terminal, and the state synchronization method includes the following steps.
  • step 201 a setup signal is received.
  • step 202 the usage status of the target contact mode is set according to the setting signal.
  • step 203 the set usage status is sent to the server so that the server synchronizes the usage status to the contacts in the terminal's contact list when the usage status changes.
  • the state synchronization method receives the setting signal, sets the usage state of the target contact mode according to the setting signal, and sends the set usage state to the server, so that when the usage state of the server changes, Synchronize the usage status to the contact in the contact list of the terminal; the terminal sets the usage status of the target contact mode according to the setting signal, and sends the set usage status to the server, which solves the need for the user to replace the contact information
  • the problem that the contact information is manually sent to each contact in the contact list; when the server changes the usage status of the target contact, the usage status of the target contact is automatically synchronized to the target contact list.
  • the contact realizes the effect of automatically synchronizing the usage status of the target contact.
  • FIG. 3A is a flowchart of a state synchronization method according to another exemplary embodiment. As shown in FIG. 3A, the state synchronization method includes the following steps.
  • step 301 the terminal receives the setting signal.
  • the target user When the target user needs to set the usage status of his own contact mode, the target user can apply a setting signal for setting the usage status of his own target contact mode in the terminal.
  • the terminal can receive the setting signal.
  • the target contact method refers to the contact method of the target user.
  • the target contact method includes any one of a mobile phone number, an email address, and a social account number.
  • the content of the target contact method in the embodiment of the present disclosure is not specifically limited.
  • the setting signal includes: adding a new signal for using the state of the target contact mode, or updating the update signal of the existing usage state of the target contact mode.
  • the user can set the usage status by setting a status label or a status identifier, so the terminal can also receive a corresponding setting signal accordingly.
  • the user can click the local number to open the editing interface of “My Information”, in the editing interface.
  • a setting signal that marks the use status of the mobile phone number as "in use” is applied.
  • the user when the user disables the current mobile phone number, and then wants to change the usage status of the mobile phone number from being used to being stopped, the user can update the usage status of the mobile phone number to the stopped use in the terminal. signal.
  • the terminal in the embodiment of the present disclosure may be a smart phone, a tablet computer, a smart TV, an e-book reader, a multimedia player, or the like.
  • step 302 the terminal sets the usage status of the target contact mode according to the setting signal.
  • the user may also apply a setting signal that sets the updated target contact.
  • the terminal may set the updated target contact manner according to the received setting signal correspondingly.
  • the updated target contact information and the usage status of the target contact information before the update may be set together.
  • the user when the user needs to change the mobile phone number and wants to set the usage status of the mobile phone number, the user can first click the local number to open the editing interface of “My Information”, and the use of the mobile phone number before the replacement in the editing interface. The status is marked as “Stop Using” and is followed by the message "The number being used is 12365715422". As shown in Figure 3C.
  • step 303 the terminal sends the set usage status to the server.
  • the terminal After the terminal sets the usage status of the target contact mode according to the setting signal, the terminal sends the set usage status to the server.
  • step 304 the server acquires the usage status of the target contact information sent by the terminal.
  • step 305 it is detected whether the usage state of the target contact mode has changed according to the usage state of each contact mode stored in advance.
  • the server After obtaining the usage status of the target contact mode sent by the terminal, the server detects whether the acquired usage state of the target contact mode changes according to the usage status of each contact mode stored in advance.
  • the server detects, according to the mobile phone number, whether the usage status of the mobile phone number is stored in the list of the usage status of the pre-stored contact information. If the detection result is present, the usage state of the mobile phone number stored in advance is acquired, and assuming that the usage state stored in advance is “in use”, the server uses the previously acquired “stop use” usage state and the pre-stored “ The usage status of the "in use” is compared. Since the usage status obtained this time is not the same as the usage status stored in advance, the server determines that the usage status of the mobile number changes. If the detection result is non-existent, the server determines that the usage status of the contact mode is a new usage state. At this time, the server can still determine that the usage status of the mobile phone number changes.
  • step 306 if the usage status of the target contact mode changes, the server acquires the target contact list of the target user.
  • the target contact list of the target user is obtained according to the target contact method.
  • a contact list of each contact method is pre-stored in the server.
  • the server finds the use of the target contact
  • the server can obtain the target contact list corresponding to the target contact.
  • the server may not perform step 307.
  • step 307 the server synchronizes the usage status of the target contact to the contact in the target contact list.
  • the server After obtaining the target contact list, the server reads the contact information corresponding to each contact in the target contact list. The server synchronizes the usage status of the target contact to each contact based on the contact information that is read.
  • the server determines that the usage status of the mobile phone number 12356715422 is updated to be in use, the server obtains the target contact list corresponding to the mobile phone number 12356715422, and reads the contact information corresponding to each contact according to the target contact list; according to the read contact The method synchronizes "12356715422+In Use" to each contact in the target contact list.
  • the server may also obtain the updated target contact information, and synchronize the updated target contact information to the contact in the target contact list.
  • the server may synchronize the updated target contact information with the usage status of the target contact information before the update to each contact in the target contact list.
  • the server when the server recognizes that the usage status of the mobile phone number 12356715422 reported by the terminal is changed from “in use” to "stop using”, the server obtains the target contact list corresponding to the mobile phone number 12356715422; the received mobile phone number 12356715422+ The use is stopped and the number being used is 12356715432" is synchronized to each contact in the target contact list.
  • the synchronization manner of the usage status of the server synchronization target contact may include a short message, a mail, or an automatic update target usage status in a preset contact list of each contact in the target contact list.
  • the manner in which the server synchronizes the use status of the target contact mode in the embodiment is not specifically limited.
  • the server edits the usage status of the user's mobile phone number into a short message and sends the message to the user's friend; for example, when the usage status of the user's email address changes, the server will user.
  • the usage status of the email address is edited and sent to the user's friend in the form of an email; for example, when the usage status of the user's mobile phone number changes, the server directly uses the mobile phone number of the user in the contact list of the friend. Update.
  • the method for state synchronization acquires the usage state of the target contact mode of the target user; and detects whether the usage state of the target contact mode changes according to the usage state of each contact mode stored in advance. If the usage status of the target contact method changes, the target contact list of the target user is obtained; the usage status of the contact target contact mode is synchronized to the contact in the target contact list; and the server detects whether the usage status of the target contact mode changes. When it is detected that the usage status of the target contact mode changes, the usage status of the target contact mode is automatically synchronized to the contact in the target contact list; after the user replaces the contact mode, the contact information needs to be manually replaced. The problem of sending each contact in the contact list; when the usage status of the target contact is changed, the usage status of the target contact is automatically synchronized to the contact in the target contact list, and the automatic realization is realized. Synchronize target contact The effect of state.
  • the server synchronizes the usage status of the target contact information to each contact in the target contact list.
  • the server only synchronizes the usage status of the target contact information to the target.
  • step 307a for each contact in the target contact list, the server obtains the usage status of the contact's contact information.
  • the server After obtaining the target contact list of the target user, the server reads the contact mode corresponding to each contact in the target contact list, and obtains the usage status of each contact mode.
  • the usage status of each contact mode is pre-stored in the server, and when the server reads the contact information of each contact in the target contact list, the contact information of each contact in the target contact list is obtained. Corresponding use status.
  • the mobile phone number of user A is 12356715422, and the usage status of the mobile phone number is “in use”, and the contact list of user A includes: contact 1, contact 2, contact 3, ..., contact 50.
  • the usage status of the contact 1 is “in use”
  • the usage status of the contact 2 is "stop using”
  • the usage status of the contact 3 is “in use”
  • ... the usage status of the contact 50 is "in use” ".
  • Figure 4B As shown in Figure 4B.
  • the usage status of each contact mode is stored in the target contact list, so that the target contact can obtain the status of each contact in the target contact list. Know the contact information that each contact is using.
  • step 307b the server synchronizes the usage status of the target contact to the contact corresponding to each contact in the target contact list that is in use.
  • the server After obtaining the usage status of the contact mode of each contact in the target contact list, the server reads each contact mode in the target contact list that is in use, and synchronizes the usage status of the target contact mode to the read status. The contact for each contact that is in use.
  • the method for state synchronization acquires the usage state of the target contact mode of the target user; and detects whether the usage state of the target contact mode changes according to the usage state of each contact mode stored in advance. If the usage status of the target contact method changes, the target contact list of the target user is obtained; the usage status of the contact target contact mode is synchronized to the contact in the target contact list; and the server detects whether the usage status of the target contact mode changes. When it is detected that the usage status of the target contact mode changes, the usage status of the target contact mode is automatically synchronized to the contact in the target contact list; after the user replaces the contact mode, the contact information needs to be manually replaced. The problem of sending each contact in the contact list; when the usage status of the target contact is changed, the usage status of the target contact is automatically synchronized to the contact in the target contact list, and the automatic realization is realized. Synchronize target contact The effect of state.
  • the server synchronizes the usage status of the target contact information only to the contact corresponding to each contact mode in the target contact list, and implements the contact corresponding to each contact mode in the target contact list that is stopped.
  • the person cannot receive the usage status of the target contact of the server synchronization, so the server does not need to
  • the usage status of the contact synchronization target contact mode corresponding to each contact mode that is stopped is used, thereby reducing the possibility of waste of server resources and ensuring the security of the target contact mode.
  • the server synchronizes the usage status of the target contact information to each contact in the target contact list.
  • the server may only synchronize the usage status of the target contact information.
  • the contact corresponding to the target contact information exists in the preset contact list of the contact in the target contact list. Therefore, referring to FIG. 5A, step 307 can be replaced with the following steps 307c to 307e.
  • step 307c for each contact in the target contact list, the server obtains a preset contact list of the contact.
  • the server After obtaining the target user's target contact list, the server reads the contact information of each contact in the target contact list.
  • the server obtains a preset contact list corresponding to each contact according to each contact information that is read and a contact list corresponding to each contact stored in advance, where the preset contact list refers to each contact corresponding to each contact. Contact list.
  • step 307d the server detects whether the target contact mode exists in the preset contact list.
  • the server After the server obtains the preset contact list of each contact, it detects whether the target contact information exists in the obtained preset contact list.
  • user A's target contact list includes 100 contacts, which are contact 1, contact 2, ..., contact 100; respectively detect contact 1, contact 2, ..., contact 100 Whether the target contact mode of user A exists in the corresponding preset contact list.
  • step 307e if the target contact mode exists in the preset contact list, the server synchronizes the use status of the target contact mode to the contact corresponding to the preset contact list.
  • the server synchronizes the usage status of the target contact to the contact corresponding to the preset contact list.
  • user A's target contact list includes 100 contacts, which are contact 1, contact 2, ..., and contact 100; however, contact 1 to contact 10 do not correspond to the preset contact list.
  • There is a contact mode of the user A and the contact mode of the user A exists in the preset contact list corresponding to the contact 11 to the contact 100. Then the server synchronizes the usage status of the contact mode of the user A to the contact 11 to the contact 100.
  • the server does not synchronize the usage status of the target contact mode to the contact corresponding to the preset contact list.
  • the target contact mode does not exist in the preset contact list
  • the target contact mode does not exist in the contact corresponding to the preset contact list, indicating that the target user may not be in contact with the contact corresponding to the preset contact list.
  • the server does not synchronize the usage status of the target contact information to the contact corresponding to the preset contact list.
  • user A's target contact list includes 100 contacts, which are contact 1, contact 2, ...,
  • the contact information of the user A is not present in the preset contact list corresponding to the contact 1 to the contact 10, and the contact mode of the user A exists in the preset contact list corresponding to the contact 11 to the contact 100.
  • the server synchronizes the usage status of the contact mode of the user A to the contact 1 to the contact 10.
  • the method for state synchronization acquires the usage state of the target contact mode of the target user; and detects whether the usage state of the target contact mode changes according to the usage state of each contact mode stored in advance. If the usage status of the target contact method changes, the target contact list of the target user is obtained; the usage status of the contact target contact mode is synchronized to the contact in the target contact list; and the server detects whether the usage status of the target contact mode changes. When it is detected that the usage status of the target contact mode changes, the usage status of the target contact mode is automatically synchronized to the contact in the target contact list; after the user replaces the contact mode, the contact information needs to be manually replaced. The problem of sending each contact in the contact list; when the usage status of the target contact is changed, the usage status of the target contact is automatically synchronized to the contact in the target contact list, and the automatic realization is realized. Synchronize target contact The effect of state.
  • the server synchronizes the usage status of the target contact mode to the contact corresponding to the target contact mode in the preset contact list, and implements the target contact mode when the target contact mode does not exist in the preset contact list.
  • the corresponding contact and the contact corresponding to the preset contact list are not in a friend relationship, so the server does not need to synchronize the use status of the target contact mode with the contact corresponding to the preset contact list, and the server is lowered. The possibility of wasting resources while also ensuring the security of the target contact.
  • the server when the server synchronizes the usage state of the target contact mode to the contact in the target contact list, the server directly updates the usage state of the target contact mode to the target.
  • the terminal in the contact list corresponds to the terminal; optionally, after the server synchronizes the usage status of the target contact mode to the contact in the target contact list, the contact in the target contact list can modify the stored target. The status of use of the contact.
  • the server synchronizes the use status of the mobile phone number "stop using” to the friend user B of user A, Referring to FIG. 5B, the user B edits the usage status of the mobile phone number of the user A as "stop using” in the contact list of the mobile phone.
  • FIG. 6 is a block diagram of a state synchronization apparatus according to an exemplary embodiment. As shown in FIG. 6, the state synchronization apparatus includes, but is not limited to:
  • the status receiving module 620 is configured to acquire a usage status of the target user's target contact mode.
  • the state detecting module 640 is configured to detect whether the usage state of the target contact mode changes according to the usage state of each contact mode stored in advance.
  • the list obtaining module 660 is configured to obtain a target contact list of the target user if the usage status of the target contact mode changes.
  • the state synchronization module 680 is configured to synchronize the usage status of the target contact to the contacts in the target contact list.
  • the state synchronization device acquires the usage state of the target contact mode of the target user; and detects whether the usage state of the target contact mode changes according to the usage state of each contact mode stored in advance; If the usage status of the target contact mode changes, the target contact list of the target user is obtained; the usage status of the contact target contact mode is synchronized to the contact in the target contact list; and the server detects whether the usage status of the target contact mode changes, When it is detected that the usage status of the target contact mode changes, the usage status of the target contact mode is automatically synchronized to the contact in the target contact list; after the user replaces the contact information, the contact information needs to be manually changed. The problem sent to each contact in the contact list; when the usage status of the target contact is changed, the usage status of the target contact is automatically synchronized to the contact in the target contact list, and automatic synchronization is realized. Use of target contact State effect.
  • FIG. 7 is a block diagram of a state synchronization apparatus according to another exemplary embodiment. As shown in FIG. 7, the state synchronization apparatus includes, but is not limited to:
  • the status receiving module 710 is configured to acquire a usage status of the target user's target contact mode.
  • the state detecting module 720 is configured to detect whether the usage state of the target contact mode changes according to the usage state of each contact mode stored in advance.
  • the list obtaining module 730 is configured to acquire a target contact list of the target user if the usage status of the target contact mode changes.
  • the state synchronization module 740 is configured to synchronize the usage status of the target contact to the contacts in the target contact list.
  • the state synchronization module 740 may include:
  • the first obtaining sub-module 741 is configured to obtain, for each contact in the target contact list, a usage status of the contact information of the contact.
  • the first synchronization sub-module 742 is configured to synchronize the usage status of the target contact mode to the contact corresponding to each contact mode in use in the target contact list.
  • the state synchronization module 740 may further include:
  • the second obtaining sub-module 743 is configured to obtain a preset contact list of the contact for each contact in the target contact list.
  • the target detection sub-module 744 is configured to detect whether the target contact mode exists in the preset contact list.
  • the second synchronization sub-module 745 is configured to synchronize the usage status of the target contact mode to the contact corresponding to the preset contact list, if the target contact mode exists in the preset contact list.
  • the device may further include:
  • the update acquisition module 750 is configured to obtain the updated target contact information.
  • the update synchronization module 760 is configured to synchronize the updated target contact to the contacts in the target contact list.
  • the state synchronization device acquires the usage state of the target contact mode of the target user; and detects whether the usage state of the target contact mode changes according to the usage state of each contact mode stored in advance; If the usage status of the target contact mode changes, the target contact list of the target user is obtained; the usage status of the contact target contact mode is synchronized to the contact in the target contact list; and the server detects whether the usage status of the target contact mode changes, When it is detected that the usage status of the target contact mode changes, the usage status of the target contact mode is automatically synchronized to the contact in the target contact list; after the user replaces the contact information, the contact information needs to be manually changed. The problem sent to each contact in the contact list; when the usage status of the target contact is changed, the usage status of the target contact is automatically synchronized to the contact in the target contact list, and automatic synchronization is realized. Use of target contact State effect.
  • the server synchronizes the usage status of the target contact information only to the contact corresponding to each contact mode in the target contact list, and implements the contact corresponding to each contact mode in the target contact list that is stopped.
  • the user cannot receive the usage status of the target contact mode of the server synchronization, so the server does not need to synchronize the usage status of the target contact mode with the contact corresponding to each contact mode that is stopped, and the possibility of reducing server resource waste is achieved. It also guarantees the security of the target contact.
  • the server synchronizes the usage status of the target contact mode to the contact corresponding to the target contact mode in the preset contact list, and implements the target contact mode when the target contact mode does not exist in the preset contact list.
  • the corresponding contact and the contact corresponding to the preset contact list are not in a friend relationship, so the server does not need to synchronize the use status of the target contact mode with the contact corresponding to the preset contact list, and the server is lowered. The possibility of wasting resources while also ensuring the security of the target contact.
  • FIG. 8 is a block diagram of a state synchronization apparatus according to an exemplary embodiment. As shown in FIG. 8, the state synchronization apparatus includes, but is not limited to:
  • the signal receiving module 820 is configured to receive the setting signal.
  • the status setting module 840 is configured to set a usage status of the target contact according to the setting signal.
  • the status sending module 860 is configured to send the set usage status to the server, so that the server synchronizes the usage status to the contacts in the terminal's contact list when the usage status changes.
  • the state synchronization device receives the setting signal, sets the usage state of the target contact mode according to the setting signal, and sends the set usage state to the server, so that when the server changes in the usage state, Synchronize the usage status to the contact in the contact list of the terminal; the terminal sets the usage status of the target contact mode according to the setting signal, and sends the set usage status to the server, which solves the need for the user to replace the contact information
  • the problem that the contact information is sent to each contact in the contact list; when the usage status of the target contact is changed, the usage status of the target contact is synchronized to the target contact column.
  • the contacts in the table implement the effect of automatically synchronizing the usage status of the target contact.
  • An exemplary embodiment of the present disclosure provides a state synchronization apparatus capable of implementing the state synchronization method provided by the present disclosure, the state synchronization apparatus comprising: a processor, a memory for storing processor-executable instructions;
  • processor is configured to:
  • An exemplary embodiment of the present disclosure provides a state synchronization apparatus capable of implementing the state synchronization method provided by the present disclosure, the state synchronization apparatus comprising: a processor, a memory for storing processor-executable instructions;
  • processor is configured to:
  • FIG. 9 is a block diagram of a state synchronization device, according to an exemplary embodiment.
  • device 900 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 900 can include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and Communication component 916.
  • Processing component 902 typically controls the overall operation of device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 902 can include one or more processors 918 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 902 can include one or more modules to facilitate interaction between component 902 and other components.
  • processing component 902 can include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
  • Memory 904 is configured to store various types of data to support operation at device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phone book data, Interest, pictures, videos, etc.
  • the memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 906 provides power to various components of device 900.
  • Power component 906 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 900.
  • the multimedia component 908 includes a screen between the device 900 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 908 includes a front camera and/or a rear camera. When the device 900 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 910 is configured to output and/or input an audio signal.
  • audio component 910 includes a microphone (MIC) that is configured to receive an external audio signal when device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 904 or transmitted via communication component 916.
  • the audio component 910 also includes a speaker for outputting an audio signal.
  • the I/O interface 912 provides an interface between the processing component 902 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 914 includes one or more sensors for providing device 900 with various aspects of status assessment.
  • sensor component 914 can detect an open/closed state of device 900, a relative positioning of components, such as a display and a keypad of device 900, and sensor component 914 can also detect a change in position of one component of device 900 or device 900, user The presence or absence of contact with device 900, device 900 orientation or acceleration/deceleration and temperature variation of device 900.
  • Sensor assembly 914 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 914 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 916 is configured to facilitate wired or wireless communication between device 900 and other devices.
  • the device 900 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof.
  • communication component 916 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • communication component 916 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies to achieve.
  • RFID radio frequency identification
  • IrDA Infrared Data Association
  • UWB Ultra-wideband
  • Bluetooth Bluetooth
  • device 900 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 A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the state synchronization method described above.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the state synchronization method described above.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 904 comprising instructions executable by processor 918 of apparatus 900 to perform the state synchronization method described above.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

Abstract

本公开揭示了一种状态同步方法及装置,属于通信技术领域。所述状态同步方法包括:通过获取目标用户的目标联系方式的使用状态;根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;同步目标联系方式的使用状态至目标联系人列表中的联系人;解决了用户在更换联系方式后,需要将更换后的联系方式手动的发送给联系人列表中的每一个联系人的问题;达到了在目标联系方式的使用状态发生变化时,将目标联系方式的使用状态自动同步给目标联系人列表中的联系人,实现了自动同步目标联系方式的使用状态的效果。

Description

状态同步方法及装置
本申请基于申请号为201610189245.2、申请日为2016年03月29日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及通信技术领域,特别涉及一种状态同步方法及装置。
背景技术
在日常生活中,用户随时随地都可以更换自身的联系方式,比如:用户的手机号码、用户的邮箱地址等。
相关技术中,用户在更换联系方式后,需要将更换后的联系方式发送给联系人列表中的每一个联系人。比如:用户A更换了手机号码后,用户A需要将新的手机号码发送给各个好友。
发明内容
为了解决相关技术的问题,本公开提供一种状态同步方法及装置。所述技术方案如下:
根据本公开实施例的第一方面,提供一种状态同步方法,该方法包括:
获取目标用户的目标联系方式的使用状态;
根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;
若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;
同步目标联系方式的使用状态至目标联系人列表中的联系人。
在一个可选的实施例中,同步目标联系方式的使用状态至目标联系人列表中的联系人,包括:
对于目标联系人列表中的每个联系人,获取联系人的联系方式的使用状态;
同步目标联系方式的使用状态至目标联系人列表中处于正在使用状态的各个联系方式所对应的联系人。
在一个可选的实施例中,同步目标联系方式的使用状态至目标联系人列表中的联系人,包括:
对于目标联系人列表中的每个联系人,获取联系人的预设联系人列表;
检测目标联系方式是否存在于预设联系人列表中;
若目标联系方式存在于预设联系人列表中,则同步目标联系方式的使用状态至预设联系人列表所对应的联系人。
在一个可选的实施例中,目标联系方式的使用状态更新为停止使用,该方法还包括:
获取更新后的目标联系方式;
同步更新后的目标联系方式至目标联系人列表中的联系人。
根据本公开实施例的第二方面,提供一种状态同步方法,该方法包括:
接收设置信号;
根据设置信号设置目标联系方式的使用状态;
将设置的使用状态发送至服务器,以便服务器在检测到使用状态发生变化时,将使用状态同步至终端的联系人列表中的联系人。
根据本公开实施例的第三方面,提供一种状态同步装置,该装置包括:
状态接收模块,被配置为获取目标用户的目标联系方式的使用状态;
状态检测模块,被配置为根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;
列表获取模块,被配置为若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;
状态同步模块,被配置为同步目标联系方式的使用状态至目标联系人列表中的联系人。
在一个可选的实施例中,状态同步模块,包括:
第一获取子模块,被配置为对于目标联系人列表中的每个联系人,获取联系人的联系方式的使用状态;
第一同步子模块,被配置为同步目标联系方式的使用状态至目标联系人列表中处于正在使用状态的各个联系方式所对应的联系人。
在一个可选的实施例中,状态同步模块,包括:
第二获取子模块,被配置为对于目标联系人列表中的每个联系人,获取联系人的预设联系人列表;
目标检测子模块,被配置为检测目标联系方式是否存在于预设联系人列表中;
第二同步子模块,被配置为若目标联系方式存在于预设联系人列表中,则同步目标联系方式的使用状态至预设联系人列表所对应的联系人。
在一个可选的实施例中,目标联系方式的使用状态更新为停止使用,该装置,还包括:
更新获取模块,被配置为获取更新后的目标联系方式;
更新同步模块,被配置为同步更新后的目标联系方式至目标联系人列表中的联系人。
根据本公开实施例的第四方面,提供一种状态同步装置,该装置包括:
信号接收模块,被配置为接收设置信号;
状态设置模块,被配置为根据设置信号设置目标联系方式的使用状态;
状态发送模块,被配置为将设置的使用状态发送至服务器,以便服务器在检测到使用状态发生变化时,将使用状态同步至终端的联系人列表中的联系人。
根据本公开实施例的第五方面,提供一种状态同步装置,该装置包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
接收目标用户的目标联系方式的使用状态;
根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;
若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;
同步目标联系方式的使用状态至目标联系人列表中的联系人。
根据本公开实施例的第六方面,提供一种状态同步装置,该装置包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
接收设置信号;
根据设置信号设置目标联系方式的使用状态;
将设置的使用状态发送至服务器,以便服务器在使用状态发生变化时,将使用状态同步至终端的联系人列表中的联系人。
本公开的实施例提供的技术方案可以包括以下有益效果:
通过获取目标用户的目标联系方式的使用状态;根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;同步目标联系方式的使用状态至目标联系人列表中的联系人;服务器通过检测目标联系方式的使用状态是否发生变化,在检测到目标联系方式的使用状态发生变化时,自动将目标联系方式的使用状态同步给目标联系人列表中的联系人;解决了用户在更换联系方式后,需要将更换后的联系方式手动的发送给联系人列表中的每一个联系人的问题;达到了在目标联系方式的使用状态发生变化时,将目标联系方式的使用状态自动同步给目标联系人列表中的联系人,实现了自动同步目标联系方式的使用状态的效果。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是根据一示例性实施例示出的一种状态同步方法的流程图;
图2是根据一示例性实施例示出的一种状态同步方法的流程图;
图3A是根据另一示例性实施例示出的一种状态同步方法的流程图;
图3B是根据一示例性实施例实处的一种使用状态设置方法的示意图;
图3C是根据另一示例性实施例实处的一种使用状态设置方法的示意图;
图4A是根据再一示例性实施例示出的一种状态同步方法的流程图;
图4B是根据一示例性实施例示出的一种联系人列表中使用状态的显示示意图;
图5A是根据还一示例性实施例示出的一种状态同步方法的流程图;
图5B是根据一示例性实施例示出的一种联系人使用状态设置方法的示意图;
图6是根据一示例性实施例示出的一种状态同步装置的框图;
图7是根据另一示例性实施例示出的一种状态同步装置的框图;
图8是根据一示例性实施例示出的一种状态同步装置的框图;
图9是根据一示例性实施例示出的一种状态同步装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
本公开实施例公开的状态同步方法主要应用于当目标用户的目标联系方式发生改变时,服务器通过将目标联系方式的使用状态同步给目标用户的目标联系人列表中的联系人,使得目标联系人列表中的联系人可以及时得知目标用户正在使用的目标联系方式。
图1是根据一示例性实施例示出的一种状态同步方法的流程图,如图1所示,该状态同步方法应用于服务器中,该状态同步方法包括以下步骤。
在步骤101中,获取目标用户的目标联系方式的使用状态。
在步骤102中,根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化。
在步骤103中,若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表。
在步骤104中,同步目标联系方式的使用状态至目标联系人列表中的联系人。
综上所述,本公开实施例中提供的状态同步的方法,通过获取目标用户的目标联系方式的使用状态;根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;同步目标联系方式的使用状态至目标联系人列表中的联系人;服务器通过检测目标联系方式的使用状态是否发生变化,在检测到目标联系方式的使用状态发生变化时,自动将目标联系方式的使用状态同步给目标联系人列表中的联系人;解决了用户在更换联系方式后, 需要将更换后的联系方式手动的发送给联系人列表中的每一个联系人的问题;达到了在目标联系方式的使用状态发生变化时,将目标联系方式的使用状态自动同步给目标联系人列表中的联系人,实现了自动同步目标联系方式的使用状态的效果。
图2是根据一示例性实施例示出的一种状态同步方法的流程图,如图2所示,该状态同步方法应用于终端中,该状态同步方法包括以下步骤。
在步骤201中,接收设置信号。
在步骤202中,根据设置信号设置目标联系方式的使用状态。
在步骤203中,将设置的使用状态发送至服务器,以便服务器在使用状态发生变化时,将使用状态同步至终端的联系人列表中的联系人。
综上所述,本公开实施例中提供的状态同步方法,通过接收设置信号;根据设置信号设置目标联系方式的使用状态;将设置的使用状态发送至服务器,以便服务器在使用状态发生变化时,将使用状态同步至终端的联系人列表中的联系人;终端根据设置信号对目标联系方式的使用状态进行设置,并将设置的使用状态发送给服务器,解决了用户在更换联系方式后,需要将更换后的联系方式手动的发送给联系人列表中的每一个联系人的问题;达到了服务器在目标联系方式的使用状态发生变化时,将目标联系方式的使用状态自动同步给目标联系人列表中的联系人,实现了自动同步目标联系方式的使用状态的效果。
图3A是根据另一示例性实施例示出的一种状态同步方法的流程图,如图3A所示,该状态同步方法包括以下步骤。
在步骤301中,终端接收设置信号。
当目标用户需要设置自己的联系方式的使用状态时,目标用户可以在终端中施加用于设置自己的目标联系方式的使用状态的设置信号。相应的,终端可以接收该设置信号。目标联系方式是指目标用户自身的联系方式。
目标联系方式包括:手机号码、邮箱地址和社交帐号中的任意一种。本公开实施例中对目标联系方式的内容不作具体限定。设置信号包括:为目标联系方式新增使用状态的新增信号,或者,更新目标联系方式已有的使用状态的更新信号。
可选的,用户可以通过设置状态标签或者状态标识的方式来设置使用状态,所以终端也可以相应的接收到对应的设置信号。
比如,在用户更换手机号码之后,当想要将该手机号码的使用状态设置为正在使用时,结合图3B,用户可以点击本机号码进而打开“我的信息”的编辑界面,在编辑界面中施加将手机号码的使用状态标注为“正在使用”的设置信号。
又比如:当用户停用当前的手机号码,进而想要将该手机号码的使用状态由正在使用更新为停止使用时,用户可以在终端中施加将该手机号码的使用状态更新为停止使用的更新信号。
需要说明的是,本公开实施例中的终端可以是智能手机、平板电脑、智能电视、电子书阅读器、多媒体播放器等等。
在步骤302中,终端根据设置信号设置目标联系方式的使用状态。
可选的,当目标联系方式的使用状态由正在使用更新为停止使用时,用户还可以施加设置更新后的目标联系方式的设置信号。此时,终端可以根据接收到的该设置信号相应的设置更新后的目标联系方式。可选的,更新后的目标联系方式和更新前的目标联系方式的使用状态可以一同设置。
比如:当用户需要更换手机号码,且想要设置该手机号码的使用状态时,用户可以先点击本机号码打开“我的信息”的编辑界面,在编辑界面中将更换前的手机号码的使用状态标注为“停止使用”,并在后面加上“正在使用的号码为12356715422”的信息。如图3C所示。
在步骤303中,终端将设置的使用状态发送至服务器。
终端根据设置信号对目标联系方式的使用状态设置好后,将设置好的使用状态发送至服务器中。
在步骤304中,服务器获取终端发送的目标联系方式的使用状态。
在步骤305中,根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化。
服务器获取到终端发送的目标联系方式的使用状态后,根据预先存储的各个联系方式的使用状态,检测获取到的目标联系方式的使用状态是否发生变化。
当本次获取到的目标联系方式的使用状态与预先存储的使用状态不相同时,则确定目标联系方式的使用状态发生变化;当本次获取到的目标联系方式的使用状态与预先存储的使用状态相同时,则确定目标联系方式的使用状态未发生变化。
比如:当服务器接收到智能手机发送的手机号码12356715422的使用状态为“停止使用”时,服务器根据该手机号码检测在预先存储的联系方式的使用状态的列表中是否存储有该手机号码的使用状态,若检测结果为存在,则获取预先存储的该手机号码的使用状态,假定预先存储的使用状态为“正在使用”,服务器将本次获取到的“停止使用”的使用状态与预先存储的“正在使用”的使用状态进行比较,由于本次获取到的使用状态与预先存储的使用状态并不相同,因此服务器确定该手机号码的使用状态发生变化。而若检测结果为不存在,则服务器确定该联系方式的使用状态为新增的使用状态,此时,服务器仍然可以确定该手机号码的使用状态发生变化。
在步骤306中,若目标联系方式的使用状态发生变化,则服务器获取目标用户的目标联系人列表。
当服务器确定目标联系方式的使用状态发生变化后,根据目标联系方式,获取目标用户的目标联系人列表。
服务器中预先存储有各个联系方式的联系人列表。当服务器发现目标联系方式的使用 状态发生变化时,服务器可以获取该目标联系方式所对应的目标联系人列表。
可选的,若目标联系方式的使用状态未发生变化,则服务器可以不执行步骤307。
在步骤307中,服务器同步目标联系方式的使用状态至目标联系人列表中的联系人。
服务器在获取到目标联系人列表后,读取目标联系人列表中各个联系人所对应的联系方式。服务器根据读取到的联系方式将目标联系方式的使用状态同步给各个联系人。
比如:服务器确定得到手机号码12356715422的使用状态更新为正在使用,则服务器获取手机号码12356715422对应的目标联系人列表,根据目标联系人列表读取各个联系人对应的联系方式;根据读取到的联系方式将“12356715422+正在使用”同步给目标联系人列表中的各个联系人。
可选的,当目标联系方式的使用状态更新为“停止使用”时,服务器还可以获取更新后的目标联系方式,并将更新后的目标联系方式同步至目标联系人列表中的联系人。可选的,服务器可以将更新后的目标联系方式和更新前的目标联系方式的使用状态一同同步至目标联系人列表中的各个联系人。
比如:当服务器识别出终端上报的手机号码12356715422的使用状态从“正在使用”改变为“停止使用”时,则服务器获取手机号码12356715422对应的目标联系人列表;将接收到的“手机号码12356715422+停止使用,且正在使用的号码为12356715432”同步给目标联系人列表中的各个联系人。
可选的,服务器同步目标联系方式的使用状态的同步方式可以包括短信、邮件或自动更新目标联系方式在目标联系人列表中的各个联系人的预设联系人列表中的使用状态。本实施例中对服务器同步目标联系方式的使用状态的方式不作具体限定。
比如:在用户的手机号码的使用状态发生变化时,服务器将用户的手机号码的使用状态编辑成短信发送给用户的好友;又比如:在用户的邮箱地址的使用状态发生变化时,服务器将用户的邮箱地址的使用状态编辑成邮件的形式发送给用户的好友;再比如:在用户的手机号码的使用状态发生变化时,服务器直接对好友的联系人列表中的用户的手机号码的使用状态进行更新。
综上所述,本公开实施例中提供的状态同步的方法,通过获取目标用户的目标联系方式的使用状态;根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;同步目标联系方式的使用状态至目标联系人列表中的联系人;服务器通过检测目标联系方式的使用状态是否发生变化,在检测到目标联系方式的使用状态发生变化时,自动将目标联系方式的使用状态同步给目标联系人列表中的联系人;解决了用户在更换联系方式后,需要将更换后的联系方式手动的发送给联系人列表中的每一个联系人的问题;达到了在目标联系方式的使用状态发生变化时,将目标联系方式的使用状态自动同步给目标联系人列表中的联系人,实现了自动同步目标联系方式的使用状态的效果。
基于图3A所示的实施例中,服务器将目标联系方式的使用状态同步给目标联系人列表中的各个联系人,作为一种可能的实现方式,服务器仅将目标联系方式的使用状态同步给目标联系人列表中处于正在使用的各个联系方式所对应的联系人。因此,请参考图4A,上述实施例中的步骤307可以替换成为如下步骤307a和步骤307b。
在步骤307a中,对于目标联系人列表中的每个联系人,服务器获取联系人的联系方式的使用状态。
服务器在获取到目标用户的目标联系人列表后,读取目标联系人列表中每个联系人对应的联系方式,同时获取每个联系方式的使用状态。
可选的,服务器中预先存储有每个联系方式的使用状态,当服务器读取到目标联系人列表中每个联系人的联系方式后,获取目标联系人列表中每个联系人的联系方式所对应的使用状态。
比如:用户A的手机号码为12356715422,且该手机号码的使用状态为“正在使用”,用户A的联系人列表中包括:联系人1、联系人2、联系人3……、联系人50,且联系人1的使用状态为“正在使用”,联系人2的使用状态为“停止使用”,联系人3的使用状态为“正在使用”,……,联系人50的使用状态为“正在使用”。如图4B所示。
可选的,对于目标联系人列表中的每个联系人,目标联系人列表中存储有每个联系方式的使用状态,以便目标联系人可以通过目标联系人列表中每个联系方式的使用状态得知每个联系人正在使用的联系方式。
在步骤307b中,服务器同步目标联系方式的使用状态至目标联系人列表中处于正在使用状态的各个联系方式所对应的联系人。
服务器在获取到目标联系人列表中每个联系人的联系方式的使用状态后,读取目标联系人列表中处于正在使用状态的各个联系方式,并将目标联系方式的使用状态同步至读取到的处于正在使用状态的各个联系方式所对应的联系人。
综上所述,本公开实施例中提供的状态同步的方法,通过获取目标用户的目标联系方式的使用状态;根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;同步目标联系方式的使用状态至目标联系人列表中的联系人;服务器通过检测目标联系方式的使用状态是否发生变化,在检测到目标联系方式的使用状态发生变化时,自动将目标联系方式的使用状态同步给目标联系人列表中的联系人;解决了用户在更换联系方式后,需要将更换后的联系方式手动的发送给联系人列表中的每一个联系人的问题;达到了在目标联系方式的使用状态发生变化时,将目标联系方式的使用状态自动同步给目标联系人列表中的联系人,实现了自动同步目标联系方式的使用状态的效果。
另外,服务器将目标联系方式的使用状态仅同步给目标联系人列表中处于正在使用的各个联系方式所对应的联系人,实现了对于目标联系人列表中处于停止使用的各个联系方式所对应的联系人无法接收到服务器同步的目标联系方式的使用状态,因此服务器不需向 处于停止使用的各个联系方式所对应的联系人同步目标联系方式的使用状态,达到了降低服务器资源浪费的可能性,同时也保证目标联系方式的安全性的效果。
基于图3A所示的实施例中,服务器将目标联系方式的使用状态同步给目标联系人列表中的各个联系人,作为另一种可能的实现方式,服务器可以仅将目标联系方式的使用状态同步给目标联系人列表中的联系人的预设联系人列表中存在目标联系方式所对应的联系人。因此,请参考图5A,步骤307可以替换成为如下步骤307c至步骤307e。
在步骤307c中,对于目标联系人列表中的每个联系人,服务器获取联系人的预设联系人列表。
服务器在获取到目标用户的目标联系人列表后,读取目标联系人列表中的每个联系人的联系方式。服务器根据读取到的每个联系方式和预先存储的各个联系人对应的联系人列表,获取每个联系人对应的预设联系人列表,其中,预设联系人列表是指每个联系人对应的联系人列表。
在步骤307d中,服务器检测目标联系方式是否存在于预设联系人列表中。
服务器获取到每个联系人的预设联系人列表后,检测目标联系方式是否存在于获取到的预设联系人列表中。
比如:用户A的目标联系人列表中包括100个联系人,分别为联系人1、联系人2,……,联系人100;分别检测联系人1、联系人2,……,联系人100所对应的预设联系人列表中是否存在用户A的目标联系方式。
在步骤307e中,若目标联系方式存在于预设联系人列表中,则服务器同步目标联系方式的使用状态至预设联系人列表所对应的联系人。
当目标联系方式存在于预设联系人列表中时,由于预设联系人列表对应的联系人中也存在目标联系方式,说明目标用户与预设联系人列表所对应的联系人之间存在好友关系,因此,服务器将目标联系方式的使用状态同步给预设联系人列表所对应的联系人。
比如:用户A的目标联系人列表中包括100个联系人,分别为联系人1、联系人2,……,联系人100;但是联系人1至联系人10对应的预设联系人列表中不存在用户A的联系方式,联系人11至联系人100对应的预设联系人列表中存在用户A的联系方式。则服务器将用户A的联系方式的使用状态同步给联系人11至联系人100。
可选的,若目标联系方式不存在于预设联系人列表中,则服务器不同步目标联系方式的使用状态至预设联系人列表所对应的联系人。
当目标联系方式不存在于预设联系人列表中时,由于预设联系人列表对应的联系人中不存在目标联系方式,说明目标用户与预设联系人列表所对应的联系人之间可能不存在好友关系,因此,服务器将目标联系方式的使用状态不同步给预设联系人列表所对应的联系人。
比如:用户A的目标联系人列表中包括100个联系人,分别为联系人1、联系人2,……, 联系人100;但是联系人1至联系人10对应的预设联系人列表中不存在用户A的联系方式,联系人11至联系人100对应的预设联系人列表中存在用户A的联系方式。则服务器将用户A的联系方式的使用状态不同步给联系人1至联系人10。
综上所述,本公开实施例中提供的状态同步的方法,通过获取目标用户的目标联系方式的使用状态;根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;同步目标联系方式的使用状态至目标联系人列表中的联系人;服务器通过检测目标联系方式的使用状态是否发生变化,在检测到目标联系方式的使用状态发生变化时,自动将目标联系方式的使用状态同步给目标联系人列表中的联系人;解决了用户在更换联系方式后,需要将更换后的联系方式手动的发送给联系人列表中的每一个联系人的问题;达到了在目标联系方式的使用状态发生变化时,将目标联系方式的使用状态自动同步给目标联系人列表中的联系人,实现了自动同步目标联系方式的使用状态的效果。
另外,服务器将目标联系方式的使用状态仅同步给预设联系人列表中存在目标联系方式所对应的联系人,实现了当预设联系人列表中不存在目标联系方式时,说明目标联系方式所对应的联系人和预设联系人列表所对应的联系人之间并不是好友关系,因此服务器不需向该预设联系人列表所对应的联系人同步目标联系方式的使用状态,达到了降低服务器资源浪费的可能性,同时也保证目标联系方式的安全性的效果。
需要说明的一点是,基于图1至图5A所示的状态同步方法,服务器将目标联系方式的使用状态同步给目标联系人列表中的联系人时,直接将目标联系方式的使用状态更新到目标联系人列表中的联系人对应的终端中;可选的,服务器将目标联系方式的使用状态同步给目标联系人列表中的联系人后,目标联系人列表中的联系人可以修改存储的该目标联系方式的使用状态。
比如:用户A在更换手机号码后,将原来的手机号码12356715422“停止使用”的使用状态发送给服务器后,服务器将该手机号码“停止使用”的使用状态同步给用户A的好友用户B,则请参考图5B,用户B在自身手机的联系人列表中将用户A的手机号码的使用状态编辑为“停止使用”。
下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。
图6是根据一示例性实施例示出的一种状态同步装置的框图,如图6所示,该状态同步装置包括但不限于:
状态接收模块620,被配置为获取目标用户的目标联系方式的使用状态。
状态检测模块640,被配置为根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化。
列表获取模块660,被配置为若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表。
状态同步模块680,被配置为同步目标联系方式的使用状态至目标联系人列表中的联系人。
综上所述,本公开实施例中提供的状态同步装置,通过获取目标用户的目标联系方式的使用状态;根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;同步目标联系方式的使用状态至目标联系人列表中的联系人;服务器通过检测目标联系方式的使用状态是否发生变化,在检测到目标联系方式的使用状态发生变化时,自动将目标联系方式的使用状态同步给目标联系人列表中的联系人;解决了用户在更换联系方式后,需要将更换后的联系方式手动的发送给联系人列表中的每一个联系人的问题;达到了在目标联系方式的使用状态发生变化时,将目标联系方式的使用状态自动同步给目标联系人列表中的联系人,实现了自动同步目标联系方式的使用状态的效果。
图7是根据另一示例性实施例示出的一种状态同步装置的框图,如图7所示,该状态同步装置包括但不限于:
状态接收模块710,被配置为获取目标用户的目标联系方式的使用状态。
状态检测模块720,被配置为根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化。
列表获取模块730,被配置为若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表。
状态同步模块740,被配置为同步目标联系方式的使用状态至目标联系人列表中的联系人。
在本实施例中,状态同步模块740,可以包括:
第一获取子模块741,被配置为对于目标联系人列表中的每个联系人,获取联系人的联系方式的使用状态。
第一同步子模块742,被配置为同步目标联系方式的使用状态至目标联系人列表中处于正在使用的各个联系方式所对应的联系人。
在本实施例中,状态同步模块740,还可以包括:
第二获取子模块743,被配置为对于目标联系人列表中的每个联系人,获取联系人的预设联系人列表。
目标检测子模块744,被配置为检测目标联系方式是否存在于预设联系人列表中。
第二同步子模块745,被配置为若目标联系方式存在于预设联系人列表中,则同步目标联系方式的使用状态至预设联系人列表所对应的联系人。
可选的,在本实施例中,该装置,还可以包括:
更新获取模块750,被配置为获取更新后的目标联系方式。
更新同步模块760,被配置为同步更新后的目标联系方式至目标联系人列表中的联系人。
综上所述,本公开实施例中提供的状态同步装置,通过获取目标用户的目标联系方式的使用状态;根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;同步目标联系方式的使用状态至目标联系人列表中的联系人;服务器通过检测目标联系方式的使用状态是否发生变化,在检测到目标联系方式的使用状态发生变化时,自动将目标联系方式的使用状态同步给目标联系人列表中的联系人;解决了用户在更换联系方式后,需要将更换后的联系方式手动的发送给联系人列表中的每一个联系人的问题;达到了在目标联系方式的使用状态发生变化时,将目标联系方式的使用状态自动同步给目标联系人列表中的联系人,实现了自动同步目标联系方式的使用状态的效果。
另外,服务器将目标联系方式的使用状态仅同步给目标联系人列表中处于正在使用的各个联系方式所对应的联系人,实现了对于目标联系人列表中处于停止使用的各个联系方式所对应的联系人无法接收到服务器同步的目标联系方式的使用状态,因此服务器不需向处于停止使用的各个联系方式所对应的联系人同步目标联系方式的使用状态,达到了降低服务器资源浪费的可能性,同时也保证目标联系方式的安全性的效果。
而且,服务器将目标联系方式的使用状态仅同步给预设联系人列表中存在目标联系方式所对应的联系人,实现了当预设联系人列表中不存在目标联系方式时,说明目标联系方式所对应的联系人和预设联系人列表所对应的联系人之间并不是好友关系,因此服务器不需向该预设联系人列表所对应的联系人同步目标联系方式的使用状态,达到了降低服务器资源浪费的可能性,同时也保证目标联系方式的安全性的效果。
图8是根据一示例性实施例示出的一种状态同步装置的框图,如图8所示,该状态同步装置包括但不限于:
信号接收模块820,被配置为接收设置信号。
状态设置模块840,被配置为根据设置信号设置目标联系方式的使用状态。
状态发送模块860,被配置为将设置的使用状态发送至服务器,以便服务器在使用状态发生变化时,将使用状态同步至终端的联系人列表中的联系人。
综上所述,本公开实施例中提供的状态同步装置,通过接收设置信号;根据设置信号设置目标联系方式的使用状态;将设置的使用状态发送至服务器,以便服务器在使用状态发生变化时,将使用状态同步至终端的联系人列表中的联系人;终端根据设置信号对目标联系方式的使用状态进行设置,并将设置的使用状态发送给服务器,解决了用户在更换联系方式后,需要将更换后的联系方式发送给联系人列表中的每一个联系人的问题;达到了在目标联系方式的使用状态发生变化时,将目标联系方式的使用状态同步给目标联系人列 表中的联系人,实现了自动同步目标联系方式的使用状态的效果。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
本公开一示例性实施例提供了一种状态同步装置,能够实现本公开提供的状态同步方法,该状态同步装置包括:处理器、用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
接收目标用户的目标联系方式的使用状态;
根据预先存储的各个联系方式的使用状态,检测目标联系方式的使用状态是否发生变化;
若目标联系方式的使用状态发生变化,则获取目标用户的目标联系人列表;
同步目标联系方式的使用状态至目标联系人列表中的联系人。
本公开一示例性实施例提供了一种状态同步装置,能够实现本公开提供的状态同步方法,该状态同步装置包括:处理器、用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
接收设置信号;
根据设置信号设置目标联系方式的使用状态;
将设置的使用状态发送至服务器,以便服务器在使用状态发生变化时,将使用状态同步至终端的联系人列表中的联系人。
图9是根据一示例性实施例示出的一种状态同步装置的框图。例如,装置900可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图9,装置900可以包括以下一个或多个组件:处理组件902,存储器904,电源组件906,多媒体组件908,音频组件910,输入/输出(I/O)接口912,传感器组件914,以及通信组件916。
处理组件902通常控制装置900的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件902可以包括一个或多个处理器918来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。例如,处理组件902可以包括多媒体模块,以方便多媒体组件908和处理组件902之间的交互。
存储器904被配置为存储各种类型的数据以支持在装置900的操作。这些数据的示例包括用于在装置900上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消 息,图片,视频等。存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件906为装置900的各种组件提供电力。电源组件906可以包括电源管理系统,一个或多个电源,及其他与为装置900生成、管理和分配电力相关联的组件。
多媒体组件908包括在装置900和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件908包括一个前置摄像头和/或后置摄像头。当装置900处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件910被配置为输出和/或输入音频信号。例如,音频组件910包括一个麦克风(MIC),当装置900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器904或经由通信组件916发送。在一些实施例中,音频组件910还包括一个扬声器,用于输出音频信号。
I/O接口912为处理组件902和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件914包括一个或多个传感器,用于为装置900提供各个方面的状态评估。例如,传感器组件914可以检测到装置900的打开/关闭状态,组件的相对定位,例如组件为装置900的显示器和小键盘,传感器组件914还可以检测装置900或装置900一个组件的位置改变,用户与装置900接触的存在或不存在,装置900方位或加速/减速和装置900的温度变化。传感器组件914可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件914还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件914还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件916被配置为便于装置900和其他设备之间有线或无线方式的通信。装置900可以接入基于通信标准的无线网络,如Wi-Fi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件916经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件916还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术, 超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述状态同步方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器904,上述指令可由装置900的处理器918执行以完成上述状态同步方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (12)

  1. 一种状态同步方法,其特征在于,所述方法包括:
    获取目标用户的目标联系方式的使用状态;
    根据预先存储的各个联系方式的使用状态,检测所述目标联系方式的使用状态是否发生变化;
    若所述目标联系方式的使用状态发生变化,则获取所述目标用户的目标联系人列表;
    同步所述目标联系方式的使用状态至所述目标联系人列表中的联系人。
  2. 根据权利要求1所述的方法,其特征在于,所述同步所述目标联系方式的使用状态至所述目标联系人列表中的联系人,包括:
    对于所述目标联系人列表中的每个联系人,获取所述联系人的联系方式的使用状态;
    同步所述目标联系方式的使用状态至所述目标联系人列表中处于正在使用状态的各个联系方式所对应的联系人。
  3. 根据权利要求1所述的方法,其特征在于,所述同步所述目标联系方式的使用状态至所述目标联系人列表中的联系人,包括:
    对于所述目标联系人列表中的每个联系人,获取所述联系人的预设联系人列表;
    检测所述目标联系方式是否存在于所述预设联系人列表中;
    若所述目标联系方式存在于所述预设联系人列表中,则同步所述目标联系方式的使用状态至所述预设联系人列表所对应的联系人。
  4. 根据权利要求1至3任一所述的方法,其特征在于,若所述目标联系方式的使用状态更新为停止使用,所述方法还包括:
    获取更新后的所述目标联系方式;
    同步更新后的所述目标联系方式至所述目标联系人列表中的联系人。
  5. 一种状态同步方法,其特征在于,所述方法包括:
    接收设置信号;
    根据所述设置信号设置目标联系方式的使用状态;
    将设置的所述使用状态发送至服务器,以便所述服务器在检测到所述使用状态发生变化时,将所述使用状态同步至终端的联系人列表中的联系人。
  6. 一种状态同步装置,其特征在于,所述装置包括:
    状态接收模块,被配置为获取目标用户的目标联系方式的使用状态;
    状态检测模块,被配置为根据预先存储的各个联系方式的使用状态,检测所述目标联 系方式的使用状态是否发生变化;
    列表获取模块,被配置为若所述目标联系方式的使用状态发生变化,则获取所述目标用户的目标联系人列表;
    状态同步模块,被配置为同步所述目标联系方式的使用状态至所述目标联系人列表中的联系人。
  7. 根据权利要求6所述的装置,其特征在于,所述状态同步模块,包括:
    第一获取子模块,被配置为对于所述目标联系人列表中的每个联系人,获取所述联系人的联系方式的使用状态;
    第一同步子模块,被配置为同步所述目标联系方式的使用状态至所述目标联系人列表中处于正在使用状态的各个联系方式所对应的联系人。
  8. 根据权利要求6所述的装置,其特征在于,所述状态同步模块,包括:
    第二获取子模块,被配置为对于所述目标联系人列表中的每个联系人,获取所述联系人的预设联系人列表;
    目标检测子模块,被配置为检测所述目标联系方式是否存在于所述预设联系人列表中;
    第二同步子模块,被配置为若所述目标联系方式存在于所述预设联系人列表中,则同步所述目标联系方式的使用状态至所述预设联系人列表所对应的联系人。
  9. 根据权利要求6至8任一所述的装置,其特征在于,若所述目标联系方式的使用状态更新为停止使用,所述装置,还包括:
    更新获取模块,被配置为获取更新后的所述目标联系方式;
    更新同步模块,被配置为同步更新后的所述目标联系方式至所述目标联系人列表中的联系人。
  10. 一种状态同步装置,其特征在于,所述装置包括:
    信号接收模块,被配置为接收设置信号;
    状态设置模块,被配置为根据所述设置信号设置目标联系方式的使用状态;
    状态发送模块,被配置为将设置的所述使用状态发送至服务器,以便所述服务器在检测到所述使用状态发生变化时,将所述使用状态同步至终端的联系人列表中的联系人。
  11. 一种状态同步装置,其特征在于,所述装置包括:
    处理器;
    用于存储所述处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    接收目标用户的目标联系方式的使用状态;
    根据预先存储的各个联系方式的使用状态,检测所述目标联系方式的使用状态是否发生变化;
    若所述目标联系方式的使用状态发生变化,则获取所述目标用户的目标联系人列表;
    同步所述目标联系方式的使用状态至所述目标联系人列表中的联系人。
  12. 一种状态同步装置,其特征在于,所述装置包括:
    处理器;
    用于存储所述处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    接收设置信号;
    根据所述设置信号设置目标联系方式的使用状态;
    将设置的所述使用状态发送至服务器,以便所述服务器在检测到所述使用状态发生变化时,将所述使用状态同步至终端的联系人列表中的联系人。
PCT/CN2016/092824 2016-03-29 2016-08-02 状态同步方法及装置 WO2017166558A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610189245.2 2016-03-29
CN201610189245.2A CN105744038B (zh) 2016-03-29 2016-03-29 状态同步方法及装置

Publications (1)

Publication Number Publication Date
WO2017166558A1 true WO2017166558A1 (zh) 2017-10-05

Family

ID=56252328

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092824 WO2017166558A1 (zh) 2016-03-29 2016-08-02 状态同步方法及装置

Country Status (4)

Country Link
US (1) US20170289306A1 (zh)
EP (1) EP3226188A1 (zh)
CN (1) CN105744038B (zh)
WO (1) WO2017166558A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10592534B2 (en) * 2016-02-16 2020-03-17 Microsoft Technology Licensing Llc Automated aggregation of social contact groups
CN105744038B (zh) * 2016-03-29 2019-07-02 北京小米移动软件有限公司 状态同步方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487411A (zh) * 2011-10-25 2012-06-06 上海博路信息技术有限公司 一种具有状态的终端通讯录
CN103179531A (zh) * 2013-03-04 2013-06-26 华为技术有限公司 一种更新联系号码的方法及装置
CN104935714A (zh) * 2015-06-15 2015-09-23 北京奇虎科技有限公司 通讯录中的联系人状态设置方法及装置
CN105744038A (zh) * 2016-03-29 2016-07-06 北京小米移动软件有限公司 状态同步方法及装置

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6280396B1 (en) * 1998-08-03 2001-08-28 American Weights And Measures Apparatus and method for measuring body composition
US20040193601A1 (en) * 2003-03-24 2004-09-30 Bin Hu Method and contact list server for modifying the entry names in a contact list
KR20060020685A (ko) * 2003-06-20 2006-03-06 톰슨 라이센싱 접촉 데이터 동기화용 단말 및 서버
US20070121911A1 (en) * 2005-11-25 2007-05-31 Motorola, Inc. Phone number traceability based on service discovery
SG157990A1 (en) * 2008-07-04 2010-01-29 3Rd Brand Pte Ltd System and method for facilitating the growth of a mobile community
US8340651B1 (en) * 2010-03-26 2012-12-25 Sprint Communications Company L.P. Reconciling contact information between users
CN102186146A (zh) * 2011-05-11 2011-09-14 北京友录在线科技发展有限公司 一种通讯录自动更新联系方式的方法
CN103369097A (zh) * 2012-03-26 2013-10-23 富泰华工业(深圳)有限公司 移动通信终端及电话号码管理方法
US20140022402A1 (en) * 2012-07-23 2014-01-23 Nokia Corporation Method and apparatus for automatic capture of multimedia information
US8539567B1 (en) * 2012-09-22 2013-09-17 Nest Labs, Inc. Multi-tiered authentication methods for facilitating communications amongst smart home devices and cloud-based servers
CN104079694A (zh) * 2013-03-25 2014-10-01 中兴通讯股份有限公司 基于网络的通讯录实现方法及装置
KR101504490B1 (ko) * 2013-04-05 2015-03-23 주식회사 팬택 디바이스 및 디바이스의 주소록 동기화 제어 방법
KR102340792B1 (ko) * 2013-11-18 2021-12-17 삼성전자주식회사 소셜 네트워크의 소셜 업데이트를 기초로 한 어플리케이션 제어 방법 및 장치
KR20150067962A (ko) * 2013-12-11 2015-06-19 삼성전자주식회사 전자 장치의 컨택 리스트 제어 방법 및 장치
GB2539349A (en) * 2014-03-09 2016-12-14 Diro Inc Management of group-sourced contacts directories, systems and methods
KR20150116228A (ko) * 2014-04-07 2015-10-15 삼성전자주식회사 연락처를 관리하는 방법 및 이를 구현하는 전자장치
CN104994207B (zh) * 2015-06-26 2019-02-12 小米科技有限责任公司 编辑联系人信息的方法、更新联系人信息的方法及其装置
CN105208177B (zh) * 2015-09-14 2019-02-12 小米科技有限责任公司 通讯录更新方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487411A (zh) * 2011-10-25 2012-06-06 上海博路信息技术有限公司 一种具有状态的终端通讯录
CN103179531A (zh) * 2013-03-04 2013-06-26 华为技术有限公司 一种更新联系号码的方法及装置
CN104935714A (zh) * 2015-06-15 2015-09-23 北京奇虎科技有限公司 通讯录中的联系人状态设置方法及装置
CN105744038A (zh) * 2016-03-29 2016-07-06 北京小米移动软件有限公司 状态同步方法及装置

Also Published As

Publication number Publication date
EP3226188A1 (en) 2017-10-04
CN105744038B (zh) 2019-07-02
CN105744038A (zh) 2016-07-06
US20170289306A1 (en) 2017-10-05

Similar Documents

Publication Publication Date Title
WO2017031875A1 (zh) 在聊天界面更改表情符号的方法、装置及终端设备
WO2017201860A1 (zh) 视频直播方法及装置
US10509540B2 (en) Method and device for displaying a message
WO2016192323A1 (zh) 视频通信方法及装置
WO2019095140A1 (zh) 剩余关键系统信息的公共控制资源集合的周期信息指示方法
WO2016045320A1 (zh) 智能灯的控制方法及装置
WO2017036037A1 (zh) 拍摄控制方法和装置
WO2016192326A1 (zh) 云名片的发送方法和装置
US20150350406A1 (en) Method and device for calendar reminding
WO2019109564A1 (zh) 屏幕显示控制的方法和装置
WO2016145861A1 (zh) 来电提醒方法和装置
WO2017113666A1 (zh) 应用界面切换方法及装置
WO2017035992A1 (zh) 消息的发送方法、装置、终端及路由器
WO2016197547A1 (zh) 通话界面显示方法及装置
WO2017045307A1 (zh) 接听扩展功能显示方法及装置
CN106126025B (zh) 复制粘贴的交互方法及装置
EP2981116A1 (en) Method and apparatus for accessing wi-fi network and computer program product
CN112114765A (zh) 投屏方法、装置及存储介质
EP3026876B1 (en) Method for acquiring recommending information, terminal and server
WO2016173246A1 (zh) 基于云名片的电话呼叫方法及装置
WO2016078394A1 (zh) 一种提醒语音通话的方法及装置
WO2018000710A1 (zh) WiFi信号图标的展示方法、装置和移动终端
US20170090684A1 (en) Method and apparatus for processing information
WO2017101397A1 (zh) 一种信息显示方法及装置
WO2016015404A1 (zh) 呼叫转移的方法、装置及终端

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896330

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896330

Country of ref document: EP

Kind code of ref document: A1