CN109391658A - A kind of account data synchronous method and its equipment, storage medium, terminal - Google Patents

A kind of account data synchronous method and its equipment, storage medium, terminal Download PDF

Info

Publication number
CN109391658A
CN109391658A CN201710678114.5A CN201710678114A CN109391658A CN 109391658 A CN109391658 A CN 109391658A CN 201710678114 A CN201710678114 A CN 201710678114A CN 109391658 A CN109391658 A CN 109391658A
Authority
CN
China
Prior art keywords
account data
data
account
terminal applies
application interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710678114.5A
Other languages
Chinese (zh)
Other versions
CN109391658B (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.)
Shenzhen Zhuyun Technology Co ltd
Original Assignee
Shenzhen Zhuyun Science & Technology 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 Shenzhen Zhuyun Science & Technology Co Ltd filed Critical Shenzhen Zhuyun Science & Technology Co Ltd
Priority to CN201710678114.5A priority Critical patent/CN109391658B/en
Publication of CN109391658A publication Critical patent/CN109391658A/en
Application granted granted Critical
Publication of CN109391658B publication Critical patent/CN109391658B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present invention discloses a kind of account data synchronous method and its equipment, storage medium, terminal, wherein method includes the following steps: the current account data for obtaining terminal applies from server based on application interface, and obtains account number entrained by the current account data based on the application interface;The current account data is sent to the corresponding terminal applies of the account number based on the application interface;It is updated using former account data of the current account data to the terminal applies.Using the present invention, the corresponding terminal applies of current account data are analyzed by the unified application interface in equipment, the workload that can reduce server end improves the synchronous efficiency of account data.

Description

A kind of account data synchronous method and its equipment, storage medium, terminal
Technical field
The present invention relates to field of computer technology more particularly to a kind of account data synchronous method and its equipment, storage to be situated between Matter, terminal.
Background technique
With the fast development of Internet technology and the raising of information level of the enterprise, all kinds of enterprises are in order to reduce enterprise Cost is enhanced one's market competitiveness, and is also increasingly paid attention to the information system management of enterprise staff, is possessed more internal applications for one The enterprise of system is managed collectively account data of the employee in each application system, can effectively ensure enterprise information security. In the prior art, each application system obtains the newest account in server by providing the application interface of itself to server Data realize the unified management of account data, however, since application system provides respective application interface to server respectively, Server needs to carry out Data Matching for different application interfaces, increases the workload of server, while reducing account The synchronous efficiency of data.
Summary of the invention
The embodiment of the present invention provides a kind of account data synchronous method and its equipment, storage medium, terminal, by equipment Unified application interface analyze the corresponding terminal applies of current account data, the workload that can reduce server end improves account The synchronous efficiency of data.
First aspect of the embodiment of the present invention provides a kind of account data synchronous method, it may include:
The current account data of terminal applies is obtained from server based on application interface, and is obtained based on the application interface Account number entrained by the current account data;
The current account data the corresponding terminal of the account number is sent to based on the application interface to answer With;
It is updated using former account data of the current account data to the terminal applies.
In a kind of possible design, the current account number for obtaining terminal applies from server based on application interface According to, and before obtaining account number entrained by the current account data based on the application interface, further includes:
It is obtained based on application interface and applies the corresponding account number of logging request, and the application logging request is sent to Server, so that the server returns to the corresponding logon rights data of the application logging request according to the account number.
In a kind of possible design, the current account number for obtaining terminal applies from server based on application interface According to, comprising:
Account synchronization request is sent according to the logon rights data entry terminal applies, and based on the application interface To the server, so that the server returns to the corresponding terminal applies of the account number according to the account synchronization request Current account data.
In a kind of possible design, it is described using the current account data to the former account data of the terminal applies It is updated, comprising:
Obtain the former account data of the terminal applies;
When there is account data unmatched with data in the former account data in the current account data, adopt The former account data is updated with the unmatched account data.
In a kind of possible design, it is described using the current account data to the former account data of the terminal applies After being updated, further includes:
The update of the former account data is detected as a result, and the update result is back to clothes based on the application interface Business device.
Second aspect of the embodiment of the present invention provides a kind of account data synchronizer, it may include:
Data capture unit, for obtaining the current account data of terminal applies, and base from server based on application interface Account number entrained by the current account data is obtained in the application interface;
Data transmission unit, for the current account data to be sent to the account number based on the application interface The corresponding terminal applies;
Data updating unit, for being carried out more using former account data of the current account data to the terminal applies Newly.
In a kind of possible design, further includes:
Request transmitting unit applies the corresponding account number of logging request for obtaining based on application interface, and will be described It is sent to server using logging request, so that the server returns to the application logging request pair according to the account number The logon rights data answered.
In a kind of possible design, the data capture unit is specifically used for,
Account synchronization request is sent according to the logon rights data entry terminal applies, and based on the application interface To the server, so that the server returns to the corresponding terminal applies of the account number according to the account synchronization request Current account data.
In a kind of possible design, the data updating unit includes:
Data acquisition subelement, for obtaining the former account data of the terminal applies;
Data update subelement, exist in the current account data with the data in the former account data not for working as When matched account data, the former account data is updated using the unmatched account data.
In a kind of possible design, further includes:
As a result output unit, for detecting the update of the former account data based on the application interface as a result, and by institute It states update result and is back to server.
The third aspect of the embodiment of the present invention provides a kind of computer storage medium, and the computer storage medium is stored with A plurality of instruction, described instruction are suitable for being loaded by processor and executing following steps:
The current account data of terminal applies is obtained from server based on application interface, and is obtained based on the application interface Account number entrained by the current account data;
The current account data the corresponding terminal of the account number is sent to based on the application interface to answer With;
It is updated using former account data of the current account data to the terminal applies.
Fourth aspect of the embodiment of the present invention provides a kind of terminal, it may include: processor and memory;Wherein, described to deposit Reservoir is stored with computer program, and the computer program is suitable for being loaded by the processor and executing following steps:
The current account data of terminal applies is obtained from server based on application interface, and is obtained based on the application interface Account number entrained by the current account data;
The current account data the corresponding terminal of the account number is sent to based on the application interface to answer With;
It is updated using former account data of the current account data to the terminal applies.
In embodiments of the present invention, by obtaining the current account data of terminal applies from server based on application interface, And account number entrained by current account data is obtained based on application interface, then current account data is sent out based on application interface Terminal applies corresponding to account number are sent, are finally carried out more using former account data of the current account data to terminal applies Newly.The corresponding terminal applies of current account data are analyzed by the unified application interface in account data synchronizer, and then right Former account data in terminal applies is updated, and avoids the different application interface that server provides different terminal applies It is handled respectively, the workload for reducing server improves the synchronous efficiency of account data.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of account data synchronous method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another account data synchronous method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of account data synchronizer provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another account data synchronizer provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of data updating unit provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Account data synchronous method provided in an embodiment of the present invention can be applied in the multi-application system of enterprise to difference In the scene that the account data of application system synchronizes, such as: account data synchronizer is based on application interface from server The current account data of terminal applies is obtained, and account entrained by the current account data is obtained based on the application interface Mark, the account data synchronizer are based on the application interface again and the current account data are sent to the account mark Know the corresponding terminal applies, is finally carried out more using former account data of the current account data to the terminal applies Newly.The corresponding terminal applies of current account data are analyzed by the unified application interface in account data synchronizer, and then right Former account data in terminal applies is updated, and avoids the different application interface that server provides different terminal applies It is handled respectively, the workload for reducing server improves the synchronous efficiency of account data.
The present embodiments relate to account data synchronizer be also possible to computer, smart phone and mobile Internet Its terminal device for having multi-application system such as equipment (MID).
Below in conjunction with attached drawing 1 and attached drawing 2, it is situated between in detail to account data synchronous method provided in an embodiment of the present invention It continues.
Referring to Figure 1, for the embodiment of the invention provides a kind of flow diagrams of account data synchronous method.Such as Fig. 1 It is shown, the embodiment of the present invention the method may include following steps S101- step S103.
S101 is obtained the current account data of terminal applies from server based on application interface, and is connect based on the application Mouth obtains account number entrained by the current account data;
Specifically, account data synchronizer can obtain the current account of terminal applies based on application interface from server Data, it is to be understood that the application interface can be the unified software interface encapsulation package in the account synchronizer, institute Stating current account data can be with the account information and user information (the i.e. account of user's needle oneself described in user's registration when terminal applies Information set by number) etc., for example, the current account data can be user when the terminal applies are enterprise's mailbox Email address and subscriber identity information (such as can be, the other users contact method in addition to mailbox, current position and The information such as working experience).
Further, the account data synchronizer can obtain the current account data based on the application interface Entrained account number, it is to be understood that the account number can be end belonging to the instruction current account data The mark of the application type of application is held, for example, the account number can be currently when the terminal applies are enterprise's mailbox The domain name of mail server in account data email address (domain name of user name@mail server).
The current account data is sent to the account number corresponding end based on the application interface by S102 End application;
It is understood that the account data synchronizer, which is based on the application interface, obtains the current account data After the account number of carrying, the application interface can identify the application type of the corresponding terminal applies of the account number, into And the current account data can be sent to the account mark based on the application interface by the account data synchronizer Know the terminal applies of corresponding types.It is obtained for example, the account data synchronizer is based on the application interface from server After taking the current account data of terminal applies, the application interface identifies described according to the account number of the current account data Terminal applies be enterprise's mailbox, the account data synchronizer the current account data can be sent to enterprise's mailbox this One terminal applies.
S103 is updated using former account data of the current account data to the terminal applies;
It is understood that the former account data of the available terminal applies of account data synchronizer, institute Stating former account data can be the account data before terminal applies described in the account data synchronizer do not update.
Specifically, the account data synchronizer can be using the current account data to the original of the terminal applies Account data is updated.Optionally, described in the account data synchronizer can be replaced using the current account data Former account data realizes that the update to the former account data needs the application in company for example, the cell-phone number of Zhang is replaced Its cell-phone number of synchronized update in system, then each terminal applies can be replaced using the current account data of the carrying new cell-phone number obtained Change the former account data for carrying former cell-phone number.Optionally, the account data synchronizer can detecte the current account number In with the presence or absence of with the unmatched account data of data in the former account data, for example, the current account data with When there was only telephone number difference in the original account data, it is believed that telephone number is unmatched account data, can be only Telephone number in former account data is replaced using the telephone number in current account data, other are constant.
It is understood that the unmatched account data is also possible to the account being not present in the former account data Data (i.e. newly-increased account data), for example, needing to apply a work mailbox, the account data for new employee Zhang The account data that this can be increased newly mailbox by synchronizer is added in former account data.It should be noted that when described current When account data is empty, the account data synchronizer can carry out delete processing to the former account data, for example, Zhang After subsidiary company is left office, the former account data in his all application systems in company should be all deleted.
In embodiments of the present invention, by obtaining the current account data of terminal applies from server based on application interface, And account number entrained by current account data is obtained based on application interface, then current account data is sent out based on application interface Terminal applies corresponding to account number are sent, are finally carried out more using former account data of the current account data to terminal applies Newly.The corresponding terminal applies of current account data are analyzed by the unified application interface in account data synchronizer, and then right Former account data in terminal applies is updated, and avoids the different application interface that server provides different terminal applies It is handled respectively, the workload for reducing server improves the synchronous efficiency of account data.
Fig. 2 is referred to, for the embodiment of the invention provides the flow diagrams of another account data synchronous method.Such as figure Shown in 2, the embodiment of the present invention the method may include following steps S201- step S207.
S201 is obtained based on application interface and is applied the corresponding account number of logging request, and applies logging request for described It is sent to server;
Specifically, account data synchronizer can be obtained based on application interface applies the corresponding account mark of logging request Know, and the application logging request is sent to server, it is to be understood that it is same that the application interface can be the account The unified software interface encapsulation package in equipment is walked, the request that can be registration terminal application using logging request can be taken Account number with the terminal applies to be logged in, the account number can indicate the application class for the terminal applies to be logged in Type.
It is understood that the server can return after receiving the application logging request according to the account number The corresponding logon rights data of the application logging request are returned, the logon rights data can indicate that the account data is synchronous Whether equipment, which has permission, logs in terminal applies indicated by the account number.
Account according to the logon rights data entry terminal applies, and is synchronized based on the application interface and is asked by S202 It asks and is sent to the server;
Specifically, when the logon rights are statistics indicate that the account data synchrodata can log in the account number When the terminal applies of instruction, the account data synchronizer can the terminal according to the logon rights data entry answer With.
Further, after logging in the terminal applies, the account data synchronizer can be based on the application interface Account synchronization request is sent to the server, it is to be understood that the server can be synchronized according to the account and be asked The current account data for returning to the corresponding terminal applies of the account number is sought, the current account data can be with user's registration institute Account information and user information (i.e. information set by the account of user's needle oneself) when stating terminal applies etc., for example, working as institute State terminal applies be enterprise's mailbox when, the current account data can be the email address and subscriber identity information (example of user Such as locate the other users contact method outside mailbox, current position and working experience information).It is understood that described The account number account number corresponding with the login application request that the current account data that server returns carries is consistent.
S203 obtains account number entrained by the current account data based on the application interface;
Specifically, the account data synchronizer can obtain the current account data institute based on the application interface The account number of carrying, it is to be understood that the account number can be terminal belonging to the instruction current account data The mark of the application type of application, for example, the account number can be current account when the terminal applies are enterprise's mailbox The domain name of mail server in number email address (domain name of user name@mail server).
The current account data is sent to the account number corresponding end based on the application interface by S204 End application;
It is understood that the account data synchronizer, which is based on the application interface, obtains the current account data After the account number of carrying, the application interface can identify the application type of the corresponding terminal applies of the account number, into And the current account data can be sent to the account mark based on the application interface by the account data synchronizer Know the terminal applies of corresponding types.It is obtained for example, the account data synchronizer is based on the application interface from server After taking the current account data of terminal applies, the application interface identifies described according to the account number of the current account data Terminal applies be enterprise's mailbox, the account data synchronizer the current account data can be sent to enterprise's mailbox this One terminal applies.
S205 obtains the former account data of the terminal applies;
Specifically, the former account data of the available terminal applies of account data synchronizer, the original account Number can be the account data before terminal applies described in the account data synchronizer do not update.
S206, when exist in the current account data and the former account data in the unmatched account data of data When, the former account data is updated using the unmatched account data;
It is understood that the account data synchronizer can detecte in the current account data with the presence or absence of with The unmatched account data of data in the original account data, when existing in the current account data and the former account number When the unmatched account data of data in, the account data synchronizer can use the unmatched account data The former account data is updated, for example, only telephone number in the current account data and the former account data When different, it is believed that telephone number is unmatched account data, it is possible to use only the telephone number in current account data Instead of the telephone number in former account data, other are constant.
It is understood that the unmatched account data is also possible to the account being not present in the former account data Data (i.e. newly-increased account data), for example, needing to apply a work mailbox, the account data for new employee Zhang The account data that this can be increased newly mailbox by synchronizer is added in former account data.It should be noted that when described current When account data is empty, the account data synchronizer can carry out delete processing to the former account data, for example, Zhang After subsidiary company is left office, the former account data in his all application systems in company should be all deleted.
Optionally, the account data synchronizer can replace the former account data using the current account data It realizes the update to the former account data, for example, the cell-phone number of Zhang is replaced, needs synchronous in the application system of company Its cell-phone number is updated, then each terminal applies can carry former hand using the current account data replacement of the carrying new cell-phone number obtained The former account data of machine number.
S207 detects the update of the former account data as a result, and returning the update result based on the application interface It is back to server;
Specifically, the account data synchronizer can detect the former account data more based on the application interface Newly as a result, for example, more whether the account data synchronizer can be based on the application interface detection former account data It is new, it also can detecte the account data being updated in the former account data.
Further, the update result can be back to server, the service by the account data synchronizer Account data synchronized result can be notified user after receiving the update result by device.
In embodiments of the present invention, it by returned data update result to server, and then notifies user, is account data Synchronize the application effect for increasing and notifying immediately.
In embodiments of the present invention, by obtaining the current account data of terminal applies from server based on application interface, And account number entrained by current account data is obtained based on application interface, then current account data is sent out based on application interface Terminal applies corresponding to account number are sent, are finally carried out more using former account data of the current account data to terminal applies Newly.The corresponding terminal applies of current account data are analyzed by the unified application interface in account data synchronizer, and then right Former account data in terminal applies is updated, and avoids the different application interface that server provides different terminal applies It is handled respectively, the workload for reducing server improves the synchronous efficiency of account data;It is updated and is tied by returned data Fruit notifies user to server, synchronizes the application effect for increasing and notifying immediately for account data.
Below in conjunction with attached drawing 3- attached drawing 5, it is situated between in detail to account data synchronizer provided in an embodiment of the present invention It continues.It should be noted that the attached equipment shown in fig. 5 of attached drawing 3-, the method for executing Fig. 1 of the present invention and embodiment illustrated in fig. 2, For ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to this hair Bright Fig. 1 and embodiment shown in Fig. 2.
Fig. 3 is referred to, for the embodiment of the invention provides a kind of structural schematic diagrams of account data synchronizer.Such as Fig. 3 Shown, the account data synchronizer 1 of the embodiment of the present invention may include: data capture unit 11, data transmission unit 12 and data updating unit 13.
Data capture unit 11, for the current account data of terminal applies to be obtained from server based on application interface, and Account number entrained by the current account data is obtained based on the application interface;
In the specific implementation, data capture unit 11 can obtain the current account of terminal applies based on application interface from server Number, it is to be understood that the application interface can be the encapsulation of the unified software interface in the account synchronizer 1 Packet, the current account data can with described in user's registration when terminal applies account information and user information (user's needle from Information set by oneself account) etc., for example, the current account data can be with when the terminal applies are enterprise's mailbox It is that the email address of user and subscriber identity information (such as can be, the other users contact method in addition to mailbox, current duty The information such as position and working experience).
Further, the data capture unit 11 can obtain the current account data institute based on the application interface The account number of carrying, it is to be understood that the account number can be terminal belonging to the instruction current account data The mark of the application type of application, for example, the account number can be current account when the terminal applies are enterprise's mailbox The domain name of mail server in number email address (domain name of user name@mail server).
Data transmission unit 12, for the current account data to be sent to the account mark based on the application interface Know the corresponding terminal applies;
It is understood that data capture unit 11 obtains what the current account data carried based on the application interface After account number, the application interface can identify the application type of the corresponding terminal applies of the account number, in turn, data The current account data can be sent to the account number corresponding types based on the application interface by transmission unit 12 The terminal applies.For example, the data capture unit 11 is current from server acquisition terminal applies based on the application interface After account data, the application interface identifies that the terminal applies are enterprise according to the account number of the current account data The current account data can be sent to this terminal applies of enterprise's mailbox by mailbox, the data transmission unit 12.
Data updating unit 13, for being carried out using former account data of the current account data to the terminal applies It updates;
It is understood that the former account data of the available terminal applies of account data synchronizer 1, institute Stating former account data can be the account data before terminal applies described in the account data synchronizer 1 do not update.
In the specific implementation, data updating unit 13 can be using the current account data to the former account of the terminal applies Number is updated.Optionally, the data updating unit 13 can replace the former account using the current account data Number realizes that the update to the former account data needs the application system in company for example, the cell-phone number of Zhang is replaced Its cell-phone number of middle synchronized update, then each terminal applies can be taken using the current account data replacement of the carrying new cell-phone number obtained Former account data with former cell-phone number.Optionally, the data updating unit 13, which can detecte in the current account data, is No presence and the unmatched account data of data in the former account data, for example, the current account data and the original When there was only telephone number difference in account data, it is believed that telephone number is unmatched account data, it is possible to use only when Telephone number in preceding account data replaces the telephone number in former account data, other are constant.
It is understood that the unmatched account data is also possible to the account being not present in the former account data Data (i.e. newly-increased account data), for example, needing to apply a work mailbox for new employee Zhang, the data update The account data that this can be increased newly mailbox by unit 13 is added in former account data.It should be noted that working as the current account When number is empty, the data updating unit 13 can carry out delete processing to the former account data, for example, Zhang is from public affairs After department leaves office, the former account data in his all application systems in company should be all deleted.
In embodiments of the present invention, by obtaining the current account data of terminal applies from server based on application interface, And account number entrained by current account data is obtained based on application interface, then current account data is sent out based on application interface Terminal applies corresponding to account number are sent, are finally carried out more using former account data of the current account data to terminal applies Newly.The corresponding terminal applies of current account data are analyzed by the unified application interface in account data synchronizer, and then right Former account data in terminal applies is updated, and avoids the different application interface that server provides different terminal applies It is handled respectively, the workload for reducing server improves the synchronous efficiency of account data.
Fig. 4 is referred to, for the embodiment of the invention provides the structural schematic diagrams of another account data synchronizer.Such as figure Shown in 4, the account data synchronizer 1 of the embodiment of the present invention may include: data capture unit 11, data transmission unit 12, data updating unit 13, request transmitting unit 14 and result output unit 15.
Request transmitting unit 14 applies the corresponding account number of logging request for obtaining based on application interface, and by institute It states and is sent to server using logging request;
In the specific implementation, request transmitting unit 14 can be obtained based on application interface applies the corresponding account mark of logging request Know, and the application logging request is sent to server, it is to be understood that it is same that the application interface can be the account The unified software interface encapsulation package in equipment 1 is walked, the request that can be registration terminal application using logging request can be taken Account number with the terminal applies to be logged in, the account number can indicate the application class for the terminal applies to be logged in Type.
It is understood that the server can return after receiving the application logging request according to the account number The corresponding logon rights data of the application logging request are returned, the logon rights data can indicate that the account data is synchronous Whether equipment 1, which has permission, logs in terminal applies indicated by the account number.
Data capture unit 11, for the current account data of terminal applies to be obtained from server based on application interface, and Account number entrained by the current account data is obtained based on the application interface;
In the specific implementation, when the logon rights are statistics indicate that the account data synchrodata can log in the account When identifying the terminal applies of instruction, data capture unit 11 is specifically used for the terminal according to the logon rights data entry and answers With, and account synchronization request is sent to by the server based on the application interface.
It is understood that the server can be corresponding according to the account synchronization request return account number The current account data of terminal applies, the current account data can with described in user's registration when terminal applies account information and User information (i.e. information set by the account of user's needle oneself) etc., for example, when the terminal applies are enterprise's mailbox, institute Stating current account data and can be the email address of user and subscriber identity information (such as can be, other use in addition to mailbox The information such as family contact method, current position and working experience).It is understood that the current account that the server returns The account number account number corresponding with the login application request that number carries is consistent.
Further, the data capture unit 11 can obtain the current account data institute based on the application interface The account number of carrying, it is to be understood that the account number can be terminal belonging to the instruction current account data The mark of the application type of application, for example, the account number can be current account when the terminal applies are enterprise's mailbox The domain name of mail server in number email address (domain name of user name@mail server).
Data transmission unit 12, for the current account data to be sent to the account mark based on the application interface Know the corresponding terminal applies;
It is taken it is understood that the data capture unit 11 is based on the application interface acquisition current account data After the account number of band, the application interface can identify the application type of the corresponding terminal applies of the account number, in turn, The current account data can be sent to the account number based on the application interface and correspond to class by data transmission unit 12 The terminal applies of type.For example, the data capture unit 11, which is based on the application interface, obtains terminal applies from server After current account data, the application interface identifies that the terminal applies are according to the account number of the current account data The current account data can be sent to this terminal applies of enterprise's mailbox by enterprise's mailbox, the data transmission unit 12.
Data updating unit 13, for being carried out using former account data of the current account data to the terminal applies It updates;
In the specific implementation, data updating unit 13 can be using the current account data to the former account of the terminal applies Number is updated.
Please also refer to Fig. 5, for the embodiment of the invention provides the structural schematic diagrams of data updating unit.As shown in figure 5, The data updating unit 13 may include:
Data acquisition subelement 131, for obtaining the former account data of the terminal applies;
In the specific implementation, the former account data of the available terminal applies of data acquisition subelement 131, the original account Number can be the account data before terminal applies described in the account data synchronizer do not update.
Data update subelement 132, for exist in the current account data and the former account data in number When according to unmatched account data, the former account data is updated using the unmatched account data;
It whether there is in the current account data it is understood that the account data synchronizer 1 can detecte With the unmatched account data of data in the former account data, when existing in the current account data and the former account When the unmatched account data of data in data, data, which update subelement 132, can use the unmatched account data The former account data is updated, for example, only telephone number in the current account data and the former account data When different, it is believed that telephone number is unmatched account data, it is possible to use only the telephone number in current account data Instead of the telephone number in former account data, other are constant.
It is understood that the unmatched account data is also possible to the account being not present in the former account data Data (i.e. newly-increased account data), for example, needing to apply a work mailbox for new employee Zhang, the data update The account data that this can be increased newly mailbox by subelement 132 is added in former account data.It should be noted that when described current When account data is empty, the data, which update subelement 132, can carry out delete processing to the former account data, for example, After certain subsidiary company is left office, the former account data in his all application systems in company should be all deleted.
Optionally, the data update subelement 132 can replace the former account number using the current account data The factually existing update to the former account data needs same in the application system of company for example, the cell-phone number of Zhang is replaced Step updates its cell-phone number, then each terminal applies can be carried former using the current account data replacement of the carrying new cell-phone number obtained The former account data of cell-phone number.
As a result output unit 15, for detecting the update of the former account data based on the application interface as a result, and will The update result is back to server;
In the specific implementation, result output unit 15 can detect the update of the former account data based on the application interface As a result, for example, whether the result output unit 15 can be had updated based on the application interface detection former account data, Also it can detecte the account data being updated in the former account data.
Further, the update result can be back to server, the server by the result output unit 15 Account data synchronized result can be notified into user after receiving the update result.
In embodiments of the present invention, it by returned data update result to server, and then notifies user, is account data Synchronize the application effect for increasing and notifying immediately.
In embodiments of the present invention, by obtaining the current account data of terminal applies from server based on application interface, And account number entrained by current account data is obtained based on application interface, then current account data is sent out based on application interface Terminal applies corresponding to account number are sent, are finally carried out more using former account data of the current account data to terminal applies Newly.The corresponding terminal applies of current account data are analyzed by the unified application interface in account data synchronizer, and then right Former account data in terminal applies is updated, and avoids the different application interface that server provides different terminal applies It is handled respectively, the workload for reducing server improves the synchronous efficiency of account data;It is updated and is tied by returned data Fruit notifies user to server, synchronizes the application effect for increasing and notifying immediately for account data.
The embodiment of the invention also provides a kind of computer storage medium, the computer storage medium can store more Item instruction, described instruction are suitable for being loaded by processor and executing the method and step such as above-mentioned Fig. 1 and embodiment illustrated in fig. 2, specifically Implementation procedure may refer to illustrating for Fig. 1 and embodiment illustrated in fig. 2, herein without repeating.
Fig. 6 is referred to, for the embodiment of the invention provides a kind of structural schematic diagrams of terminal.As shown in fig. 6, the service Device 1000 may include: at least one processor 1001, such as CPU, at least one network interface 1004, user interface 1003, Memory 1005, at least one communication bus 1002.Wherein, communication bus 1002 is logical for realizing the connection between these components Letter.Wherein, user interface 1003 may include display screen (Display), keyboard (Keyboard), and optional user interface 1003 is also It may include standard wireline interface and wireless interface.Network interface 1004 optionally may include the wireline interface, wireless of standard Interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to non-labile memory (non- Volatile memory), a for example, at least magnetic disk storage.Memory 1005 optionally can also be that at least one is located at Storage device far from aforementioned processor 1001.As shown in fig. 6, as can in a kind of memory 1005 of computer storage medium To include operating system, network communication module, Subscriber Interface Module SIM and account data synchronization applications.
In terminal 1000 shown in Fig. 6, user interface 1003 is mainly used for providing the interface of input for user, obtains and uses The data of family input;Network interface 1004 is used to carry out data communication with user terminal;And processor 1001 can be used for calling The logging state stored in memory 1005 determines application program, and specifically executes following operation:
The current account data of terminal applies is obtained from server based on application interface, and is obtained based on the application interface Account number entrained by the current account data;
The current account data the corresponding terminal of the account number is sent to based on the application interface to answer With;
It is updated using former account data of the current account data to the terminal applies.
In one embodiment, the processor 1001 obtains terminal applies from server based on application interface in execution Current account data, and before obtaining account number entrained by the current account data based on the application interface, also use The operation below executing:
It is obtained based on application interface and applies the corresponding account number of logging request, and the application logging request is sent to Server, so that the server returns to the corresponding logon rights data of the application logging request according to the account number.
In one embodiment, the processor 1001 obtains terminal applies from server based on application interface in execution It is specific to execute following operation when current account data:
Account synchronization request is sent according to the logon rights data entry terminal applies, and based on the application interface To the server, so that the server returns to the corresponding terminal applies of the account number according to the account synchronization request Current account data.
In one embodiment, the processor 1001 is being executed using the current account data to the terminal applies Former account data when being updated, it is specific to execute following operation:
Obtain the former account data of the terminal applies;
When there is account data unmatched with data in the former account data in the current account data, adopt The former account data is updated with the unmatched account data.
In one embodiment, the processor 1001 is being executed using the current account data to the terminal applies Former account data be updated after, be also used to execute following operation:
The update of the former account data is detected as a result, and the update result is back to clothes based on the application interface Business device.
In embodiments of the present invention, by obtaining the current account data of terminal applies from server based on application interface, And account number entrained by current account data is obtained based on application interface, then current account data is sent out based on application interface Terminal applies corresponding to account number are sent, are finally carried out more using former account data of the current account data to terminal applies Newly.The corresponding terminal applies of current account data are analyzed by the unified application interface in account data synchronizer, and then right Former account data in terminal applies is updated, and avoids the different application interface that server provides different terminal applies It is handled respectively, the workload for reducing server improves the synchronous efficiency of account data;It is updated and is tied by returned data Fruit notifies user to server, synchronizes the application effect for increasing and notifying immediately for account data.
It should be noted that being stated that a series of actions for simple description for the above each method embodiment Combination, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, and certain steps can be with It is serially or simultaneously carried out using other.Secondly, those skilled in the art should understand that, embodiment described in this description belongs to In preferred embodiment, related operation and unit are not necessarily essential to the invention.And in the above-described embodiments, to each The description of a embodiment all emphasizes particularly on different fields, and does not have the part being described in detail in some embodiment, may refer to the correlation of other embodiments Description.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (12)

1. a kind of account data synchronous method characterized by comprising
The current account data of terminal applies is obtained from server based on application interface, and based on described in application interface acquisition Account number entrained by current account data;
The current account data is sent to the corresponding terminal applies of the account number based on the application interface;
It is updated using former account data of the current account data to the terminal applies.
2. the method as described in claim 1, which is characterized in that described to obtain terminal applies from server based on application interface Current account data, and before obtaining account number entrained by the current account data based on the application interface, also wrap It includes:
It is obtained based on application interface and applies the corresponding account number of logging request, and the application logging request is sent to service Device, so that the server returns to the corresponding logon rights data of the application logging request according to the account number.
3. method according to claim 2, which is characterized in that described to obtain terminal applies from server based on application interface Current account data, comprising:
Account synchronization request is sent to institute according to the logon rights data entry terminal applies, and based on the application interface Server is stated, so that the server returns to working as the corresponding terminal applies of the account number according to the account synchronization request Preceding account data.
4. the method as described in claim 1, which is characterized in that described to use the current account data to the terminal applies Former account data be updated, comprising:
Obtain the former account data of the terminal applies;
When there is account data unmatched with data in the former account data in the current account data, using institute Unmatched account data is stated to be updated the former account data.
5. the method as described in claim 1, which is characterized in that described to use the current account data to the terminal applies Former account data be updated after, further includes:
The update of the former account data is detected as a result, and the update result is back to service based on the application interface Device.
6. a kind of account data synchronizer characterized by comprising
Data capture unit for obtaining the current account data of terminal applies from server based on application interface, and is based on institute It states application interface and obtains account number entrained by the current account data;
Data transmission unit, it is corresponding for the current account data to be sent to the account number based on the application interface The terminal applies;
Data updating unit, for being updated using the current account data to the former account data of the terminal applies.
7. equipment as claimed in claim 6, which is characterized in that further include:
Request transmitting unit applies the corresponding account number of logging request for obtaining based on application interface, and by the application Logging request is sent to server, so that the server is corresponding according to the account number return application logging request Logon rights data.
8. equipment as claimed in claim 7, which is characterized in that the data capture unit is specifically used for,
Account synchronization request is sent to institute according to the logon rights data entry terminal applies, and based on the application interface Server is stated, so that the server returns to working as the corresponding terminal applies of the account number according to the account synchronization request Preceding account data.
9. equipment as claimed in claim 6, which is characterized in that the data updating unit includes:
Data acquisition subelement, for obtaining the former account data of the terminal applies;
Data update subelement, for exist in the current account data and the former account data in data mismatch Account data when, the former account data is updated using the unmatched account data.
10. equipment as claimed in claim 6, which is characterized in that further include:
As a result output unit, for detecting the update of the former account data based on the application interface as a result, and by described in more New result is back to server.
11. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with a plurality of instruction, the finger It enables and is suitable for being loaded by processor and executing following steps:
The current account data of terminal applies is obtained from server based on application interface, and based on described in application interface acquisition Account number entrained by current account data;
The current account data is sent to the corresponding terminal applies of the account number based on the application interface;
It is updated using former account data of the current account data to the terminal applies.
12. a kind of terminal characterized by comprising processor and memory;Wherein, the memory is stored with computer journey Sequence, the computer program are suitable for being loaded by the processor and executing following steps:
The current account data of terminal applies is obtained from server based on application interface, and based on described in application interface acquisition Account number entrained by current account data;
The current account data is sent to the corresponding terminal applies of the account number based on the application interface;
It is updated using former account data of the current account data to the terminal applies.
CN201710678114.5A 2017-08-10 2017-08-10 Account data synchronization method and equipment, storage medium and terminal thereof Active CN109391658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710678114.5A CN109391658B (en) 2017-08-10 2017-08-10 Account data synchronization method and equipment, storage medium and terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710678114.5A CN109391658B (en) 2017-08-10 2017-08-10 Account data synchronization method and equipment, storage medium and terminal thereof

Publications (2)

Publication Number Publication Date
CN109391658A true CN109391658A (en) 2019-02-26
CN109391658B CN109391658B (en) 2021-08-27

Family

ID=65415238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710678114.5A Active CN109391658B (en) 2017-08-10 2017-08-10 Account data synchronization method and equipment, storage medium and terminal thereof

Country Status (1)

Country Link
CN (1) CN109391658B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905295A (en) * 2021-03-31 2021-06-04 掌阅科技股份有限公司 Data intercommunication method, computing device and computer storage medium
CN115022101A (en) * 2022-08-10 2022-09-06 深圳竹云科技股份有限公司 Account data changing method and device, computer equipment and storage medium
CN116204494A (en) * 2023-04-28 2023-06-02 深圳竹云科技股份有限公司 Method and device for migrating active directory data, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120317309A1 (en) * 2011-06-10 2012-12-13 Benco Davis S Method to synchronize content across networks
CN106354507A (en) * 2016-08-30 2017-01-25 江苏车置宝信息科技股份有限公司 Enterprise-level application management system and method for operating same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120317309A1 (en) * 2011-06-10 2012-12-13 Benco Davis S Method to synchronize content across networks
CN106354507A (en) * 2016-08-30 2017-01-25 江苏车置宝信息科技股份有限公司 Enterprise-level application management system and method for operating same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905295A (en) * 2021-03-31 2021-06-04 掌阅科技股份有限公司 Data intercommunication method, computing device and computer storage medium
CN115022101A (en) * 2022-08-10 2022-09-06 深圳竹云科技股份有限公司 Account data changing method and device, computer equipment and storage medium
CN115022101B (en) * 2022-08-10 2022-11-15 深圳竹云科技股份有限公司 Account data changing method and device, computer equipment and storage medium
WO2024032660A1 (en) * 2022-08-10 2024-02-15 深圳竹云科技股份有限公司 Method and apparatus for changing account data, computer device, and storage medium
CN116204494A (en) * 2023-04-28 2023-06-02 深圳竹云科技股份有限公司 Method and device for migrating active directory data, electronic equipment and storage medium
CN116204494B (en) * 2023-04-28 2023-07-14 深圳竹云科技股份有限公司 Method and device for migrating active directory data, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109391658B (en) 2021-08-27

Similar Documents

Publication Publication Date Title
CN110535831B (en) Kubernetes and network domain-based cluster security management method and device and storage medium
US10320623B2 (en) Techniques for tracking resource usage statistics per transaction across multiple layers of protocols
CN104935502B (en) The creation method and device of mail group
CN106375458B (en) Service calling system, method and device
CN109391509A (en) A kind of method, system and the application server of more new application
CN105898085B (en) Harass recognition methods and the device of communications account
CN103905495B (en) A kind of synchronous method and background server of application
CN105868231A (en) Cache data updating method and device
CN107911483A (en) A kind of information transferring method and device
CN106713684B (en) The binding method and equipment of the number of Unified Communication client account and phone
CN106034138A (en) Remote service calling method and remote service calling device
US20140040390A1 (en) Publish Information on Website
CN109391658A (en) A kind of account data synchronous method and its equipment, storage medium, terminal
CN109582873A (en) Method and apparatus for pushed information
CN107613040A (en) A kind of method and apparatus of domain name system DNS server lookup
CN106411694B (en) System and method for using XMPP that content is broadcast to recipient's device
CN102946401B (en) A kind of data creation method, device and equipment
WO2016205234A1 (en) E-mail processing
CN105988776A (en) Information card processing method and device
CN107888663A (en) A kind of method of distribution of document, equipment and computer-readable medium
CN107948242A (en) More service number template message sending methods and system
CN105450513B (en) File the method and cloud storage service device of Email attachment
KR101606319B1 (en) Method of push messages management using database
CN107968798A (en) A kind of network management resources label acquisition method, cache synchronization method, apparatus and system
CN110929126A (en) Distributed crawler scheduling method based on remote procedure call

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518000 East, 3rd floor, incubation building, China Academy of science and technology, 009 Gaoxin South 1st Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Zhuyun Technology Co.,Ltd.

Address before: 518000 East, 3rd floor, incubation building, China Academy of science and technology, 009 Gaoxin South 1st Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN BAMBOOCLOUD TECHNOLOGY CO.,LTD.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518000 East, 3rd floor, incubation building, China Academy of science and technology, 009 Gaoxin South 1st Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Zhuyun Technology Co.,Ltd.

Address before: 518000 East, 3rd floor, incubation building, China Academy of science and technology, 009 Gaoxin South 1st Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN BAMBOOCLOUD TECHNOLOGY CO.,LTD.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 518000 4001, Block D, Building 1, Chuangzhi Yuncheng Lot 1, Liuxian Avenue, Xili Community, Xili Street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Zhuyun Technology Co.,Ltd.

Address before: 518000 East, 3rd floor, incubation building, China Academy of science and technology, 009 Gaoxin South 1st Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Zhuyun Technology Co.,Ltd.