CN113836153A - Method and system for instantly updating enterprise address book at mobile terminal - Google Patents

Method and system for instantly updating enterprise address book at mobile terminal Download PDF

Info

Publication number
CN113836153A
CN113836153A CN202110935411.XA CN202110935411A CN113836153A CN 113836153 A CN113836153 A CN 113836153A CN 202110935411 A CN202110935411 A CN 202110935411A CN 113836153 A CN113836153 A CN 113836153A
Authority
CN
China
Prior art keywords
information
mobile terminal
module
address book
user
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
CN202110935411.XA
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.)
Unicloud Nanjing Digital Technology Co Ltd
Original Assignee
Unicloud Nanjing Digital 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 Unicloud Nanjing Digital Technology Co Ltd filed Critical Unicloud Nanjing Digital Technology Co Ltd
Priority to CN202110935411.XA priority Critical patent/CN113836153A/en
Publication of CN113836153A publication Critical patent/CN113836153A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/235Update request formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the technical field of mobile terminal information updating, in particular to a method and a system for instantly updating an enterprise address book of a mobile terminal; the method for instantly updating the enterprise address book at the mobile terminal comprises the following steps: starting the APP of the mobile terminal module to acquire address list information and writing the address list information into the local of the mobile terminal module; establishing Socket long connection between the APP of the mobile terminal module and the server module; when the user modifies the personal information at other end modules, the server module pushes the modified information to the user of the mobile end module through Socket long connection; the user actively updates the address book information according to the received push message, establishes association with the server module through Socket long connection by using an updating method so as to realize broadcasting of updated user information to the user, and also realizes the function of updating the user address book information at low cost by using the address book information body cache and the on-line data association.

Description

Method and system for instantly updating enterprise address book at mobile terminal
Technical Field
The invention relates to the technical field of mobile terminal information updating, in particular to a method and a system for instantly updating an enterprise address book of a mobile terminal.
Background
With the arrival of the mobile internet era, the business office gradually goes from off-line to on-line, the contact between people in the enterprise becomes more close, the contact way is not face to face, but becomes on-line communication, so that how to find the corresponding people more quickly and how to find the contact way of the people more accurately becomes a great importance;
in the prior art, refreshing is usually performed on an address book interface of an OA system at a mobile terminal to obtain a latest enterprise address book, and an operation of automatically refreshing data is performed every time when the mobile terminal enters the function module, so as to achieve the relative accuracy of a contact person.
Disclosure of Invention
The invention aims to provide a method and a system for instantly updating an enterprise address book at a mobile terminal, which aim to solve the problems that the person information cannot be ensured to be instantly updated and the consumption of mobile phone resources is high in the prior art.
In order to achieve the above object, the present invention provides an instant update method for an enterprise address book at a mobile terminal, which comprises the following steps:
starting an APP of a mobile terminal module to acquire address list information and writing the address list information into the local of the mobile terminal module;
establishing Socket long connection between the APP of the mobile terminal module and a server module;
when a user modifies personal information in other end modules, the server module pushes modified information to the user of the mobile end module through Socket long connection;
and the user actively updates the address list information according to the received push message.
By timely and effectively updating the enterprise address book, the accuracy of the user address book is guaranteed, a stable basic data platform is provided for the whole set of OA communication system, more mobile flows can be saved for the mobile terminal, and the use cost is reduced.
The method comprises the following steps that the APP which starts the mobile terminal module obtains address book information and writes the address book information into the local part of the mobile terminal module:
starting the APP of the mobile terminal module;
enabling the APP to be connected to the server module through an http protocol, and acquiring enterprise address book information through an Api service for acquiring an address book;
and acquiring the enterprise address book information through an http protocol, and writing the acquired enterprise address book information into a local database cache of the mobile terminal module.
The consumption of mobile phone resources is reduced by writing the information of the enterprise address book into the cache of the local database.
The establishing of the Socket long connection between the APP of the mobile terminal module and the server module comprises the following steps:
creating Socket long connection;
connecting the server module and performing io interaction with the server module;
and closing the Socket long connection when the APP of the mobile terminal module logs out.
The Socket long connection can be used for broadcasting and updating the user information to the user.
When the user modifies the personal information in other end modules, the server module pushes the modified information to the user of the mobile end module through Socket long connection, and the method comprises the following steps:
after the user modifies the personal information and stores the personal information in the other end module, the modified information is informed to the server module through an https request;
the server module judges the legality of the personal information modification;
and the server module judges the success of storing the modified data.
To enable retention of the changed data in the server module.
The method for actively updating the address book information by the user according to the received push message comprises the following steps:
the APP of the mobile terminal module analyzes the user information transmitted by the Socket long connection, and acquires the work number of the response and other change data through key value pair analysis;
and searching the personnel information corresponding to the address book information in the local database cache through SQL sentences by taking the work number of the analyzed response as an identifier, and rewriting the changed data into the database to update the information of the corresponding personnel.
And the local personnel information of the user is updated by utilizing the matching of the server module and the Socket long connection.
The invention also provides a mobile terminal enterprise address book instant updating system, which comprises the mobile terminal enterprise address book instant updating method, and the mobile terminal enterprise address book instant updating system further comprises:
a server module configured to broadcast and update user information to a user over a Socket long connection;
a mobile terminal module configured to establish Socket long connection through an APP and establish association with the server module;
and the other end modules comprise a webpage end module and other mobile end modules, and the webpage end module and the other mobile end modules are configured to store the modified personal information of the user and inform the server module of the modified information through an https request.
The invention relates to a method and a system for instantly updating an enterprise address book at a mobile terminal.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an instant update method for an enterprise address book at a mobile terminal according to the present invention.
Fig. 2 is a layout diagram of an instant update system for an enterprise address book at a mobile terminal according to the present invention.
Fig. 3 is a step diagram of a method for instantly updating an enterprise address book at a mobile terminal according to the present invention.
Fig. 4 is a flowchart illustrating a step of writing address book information into a mobile module according to the method for instantly updating an enterprise address book at a mobile terminal according to the present invention.
Fig. 5 is a step diagram of establishing a Socket long connection between a mobile module and a server module according to the method for instantly updating an enterprise address book at a mobile terminal provided by the present invention.
Fig. 6 is a step diagram of a server module pushing modification information to a mobile end module through Socket long connection according to the mobile end enterprise address book instant update method provided by the present invention.
Fig. 7 is a step diagram of performing address book information update according to the mobile-end enterprise address book instant update method provided by the present invention.
1-server module, 2-mobile terminal module, 3-other terminal module, 31-webpage terminal module, 32-other mobile module.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
Referring to fig. 1 to 7, the present invention provides an instant update method for an enterprise address book of a mobile terminal, which includes the following steps:
s101: starting an APP of a mobile terminal module 2 to acquire address book information and writing the address book information into the local of the mobile terminal module 2;
s102: establishing Socket long connection between the APP of the mobile terminal module 2 and the server module 1;
s103: when a user modifies personal information in the other end module 3, the server module 1 pushes modified information to the user of the mobile end module 2 through Socket long connection;
s104: and the user actively updates the address list information according to the received push message.
In this embodiment, the APP of the mobile terminal module 2 is used to establish a Socket long connection with the server module 1, so that the address book information is updated by broadcasting between the server module 1 and the user, and the address book information is associated with the online data by the local cache of the address book information, so that the user updates the address book information on the premise of low consumption of mobile phone resources.
Further, the step of starting the APP of the mobile terminal module 2 to obtain the address book information and writing the address book information into the local area of the mobile terminal module 2 includes the following steps:
s201: starting the APP of the mobile terminal module 2;
s202: the APP is connected to the server module 1 through an http protocol, and enterprise address book information is acquired through an Api service for acquiring an address book;
s203: acquiring enterprise address book information through an http protocol, and writing the acquired enterprise address book information into a local database cache of the mobile terminal module 2;
the establishing of the Socket long connection between the APP of the mobile terminal module 2 and the server module 1 comprises the following steps:
s301: creating Socket long connection;
s302: connecting the server module 1 and performing io interaction with the server module 1;
s303: when exiting the APP login of the mobile terminal module 2, closing the Socket long connection;
when the user modifies the personal information in the other end module 3, the server module 1 pushes the modified information to the user of the mobile end module 2 through the Socket long connection, including the following steps:
s401: after modifying and storing personal information at the other end module 3, the user informs the modified information to the server module 1 through an https request;
s402: the server module 1 judges the validity of personal information modification;
s403: the server module 1 judges the success of storing the modified data;
the user actively updates the address list information according to the received push message, and the method comprises the following steps:
s501: the APP of the mobile terminal module 2 analyzes the user information transmitted by the Socket long connection, and acquires the work number of the response and other change data through key value pair analysis;
s502: and searching the personnel information corresponding to the address book information in the local database cache through SQL sentences by taking the work number of the analyzed response as an identifier, and rewriting the changed data into the database to update the information of the corresponding personnel.
Further, the judgment of the validity of the personal information modification by the server module 1 means that if the personal information modification is not legal, the previous step is returned through https request response, and the user is informed to continue the modification, and if the personal information modification is legal, the server module 1 stores data;
the successful judgment of the server module 1 for storing the modified data means that if the storage fails, the modified data is returned to the other end module 3 and the user is informed to submit again, and if the storage succeeds, the user information is transmitted to the APP user of the mobile end module 2 through Socket long connection;
and if the information updating occurs on the address book interface of the local database, refreshing the address book interface in a proxy notification mode, and displaying new user information.
In the present embodiment, whether or not personal information can be uploaded to the server module 1 is determined by the validity of personal information modification, and the updated personal information is stored in the server module 1 with successful judgment.
The invention also provides a mobile terminal enterprise address book instant updating system, which comprises the mobile terminal enterprise address book instant updating method, and the mobile terminal enterprise address book instant updating system further comprises:
a server module 1, the server module 1 configured to broadcast and update user information to a user through a Socket long connection;
a mobile terminal module 2, wherein the mobile terminal module 2 is configured to establish a Socket long connection through an APP, and establish association with the server module 1;
and the other end module 3, where the other end module 3 includes a web page end module 31 and other mobile end modules 32, and the web page end module 31 and the other mobile end modules 32 are configured to store the modified personal information of the user, and notify the modified information to the server module 1 through an https request.
In this embodiment, the server module 1 is matched with the mobile terminal module 2, so as to implement Socket long connection, and the server module 1 is matched with the other terminal module 3, so as to implement broadcasting of updated personal information to the mobile terminal module 2, and save resource consumption for the mobile terminal module 2.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (6)

1. A method for instantly updating enterprise address book at mobile terminal is characterized in that,
the method for instantly updating the enterprise address book at the mobile terminal comprises the following steps:
starting an APP of a mobile terminal module to acquire address list information and writing the address list information into the local of the mobile terminal module;
establishing Socket long connection between the APP of the mobile terminal module and a server module;
when a user modifies personal information in other end modules, the server module pushes modified information to the user of the mobile end module through Socket long connection;
and the user actively updates the address list information according to the received push message.
2. The method as claimed in claim 1, wherein the mobile-end enterprise address book is updated immediately,
the APP starting the mobile terminal module acquires the address list information and writes the address list information into the local part of the mobile terminal module comprises the following steps:
starting the APP of the mobile terminal module;
enabling the APP to be connected to the server module through an http protocol, and acquiring enterprise address book information through an Api service for acquiring an address book;
and acquiring the enterprise address book information through an http protocol, and writing the acquired enterprise address book information into a local database cache of the mobile terminal module.
3. The method as claimed in claim 2, wherein the mobile-end enterprise address book is updated immediately,
the method for establishing Socket long connection between the APP of the mobile terminal module and the server module comprises the following steps:
creating Socket long connection;
connecting the server module and performing io interaction with the server module;
and closing the Socket long connection when the APP of the mobile terminal module logs out.
4. The method as claimed in claim 3, wherein the mobile-end enterprise address book is updated immediately,
when the user modifies the personal information in other end modules, the server module pushes the modified information to the user of the mobile end module through Socket long connection, and the method comprises the following steps:
after the user modifies the personal information and stores the personal information in the other end module, the modified information is informed to the server module through an https request;
the server module judges the legality of the personal information modification;
and the server module judges the success of storing the modified data.
5. The method as claimed in claim 4, wherein the mobile-end enterprise address book is updated immediately,
the user actively updates the address list information according to the received push message, and the method comprises the following steps:
the APP of the mobile terminal module analyzes the user information transmitted by the Socket long connection, and acquires the work number of the response and other change data through key value pair analysis;
and searching the personnel information corresponding to the address book information in the local database cache through SQL sentences by taking the work number of the analyzed response as an identifier, and rewriting the changed data into the database to update the information of the corresponding personnel.
6. A mobile-end enterprise address book instant update system, comprising the mobile-end enterprise address book instant update method according to claim 5,
the system for instantly updating the enterprise address book at the mobile terminal further comprises:
a server module configured to broadcast and update user information to a user over a Socket long connection;
a mobile terminal module configured to establish Socket long connection through an APP and establish association with the server module;
and the other end modules comprise a webpage end module and other mobile end modules, and the webpage end module and the other mobile end modules are configured to store the modified personal information of the user and inform the server module of the modified information through an https request.
CN202110935411.XA 2021-08-16 2021-08-16 Method and system for instantly updating enterprise address book at mobile terminal Pending CN113836153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110935411.XA CN113836153A (en) 2021-08-16 2021-08-16 Method and system for instantly updating enterprise address book at mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110935411.XA CN113836153A (en) 2021-08-16 2021-08-16 Method and system for instantly updating enterprise address book at mobile terminal

Publications (1)

Publication Number Publication Date
CN113836153A true CN113836153A (en) 2021-12-24

Family

ID=78960644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110935411.XA Pending CN113836153A (en) 2021-08-16 2021-08-16 Method and system for instantly updating enterprise address book at mobile terminal

Country Status (1)

Country Link
CN (1) CN113836153A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102737302A (en) * 2011-04-02 2012-10-17 中兴通讯股份有限公司 Method, apparatus, and system of information transmission
CN103078899A (en) * 2012-12-20 2013-05-01 北京思特奇信息技术股份有限公司 Method and device for synchronizing enterprise address book
CN103095819A (en) * 2013-01-04 2013-05-08 微梦创科网络科技(中国)有限公司 Data information pushing method and data information pushing system
CN103095829A (en) * 2013-01-15 2013-05-08 上海交通大学 Network contact list system achieving version management and authority management
CN103793749A (en) * 2014-02-27 2014-05-14 四川物联恒安安全技术研究有限公司 Safety production comprehensive supervisory platform data transmission method
CN106209966A (en) * 2016-06-15 2016-12-07 中国科学院信息工程研究所 Management and control end updates the method for equipment state, the treating method and apparatus of service end
CN109660584A (en) * 2017-10-12 2019-04-19 阿里巴巴集团控股有限公司 A kind of method and communication means and communication system of client and the long connection of server foundation
CN111083038A (en) * 2019-10-23 2020-04-28 上海盈联电信科技有限公司 Enterprise management online instant messaging system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102737302A (en) * 2011-04-02 2012-10-17 中兴通讯股份有限公司 Method, apparatus, and system of information transmission
CN103078899A (en) * 2012-12-20 2013-05-01 北京思特奇信息技术股份有限公司 Method and device for synchronizing enterprise address book
CN103095819A (en) * 2013-01-04 2013-05-08 微梦创科网络科技(中国)有限公司 Data information pushing method and data information pushing system
CN103095829A (en) * 2013-01-15 2013-05-08 上海交通大学 Network contact list system achieving version management and authority management
CN103793749A (en) * 2014-02-27 2014-05-14 四川物联恒安安全技术研究有限公司 Safety production comprehensive supervisory platform data transmission method
CN106209966A (en) * 2016-06-15 2016-12-07 中国科学院信息工程研究所 Management and control end updates the method for equipment state, the treating method and apparatus of service end
CN109660584A (en) * 2017-10-12 2019-04-19 阿里巴巴集团控股有限公司 A kind of method and communication means and communication system of client and the long connection of server foundation
CN111083038A (en) * 2019-10-23 2020-04-28 上海盈联电信科技有限公司 Enterprise management online instant messaging system and method

Similar Documents

Publication Publication Date Title
CN109983790B (en) Network service over limited network connections
CN102333092B (en) Network user identification method and application server
CN100489850C (en) Timely update of a web page
CN101505284A (en) Intelligent information dynamic pushing method and system
US20050198397A1 (en) System and method for session reestablishment between client terminal and server
US9973513B2 (en) Method and apparatus for communication number update
CN103188131A (en) Method and device for friend recommending on instant messaging client side
CN109922138A (en) Information push method, device and system
CN101183946B (en) Method and system of obtaining resource listing of download file
US8719357B2 (en) Method and apparatus for managing message
CN101277472A (en) Method, equipment and system of synchronization of blog contents
CN104283926A (en) Data synchronization method, device and server
CN103220310A (en) Calling card exchange method and terminal and calling card server used for calling card exchange
US8856230B2 (en) In browser real time collaboration lists and forms
CN111510466A (en) Data updating method and device for client, electronic equipment and readable medium
CN101645854A (en) Method, device and system for acquiring user information
WO2019041670A1 (en) Method, device and system for reducing frequency of functional page requests, and storage medium
CN102185701A (en) Method and system for realizing group information interaction
KR20050099279A (en) An electronic business card service system and method by using presence information
CN104426863A (en) Page request method, page request device, transit server and terminal
CN105653717A (en) Information sharing method and device
CN103379022B (en) A kind of instant communication method based on Internet map search and system
CN102571935B (en) A kind of method of transfer of data, client, server and system
CN113836153A (en) Method and system for instantly updating enterprise address book at mobile terminal
CN106790176B (en) Method and system for accessing network

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