CN101860821B - Method and system for acquiring instant messages - Google Patents
Method and system for acquiring instant messages Download PDFInfo
- Publication number
- CN101860821B CN101860821B CN201010200739.9A CN201010200739A CN101860821B CN 101860821 B CN101860821 B CN 101860821B CN 201010200739 A CN201010200739 A CN 201010200739A CN 101860821 B CN101860821 B CN 101860821B
- Authority
- CN
- China
- Prior art keywords
- user
- request
- information
- destination address
- contact
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000004891 communication Methods 0.000 claims description 29
- 238000012545 processing Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a method and a system for acquiring a plurality of instant messages. The method comprises the following steps that: a mobile terminal sends a request for acquiring the information of a plurality of contacts to an instant messaging server; the instant messaging server acquires the public attribute fields of the required contacts according to the request, organizes the public attribute fields into a data packet and sends the destination address of the data packet to an SMS (short messaging service) gateway; the SMS gateway sends the received destination address to the mobile terminal through a PUSH message; and a user can download and check the information of the required contacts according to the destination address in the message whenever necessary. By using the method and the system of the invention, the user of the mobile terminal can download and acquire the information of a plurality of required contacts at the same time from the destination address when the instant messaging software is used, thus reducing the operating steps of the user and saving the time thereof.
Description
Technical Field
The invention relates to an information acquisition technology of a mobile terminal, in particular to a method and a system for acquiring a plurality of instant messages when the mobile terminal uses an instant messaging tool.
Background
With the development of network technology, Instant Messaging (IM) tools have been widely used in mobile terminals such as mobile phones, and the information registered by IM users on the system can also help IM users to know the information of other IM users anytime and anywhere using mobile phones, such as: age, sex, contact information, etc.
In the prior art, the manner of obtaining personal data information of a friend through instant messaging software on a mobile phone, such as a QQ chat tool, is as follows: the user sends a request for checking other user information to the server, the user information stored on the server comprises a field with partial public attribute, and the data corresponding to the field is only provided for the user specified in the friend list; the server acquires a field with partial public attribute from a file for storing other user data according to the request, judges whether the user is the designated user, and provides data information corresponding to the field for the user if the user is the designated user; otherwise, the data information corresponding to the field is not provided for the user.
Therefore, in the viewing mode of the existing instant messaging tool, only the information of one contact person can be viewed at a time, and if the telephone number of the contact person needs to be acquired from the information and the call is carried out, the user also needs to switch between the instant messaging software and the dialer, that is, the user cannot continue to use the instant messaging software to contact other friends if the user wants to view the information of a plurality of contact persons. Therefore, for the user, the implementation of the scheme is not targeted and single at present, the user cannot obtain the information of a plurality of contacts at the same time, but only can check the information of the required contacts one by one, and the user needs to continuously operate, which increases unnecessary troubles and wastes time.
Disclosure of Invention
In view of this, the main objective of the present invention is to provide a method and a system for acquiring multiple pieces of instant information, so that a user can acquire information of multiple contacts at the same time, which is convenient for the user to use.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a method for acquiring a plurality of instant messages, which comprises the following steps:
the mobile terminal sends a request for acquiring information of a plurality of contact persons to the instant messaging server;
the instant communication server acquires the public attribute field of the required contact according to the request, organizes the public attribute field into a data packet and sends the destination address of the data packet to the short message gateway;
and the short message gateway sends the received destination address to the mobile terminal through PUSH (PUSH) information.
In the above scheme, the request for obtaining the information of the plurality of contacts includes a user identifier of a user sending the request.
In the above solution, after the instant messaging server receives the request for obtaining the information of the plurality of contacts, the method further includes: and the instant communication server determines the validity of the request according to the user identification in the request, and searches the information of the contact person required by the user according to the user identification when the request is valid.
In the above solution, before the instant messaging server sends the destination address of the data packet to the short message gateway, the method further includes: the instant communication server judges whether the user sending the request is the designated user according to the user identification, if the user is the designated user, the instant communication server sends the destination address of the data packet to the short message gateway; otherwise, the instant communication server does not send any information to the short message gateway.
In the above solution, after the destination address is sent to the mobile terminal through a PUSH message, the method further includes: and the user downloads and checks the required contact information at any time according to the destination address in the message.
The invention also provides a system for obtaining a plurality of instant messages, which comprises: the system comprises a mobile terminal, an instant messaging server and a short message gateway; wherein,
the mobile terminal is used for sending a request for acquiring information of a plurality of contact persons to the instant messaging server;
the instant communication server is used for acquiring the public attribute field of the required contact according to the request, organizing the public attribute field into a data packet and sending the destination address of the data packet to the short message gateway;
and the short message gateway is used for sending the received destination address to the mobile terminal through the PUSH information.
In the above scheme, the request for obtaining the information of the plurality of contacts includes a user identifier of a user sending the request.
In the above scheme, the instant messaging server includes: a storage unit and a processing unit; wherein,
the storage unit is used for storing the information of all the contacts of the user who sends the request, and comprises the following steps: contact lists and profile information; wherein the profile information includes a public attribute field;
and the processing unit is used for acquiring the public attribute field of the contact required by the user from the storage unit according to the user identification in the request, organizing the public attribute field into a data packet, and sending the destination address of the data packet to the short message gateway.
In the above scheme, the processing unit is further configured to determine validity of the request according to the user identifier in the request, and when the request is valid, find information of a contact needed by the user in the storage unit according to the user identifier.
In the above scheme, the processing unit is further configured to determine whether the user sending the request is an appointed user according to the user identifier, and if the user is the appointed user, send the destination address of the data packet to the short message gateway; otherwise, no information is sent to the short message gateway.
The invention provides a method and a system for acquiring a plurality of instant messages.A mobile terminal sends a request for acquiring a plurality of contact information to an instant messaging server; the instant communication server acquires the public attribute field of the required contact according to the request, organizes the public attribute field into a data packet and sends the destination address of the data packet to the short message gateway; the short message gateway sends the received destination address to the mobile terminal through PUSH information; and the user downloads and checks the required contact information at any time according to the destination address in the message. The advantages are that: when the user of the mobile terminal uses the instant messaging software, the user can download and simultaneously obtain the information of a plurality of required contact persons at any time through the destination address, so that if the user needs to obtain the contact way of the friend from the data to carry out the services of communication, short message sending, multimedia message sending, Email and the like with the friend, the user only needs to directly click the related contact way and initiate the service, thereby reducing the steps of user operation and saving the time of the user.
Drawings
FIG. 1 is a flow chart of a method for obtaining a plurality of instant messages according to an embodiment of the present invention;
fig. 2 is a structural diagram of a system for acquiring a plurality of instant messages according to the embodiment of the present invention.
Detailed Description
The invention sends a request for acquiring information of a plurality of contact persons to an instant communication server through a mobile terminal, the instant communication server acquires public attribute fields of the required contact persons according to the request and organizes the public attribute fields into a data packet, and sends a destination address of the data packet to a short message gateway, and the short message gateway sends the received destination address to the mobile terminal through PUSH information.
The scheme of the present invention is described in detail below by using specific embodiments, where the mobile terminal is a mobile phone.
The method embodiment of the invention comprises the following steps:
the method for acquiring a plurality of instant messages, as shown in fig. 1, includes the following steps:
step 101: adding options for acquiring a plurality of contact information in options for acquiring the contact information of the instant messaging software;
step 102: a user successfully logs in the instant messaging software through a mobile phone, clicks and acquires a plurality of contact person information options, and determines a list of required contact person information;
step 103: the mobile phone sends a request for acquiring a plurality of contact information to an instant messaging server through an instant messaging tool;
in this step, the request for obtaining the information of the plurality of contact persons includes the user identification of the user sending the request; if the access mode provided by the operator is currently used, the request for acquiring the contact information needs to be sent to the proxy server, and the proxy server performs the following steps according to a protocol command, such as: a network communication Protocol (TCP/IP, Transmission Control Protocol/Internet Protocol) command initiates a request for acquiring contact information to an instant messaging server; if the direct connection mode is used, a request for acquiring the contact information is directly sent to the instant communication server.
Step 104: after the instant communication server determines that the request is valid, searching the information of the contact person required by the user;
in this step, the instant messaging server determines the validity of the request according to the user identifier in the request, for example: if the user identification is stored in the instant communication server, the request is determined to be valid; otherwise, determining that the request is invalid; and searching all contact lists of the sending requesting user through Structured Query Language (SQL) according to the user identification in the effective request, wherein the lists can comprise the IDs of all contacts, and then acquiring the personal data information of the contacts required by the user from all the contact lists, wherein the personal data information comprises: public attribute fields, such as: name, gender, contact, email address, etc.
Step 105: the instant communication server obtains the public attribute field in the personal data information of the contact person needed by the user and organizes the public attribute field into a data packet, and judges whether the user sending the request is a designated user, if so, the step 106 is executed; otherwise, go to step 108;
in the step, the instant communication server acquires the fields of the public attributes of the required contact persons and organizes the fields into a data packet; and judging whether the user sending the request is a designated user according to the user identification, for example: and comparing the user identification in the request with the user identification stored in the instant communication server, and if the user identification is stored in the instant communication server, judging that the user sending the request is the designated user.
Step 106: the instant communication server sends the destination address of the data packet to the short message gateway;
step 107: the short message gateway sends the received destination address to the mobile phone through PUSH information, and the user downloads and checks the required contact information at any time according to the destination address in the message;
in this step, PUSH (WAP-PUSH) information, also called service information or PUSH information, is a short message with a special format, and completes data transmission through a simple request response mechanism. The PUSH information can save the inconvenience of inputting a website on a mobile phone by a user, the arrival rate reaches 100 percent, and the mobile phone is suitable for targeted promotion and advertising, and almost all mobile phones produced in 2006 support the reception of WAP PUSH, so that the destination address of a data packet sent by the PUSH information is selected.
Step 108: the instant communication server does not send any information to the short message gateway.
By adopting the technical scheme of the method, when the user of the mobile terminal uses the instant messaging software, the information of a plurality of required contact persons can be downloaded at any time and simultaneously obtained through the destination address, so if the user needs to obtain the contact way of the friend from the data to carry out the services of communication, sending short messages, multimedia messages, Email and the like with the friend, the user only needs to directly click the related contact way and initiate the service, and therefore the steps of user operation can be reduced and the time of the user can be saved.
The system embodiment of the invention:
based on the above method, the present invention further provides a system for obtaining a plurality of instant messages, as shown in fig. 2, including: the system comprises a mobile terminal, an instant messaging server and a short message gateway; wherein,
the mobile terminal is used for sending a request for acquiring information of a plurality of contact persons to the instant messaging server;
the instant communication server is used for acquiring the public attribute field of the required contact according to the request, organizing the public attribute field into a data packet and sending the destination address of the data packet to the short message gateway;
and the short message gateway is used for sending the received destination address to the mobile terminal through the PUSH information.
The request for obtaining the plurality of contact information comprises the user identification of the user sending the request.
The instant messaging server comprises: a storage unit and a processing unit; wherein,
the storage unit is used for storing the information of all the contacts of the user, including a contact list and personal data information; wherein, the personal data information comprises: public attribute fields, such as: name, gender, contact, email address, etc.;
and the processing unit is used for acquiring the public attribute field of the contact required by the user from the storage unit according to the user identification in the request, organizing the public attribute field into a data packet, and sending the destination address of the data packet to the short message gateway.
The processing unit is further configured to determine validity of the request according to the user identifier in the request, and when the request is valid, find information of a contact needed by the user in the storage unit according to the user identifier.
The processing unit is also used for judging whether the user sending the request is an appointed user according to the user identification, and if the user is the appointed user, the destination address of the data packet is sent to the short message gateway; otherwise, no information is sent to the short message gateway.
By adopting the technical scheme of the system, when the user of the mobile terminal uses the instant messaging software, the information of a plurality of required contact persons can be downloaded at any time and simultaneously obtained through the destination address, so if the user needs to obtain the contact way of the friend from the data to carry out the services of communication, sending short messages, multimedia messages, Email and the like with the friend, the user only needs to directly click the related contact way and initiate the service, and therefore the steps of user operation can be reduced and the time of the user can be saved.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.
Claims (10)
1. A method for obtaining a plurality of instant messages, the method comprising:
the mobile terminal sends a request for acquiring information of a plurality of contact persons to the instant messaging server;
the instant communication server acquires the public attribute field of the required contact according to the request, organizes the public attribute field into a data packet and sends the destination address of the data packet to the short message gateway;
and the short message gateway sends the received destination address to the mobile terminal through PUSH (PUSH) information.
2. The method of claim 1, wherein the request to obtain the plurality of contact information includes a user identification of a user sending the request.
3. The method of claim 2, wherein after the instant messaging server receives the request for obtaining the plurality of contact information, the method further comprises: and the instant communication server determines the validity of the request according to the user identification in the request, and searches the information of the contact person required by the user according to the user identification when the request is valid.
4. The method of claim 2, wherein before the instant messaging server sends the destination address of the data packet to the short message gateway, the method further comprises: the instant communication server judges whether the user sending the request is the designated user according to the user identification, if the user is the designated user, the instant communication server sends the destination address of the data packet to the short message gateway; otherwise, the instant communication server does not send any information to the short message gateway.
5. The method according to any of claims 1 to 4, wherein after the destination address is sent to the mobile terminal via a PUSH message, the method further comprises: and the user downloads and checks the required contact information at any time according to the destination address in the message.
6. A system for obtaining a plurality of instant messages, the system comprising: the system comprises a mobile terminal, an instant messaging server and a short message gateway; wherein,
the mobile terminal is used for sending a request for acquiring information of a plurality of contact persons to the instant messaging server;
the instant communication server is used for acquiring the public attribute field of the required contact according to the request, organizing the public attribute field into a data packet and sending the destination address of the data packet to the short message gateway;
and the short message gateway is used for sending the received destination address to the mobile terminal through the PUSH information.
7. The system of claim 6, wherein the request to obtain the plurality of contact information includes a user identification of a user sending the request.
8. The system of claim 7, wherein the instant messaging server comprises: a storage unit and a processing unit; wherein,
the storage unit is used for storing the information of all the contacts of the user who sends the request, and comprises the following steps: contact lists and profile information; wherein the profile information includes a public attribute field;
and the processing unit is used for acquiring the public attribute field of the contact required by the user from the storage unit according to the user identification in the request, organizing the public attribute field into a data packet, and sending the destination address of the data packet to the short message gateway.
9. The system according to claim 8, wherein the processing unit is further configured to determine validity of the request according to a user identifier in the request, and when the request is valid, find information of a contact needed by the user in the storage unit according to the user identifier.
10. The system of claim 8, wherein the processing unit is further configured to determine whether the user sending the request is a designated user according to the user identifier, and if the user is the designated user, send the destination address of the data packet to the short message gateway; otherwise, no information is sent to the short message gateway.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010200739.9A CN101860821B (en) | 2010-06-11 | 2010-06-11 | Method and system for acquiring instant messages |
PCT/CN2010/077825 WO2011153772A1 (en) | 2010-06-11 | 2010-10-18 | Method and system for obtaining multiple instant information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010200739.9A CN101860821B (en) | 2010-06-11 | 2010-06-11 | Method and system for acquiring instant messages |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101860821A CN101860821A (en) | 2010-10-13 |
CN101860821B true CN101860821B (en) | 2014-07-16 |
Family
ID=42946413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010200739.9A Active CN101860821B (en) | 2010-06-11 | 2010-06-11 | Method and system for acquiring instant messages |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101860821B (en) |
WO (1) | WO2011153772A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860821B (en) * | 2010-06-11 | 2014-07-16 | 中兴通讯股份有限公司 | Method and system for acquiring instant messages |
CN103944806A (en) * | 2014-04-24 | 2014-07-23 | 天脉聚源(北京)传媒科技有限公司 | Data transmission method and system based on Wechat platform |
CN106161195B (en) * | 2015-04-14 | 2020-06-19 | 阿里巴巴集团控股有限公司 | Information pushing and obtaining method and device, and communication method and device |
CN109526009B (en) * | 2015-06-30 | 2022-04-29 | 北京奇虎科技有限公司 | Communication method, mobile terminal and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1842003A (en) * | 2005-03-30 | 2006-10-04 | 广州市领华科技有限公司 | Method for realizing instant communication with a plurality of linkmen in single conversational window |
CN101150534B (en) * | 2006-09-20 | 2012-02-29 | 腾讯科技(深圳)有限公司 | Method for obtaining updated image resources of contacts and instant communication client |
CN101056339B (en) * | 2006-11-06 | 2011-06-08 | 华为技术有限公司 | Method, system and device for mutual conversion between the ring back tone and ringing tone |
CN101102565B (en) * | 2007-08-07 | 2010-12-08 | 宇龙计算机通信科技(深圳)有限公司 | A processing method, device and equipment of user data in communication terminal |
CN101184123B (en) * | 2007-12-21 | 2011-07-27 | 第三地带信息技术(深圳)有限公司 | Method for obtaining linkman information in address list, system and communication terminal |
CN101860821B (en) * | 2010-06-11 | 2014-07-16 | 中兴通讯股份有限公司 | Method and system for acquiring instant messages |
-
2010
- 2010-06-11 CN CN201010200739.9A patent/CN101860821B/en active Active
- 2010-10-18 WO PCT/CN2010/077825 patent/WO2011153772A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2011153772A1 (en) | 2011-12-15 |
CN101860821A (en) | 2010-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6957077B2 (en) | System and method for enabling instant messaging on a mobile device | |
CN103139048B (en) | Group's message prompt method and system | |
US7769395B2 (en) | Location-based operations and messaging | |
EP3206377B1 (en) | Synchronizing messages on connected devices | |
CN102958008B (en) | Method, system and mobile terminals for realizing instant messaging | |
KR20050016192A (en) | Methods and apparatus for alternative routing of text based messages on a wireless telephone network | |
KR20080058339A (en) | Managing anonymous communications between users based on short-range wireless connection identifiers | |
WO2008040248A1 (en) | A method and system for transmitting email and a push mail server | |
KR20060086705A (en) | Methdo having data jointly using short message service | |
KR20050090838A (en) | Mobilephone sms service system and the method | |
CN110768895A (en) | Message prompting method and device, electronic equipment and storage medium | |
EP2136512B1 (en) | A method, device and system for identifying service | |
KR100779012B1 (en) | System and method for communicating between different messengers | |
CN101860821B (en) | Method and system for acquiring instant messages | |
EP2974159B1 (en) | Method, device and system for voice communication | |
US20100184412A1 (en) | Method and system for internet communication by mobile phone | |
WO2009079887A1 (en) | A method, system and communication terminal for obtaining contact information in an address list | |
JP4889813B1 (en) | Data brokerage system | |
US20120178428A1 (en) | Method, device and system for identifying a service | |
KR20090100131A (en) | Apparatus and method for location information service of terminal in broadband wireless communication system | |
US9065934B2 (en) | System, an apparatus, a client device and a method for providing pricing information | |
CN114710757B (en) | Information processing method, network side equipment and terminal | |
KR100646377B1 (en) | System and Method for Denying SPAM-Call from Phone | |
US8285784B2 (en) | Service creation via presence messaging | |
JP3761515B2 (en) | Instant messaging communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |