CN105933402A - Method for synchronizing enterprise contacts - Google Patents

Method for synchronizing enterprise contacts Download PDF

Info

Publication number
CN105933402A
CN105933402A CN201610244217.6A CN201610244217A CN105933402A CN 105933402 A CN105933402 A CN 105933402A CN 201610244217 A CN201610244217 A CN 201610244217A CN 105933402 A CN105933402 A CN 105933402A
Authority
CN
China
Prior art keywords
enterprise
address list
address
message
emqttd
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.)
Pending
Application number
CN201610244217.6A
Other languages
Chinese (zh)
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.)
Fujian Star-Net Wisdom Technology Co Ltd
Original Assignee
Fujian Star-Net Wisdom 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 Fujian Star-Net Wisdom Technology Co Ltd filed Critical Fujian Star-Net Wisdom Technology Co Ltd
Priority to CN201610244217.6A priority Critical patent/CN105933402A/en
Publication of CN105933402A publication Critical patent/CN105933402A/en
Pending legal-status Critical Current

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/50Network services
    • H04L67/55Push-based network services
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a method for synchronizing enterprise contacts. An emqttd push server is built, an IOT agreement between a client and the emqttd push server is employed, /UPDATE/CONTACT is used by a message subject in a unified way, and message content is the URL address stored by an enterprise contacts. When the client is started, an /UPDATE/CONTACT subject is subscribed, when a latest enterprise contacts exists, the websocket interface in the emqttd push server is used to send a message with the subject of /UPDATE/CONTACT, when the client receives the message, the contacts is synchronized immediately. According to the synchronizing method of the invention, the contacts can be timely updated, and an instant high load condition can be prevented.

Description

A kind of method of enterprise address list synchronization
Technical field
The method that the present invention relates to a kind of enterprise address list synchronization.
Background technology
The synchronization implementation of enterprise's address list is generally such that setting up a ftp/http service at present Device, is placed on the address list editted on this ftp server, (includes android for each client Or ios hardware terminal) for, use polling mode, inquire ftp server at set intervals, be No have latest edition address list, if it does, then download address list, and so two shortcomings of existence, one Being to update not in time, two is for server, especially for client relatively many in the case of, exist The problem that momentary load is high.
Summary of the invention
The technical problem to be solved in the present invention, the method being to provide a kind of enterprise address list synchronization, can and Shi Gengxin address list, and momentary load high situation can be prevented.
The present invention is achieved in that the method for a kind of enterprise address list synchronization, builds emqttd and pushes Server, uses Internet of Things MQTT agreement, message master between client and emqttd push server Unified use/the UPDATE/CONTACT of topic, message content is the URL address that enterprise's address list is deposited; During client terminal start-up, subscription/UPDATE/CONTACT theme, when there being up-to-date enterprise's address list Waiting, the websocket interface in use emqttd push server sends theme and is The message of/UPDATE/CONTACT, after client receives message, synchronous communication record immediately.
Further, including deployment server flow process and enterprise's address list synchronization flow process;
Described deployment server flow process is specifically:
11, emqttd push server and ftpserver server are installed;Ftpserver server configures is propped up Holding anonymity to login, download address is configured to/opt/download;
12, enterprise's address list is unified uses contact_Vx.x.x.vcf name, and wherein x.x.x represents version Number;Enterprise's address list leaves in/opt/download/ catalogue under;
Enterprise's address list synchronization flow process is specifically:
21, client subscription/UPDATE/CONTACT theme, client_id is random with mac address Generate;
22, login emqttd web-based management platform, use websocket, connect local emqttd and push Server address, then sends message, and message subject is /UPDATE/CONTACT, message content The URL address deposited for enterprise's address list;
23, client receives/UPDATE/CONTACT theme, obtains enterprise's address list download address;
24, it is right that parsing address list download address address list version number, and the version number of local address book is carried out Ratio, it may be judged whether up-to-date address list, if it is, enter step 25, if it is not, then terminate;
25, client starts to download enterprise's address list, and is synchronized to local address book, and locally located work as Address list version number of front enterprise.
Present invention have the advantage that the emqttd message push server of the present invention, support MQTT V3.1.1 agreement, for other increase income MQTT message push server, has concurrent height, surely Qualitative high advantage, it supports clustered deploy(ment) simultaneously, is beneficial to the address list that upgrades in time, and can prevent wink Between load high situation.
Accompanying drawing explanation
The present invention is further illustrated the most in conjunction with the embodiments.
Fig. 1 is the configuration diagram of the inventive method.
Fig. 2 is the schematic flow sheet of the inventive method.
Detailed description of the invention
As it is shown in figure 1, the method for enterprise's address list synchronization of the present invention, build emqttd Push Service Device, uses Internet of Things MQTT agreement between client and emqttd push server, message subject is united One use/UPDATE/CONTACT, message content is the URL address that enterprise's address list is deposited;Visitor When family end starts, subscription/UPDATE/CONTACT theme, when having up-to-date enterprise's address list when, Websocket interface in use emqttd push server sends theme The message of/UPDATE/CONTACT, after client receives message, immediately synchronous communication record, i.e. from FTP Server server downloads address list.
Wherein, emqttd push server is to use Erlang language development, supports MQTT comprehensively V3.1.1 agreement, supports cluster and the extensive MQTT message server of increasing income connected, and it is devoted to Enterprise-level is reliable and stable based on Erlang/OTP language platform to issue one, increases income completely free, can Cluster supports the MQTT message server that extensive Internet of Things, mobile Internet connect.
FTP Server server is a kind of special computer specializing in other computer retrieval files and storage.Literary composition Part server generally has bigger memory capacity than general PC, and has some other merit Can, such as disk mirroring, multiple NIC, hot spare multi-power supply device.
Specifically, as in figure 2 it is shown, the method for enterprise's address list synchronization of the present invention includes deployment server Flow process and enterprise's address list synchronization flow process;
Described deployment server flow process is specifically:
11, emqttd push server and ftpserver server are installed;Ftpserver server configures is propped up Holding anonymity to login, download address is configured to/opt/download;
12, enterprise's address list is unified uses contact_Vx.x.x.vcf name, and wherein x.x.x represents version Number;Enterprise's address list leaves in/opt/download/ catalogue under;
Enterprise's address list synchronization flow process is specifically:
21, client subscription/UPDATE/CONTACT theme, client_id is random with mac address Generate;
22, login emqttd web-based management platform, use websocket, connect local emqttd and push Server address, then sends message, and message subject is /UPDATE/CONTACT, message content The URL address deposited for enterprise's address list;Such as:
Theme topic:/UPDATE/CONTACT;
Message content:ftp://domainname/opt/download/contact_V1.2.0.vcf
Wherein domainname is IP address or the domain name of ftpserver;
23, client receives/UPDATE/CONTACT theme, obtains enterprise's address list download address;
24, it is right that parsing address list download address address list version number, and the version number of local address book is carried out Ratio, it may be judged whether up-to-date address list, if it is, enter step 25, if it is not, then terminate;
25, client starts to download enterprise's address list, and is synchronized to local address book, and locally located work as Address list version number of front enterprise.
Present invention have the advantage that the emqttd message push server of the present invention, support MQTT V3.1.1 agreement, for other increase income MQTT message push server, has concurrent height, The advantage that stability is high, it supports clustered deploy(ment) simultaneously, is beneficial to the address list that upgrades in time, and can prevent Momentary load high situation.
Although the foregoing describing the detailed description of the invention of the present invention, but it is familiar with the technology people of the art Member should be appreciated that our described specific embodiment is merely exemplary rather than for this The restriction of bright scope, those of ordinary skill in the art are in the equivalence made according to the spirit of the present invention Modify and change, all should contain in the scope of the claimed protection of the present invention.

Claims (2)

1. the method for enterprise's address list synchronization, it is characterised in that: build emqttd push server, Using Internet of Things MQTT agreement between client and emqttd push server, message subject is unified to be made With/UPDATE/CONTACT, message content is the URL address that enterprise's address list is deposited;Client During startup, subscription/UPDATE/CONTACT theme, when having up-to-date enterprise's address list when, make Sending theme with the websocket interface in emqttd push server is /UPDATE/CONTACT Message, after client receives message, immediately synchronous communication record.
The method of a kind of enterprise the most according to claim 1 address list synchronization, it is characterised in that: Including deployment server flow process and enterprise's address list synchronization flow process;
Described deployment server flow process is specifically:
11), emqttd push server and ftpserver server are installed;Ftpserver server configures Support anonymity is logined, and download address is configured to/opt/download;
12), enterprise address list is unified uses contact_Vx.x.x.vcf name, and wherein x.x.x represents version Number;Enterprise's address list leaves in/opt/download/ catalogue under;
Enterprise's address list synchronization flow process is specifically:
21), client subscription/UPDATE/CONTACT theme, client_id is random with mac address Generate;
22), login emqttd web-based management platform, use websocket, connect local emqttd and push away Sending server address, then send message, message subject is /UPDATE/CONTACT, in message Hold the URL address deposited for enterprise's address list;
23), client receives/UPDATE/CONTACT theme, acquisition enterprise address list download address;
24), resolve address list download address address list version number, and the version number of local address book is carried out Contrast, it may be judged whether up-to-date address list, if it is, enter step 25), if it is not, then terminate;
25), client start to download enterprise's address list, and be synchronized to local address book, and locally located Current enterprise address list version number.
CN201610244217.6A 2016-04-19 2016-04-19 Method for synchronizing enterprise contacts Pending CN105933402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610244217.6A CN105933402A (en) 2016-04-19 2016-04-19 Method for synchronizing enterprise contacts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610244217.6A CN105933402A (en) 2016-04-19 2016-04-19 Method for synchronizing enterprise contacts

Publications (1)

Publication Number Publication Date
CN105933402A true CN105933402A (en) 2016-09-07

Family

ID=56839318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610244217.6A Pending CN105933402A (en) 2016-04-19 2016-04-19 Method for synchronizing enterprise contacts

Country Status (1)

Country Link
CN (1) CN105933402A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657394A (en) * 2017-02-10 2017-05-10 山东浪潮商用系统有限公司 Equipment information collection system and method based on Internet of Things big data
CN109344202A (en) * 2018-10-31 2019-02-15 新华三大数据技术有限公司 A kind of method of data synchronization and management node
CN110535903A (en) * 2019-07-19 2019-12-03 浙江讯盟科技有限公司 A kind of update method of the enterprise directory of real-time high-efficiency
CN111083038A (en) * 2019-10-23 2020-04-28 上海盈联电信科技有限公司 Enterprise management online instant messaging system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662547A (en) * 2008-08-26 2010-03-03 华为技术有限公司 Method and device for realizing notification of business information of blend address book
CN103179209A (en) * 2013-03-25 2013-06-26 中兴通讯股份有限公司 Telecommunication-network-based address book implement method and device
US20160028780A1 (en) * 2014-07-22 2016-01-28 Nemrude Verzano Managed Device-to-Device Communication in Business Computing Systems
CN105376589A (en) * 2015-10-27 2016-03-02 上海斐讯数据通信技术有限公司 Intelligent TV message push device and method based on MQTT

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662547A (en) * 2008-08-26 2010-03-03 华为技术有限公司 Method and device for realizing notification of business information of blend address book
CN103179209A (en) * 2013-03-25 2013-06-26 中兴通讯股份有限公司 Telecommunication-network-based address book implement method and device
US20160028780A1 (en) * 2014-07-22 2016-01-28 Nemrude Verzano Managed Device-to-Device Communication in Business Computing Systems
CN105376589A (en) * 2015-10-27 2016-03-02 上海斐讯数据通信技术有限公司 Intelligent TV message push device and method based on MQTT

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657394A (en) * 2017-02-10 2017-05-10 山东浪潮商用系统有限公司 Equipment information collection system and method based on Internet of Things big data
CN106657394B (en) * 2017-02-10 2020-06-05 浪潮软件科技有限公司 Equipment information acquisition system and method based on Internet of things big data
CN109344202A (en) * 2018-10-31 2019-02-15 新华三大数据技术有限公司 A kind of method of data synchronization and management node
CN110535903A (en) * 2019-07-19 2019-12-03 浙江讯盟科技有限公司 A kind of update method of the enterprise directory of real-time high-efficiency
CN111083038A (en) * 2019-10-23 2020-04-28 上海盈联电信科技有限公司 Enterprise management online instant messaging system and method

Similar Documents

Publication Publication Date Title
US9519654B2 (en) Method, device, processing center and system for desktop synchronization
CN1988535B (en) Synchronous method, system for file storage and customer terminal
CN105933402A (en) Method for synchronizing enterprise contacts
CN103037002A (en) Method and system for arranging server cluster in cloud computing cluster environment
KR101685215B1 (en) Automatic discovery of alternate mailboxes
US8620998B2 (en) Mobile application deployment for distributed computing environments
CN102164360B (en) Method and system for configuring and loading network equipment
EP3125509A1 (en) Application information sharing method and apparatus
CN106713493B (en) System and method for constructing distributed file in computer cluster environment
CN106533944B (en) Distributed API gateway, management method and management system
CN103220358A (en) Multi-terminal on-line file synchronizing method, system, server, and terminal device
CN107404509B (en) Distributed service configuration system and information management method
CN105677380B (en) Method and device for board-by-board upgrading of double master control isolations
JP6086124B2 (en) Information processing terminal, synchronization control method, and synchronization control program
US20140229436A1 (en) Method of File Synchronization and Electronic Device Thereof
CN104158886A (en) Flow-type performing method for applications
CN103580921A (en) Automatic network equipment upgrading method and automatic network equipment upgrading system
CN102571940A (en) Remote application installation system, method, intelligent terminal and application server
CN105450682B (en) Method, device and system for synchronously storing data and synchronizing data to client
CN102355500A (en) Business pushing method and device
CN104252397A (en) Realizing method for supporting automatic backup of cloud platform user file
CN103986789A (en) Method for realizing dual redundant of NFS (network file system) nodes in HADOOP HA (home address) cluster based on NFS
CN103312489A (en) Method and device for synchronizing terminal and server
US9686345B2 (en) Device management method and apparatus
CN101873354A (en) Data synchronization method and system thereof in interactive television

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160907

RJ01 Rejection of invention patent application after publication