CN100473011C - Information providing method and system - Google Patents

Information providing method and system Download PDF

Info

Publication number
CN100473011C
CN100473011C CNB200510103322XA CN200510103322A CN100473011C CN 100473011 C CN100473011 C CN 100473011C CN B200510103322X A CNB200510103322X A CN B200510103322XA CN 200510103322 A CN200510103322 A CN 200510103322A CN 100473011 C CN100473011 C CN 100473011C
Authority
CN
China
Prior art keywords
information
local client
client
storage server
local
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
Application number
CNB200510103322XA
Other languages
Chinese (zh)
Other versions
CN1933409A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB200510103322XA priority Critical patent/CN100473011C/en
Publication of CN1933409A publication Critical patent/CN1933409A/en
Application granted granted Critical
Publication of CN100473011C publication Critical patent/CN100473011C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for providing data information includes obtaining data information of different areas and setting up corresponding relation of data information at each area to data information of local area, obtaining current attribution areas of local client end and remote client end and providing a corresponding data information of current attribution areas at local client end and remote client end to local client end. The system used to realizing said method is also disclosed.

Description

A kind of information provides method and system
Technical field
The present invention relates to instant messaging, the information that relates in particular in a kind of instant messaging provides method and system.
Background technology
Along with developing rapidly of the computer technology and the network communications technology, various types of instant communication softwares have obtained using widely.At present a lot of instant communication softwares all have the function of the current position of display client, and for example, Tencent QQ software can provide online client current position information in the Affiliates List.
Figure 1 shows that the flow chart of prior art display client positional information in instant messaging, main implementation procedure is as follows:
The IP address information that step S1, local client instant communication message or the logon information by remote client end obtains remote client end;
Step S2, local client compare the IP address information and the tabulation of local stored IP address of remote client end, can know the area at the current place of remote client end;
Wherein local stored IP address tabulation is obtained when loading instant communication software for local client, and its form is as shown in the table:
The IP address Affiliated area
IP1 The Shenzhen City, Guangdong Province
IP2 Beijing
IP3 Shanghai City
... ...
IPn New York
Step S3, show the area at the current place of remote client end in this locality.
The instant communication software of prior art can only provide the area at the current place of remote client end for local client, can't be provided as the information that local client provides self and the current location of remote client end, as Weather information, news information etc.
Summary of the invention
The technical problem to be solved in the present invention is to propose a kind of information method and system is provided, and makes local client can obtain the information of self and the current location of remote client end.
A kind of information provides method, is applied in the instantaneous communication system that comprises local client and at least one remote client end; Comprise step:
A, obtain the information of different regions, and the corresponding relation between the information of each area and this area is set; The current home zone of B, local client and remote client end, according to the current home zone of described local client and remote client end, for local client provides local client and pairing information of the current home zone of remote client end and the individual character information corresponding with the identification information of described local client.
Described information is stored in the information storage server.
Described step B specifically comprises the IP address that step: B1, local client obtain remote client end according to the on-line message or the instant communication message of remote client end, and send information to the information storage server and obtain request, carry the IP address of local user and remote client end in the request; B2, information storage server draw local client and the current affiliated area of remote client end according to described IP address, obtain the information of this area's correspondence, with local client and remote client end current under the information of area and this area and the individual character information corresponding with the identification information of described local client send to local client and show.
Described local client together sends to the information storage server with the identification information of self and the IP address of self and remote client end.
Also comprise the step that is provided with the corresponding individual character information of client identification information before the described step B1; Described step B2 comprises that specifically the information storage server obtains corresponding individual character information according to the identification information of local client, and sends it to the step that local client shows.
Described information storage server regularly obtains, or obtains the information of different regions and dissimilar individual character informations when receiving trigger request, upgrades the content of information and client individual character information with this.
Described information storage server regularly obtains, or obtains the information of different regions when receiving trigger request, upgrades the content of information with this.
Comprise Weather information in the described information.
Also comprise news information and travel information in the described information.
A kind of information provides system, comprises local client and at least one remote client end; Also comprise: information provides server, is used to provide information; The information storage server, provide server to be connected respectively with local client, remote client end and information, be used to obtain and store the information that information provides server to provide, and corresponding relation between each area and the information of this area is set, according to the current home zone of local client and remote client end, for local client provides himself and the information of remote client end and the individual character information corresponding with the identification information of local client.
Described system further comprises: the request processing server, be connected between client and the information storage server, be used to receive the information that local client sends and obtain request, this request is transmitted to the information storage server, and receive the information that the information storage server returns, it is transmitted to local client.
Described information obtains the IP address that carries local client and remote client end in the request.
Described information obtains the identification information that further carries local client in the request.
Described information storage server regularly obtains, or is receiving the information information that obtains information when the trigger request of server is provided.
Beneficial effect of the present invention is as follows:
The present invention is provided with the corresponding relation between each area and the information of this area in the information storage server, the information storage server is when receiving that information that local client sends obtains request, can be according to the current home zone of local client and remote client end, for local client provides local client and the pairing information of the current home zone of remote client end, thereby make local client can learn immediately self and remote client end current under the information in area, improved user's experience.
Description of drawings
Fig. 1 is the flow chart of prior art display client positional information in instant messaging;
Fig. 2 provides the structural representation of system for information of the present invention;
Fig. 3 is the flow chart that the invention provides regional information;
Fig. 4 provides the flow chart of regional information and individual character information simultaneously for the present invention.
Embodiment
Information of the present invention provides the defective of method and system at prior art, proposition makes local client can obtain the processing mode of the information of self and the current location of remote client end, below in conjunction with each accompanying drawing main realization principle of the present invention and embodiment thereof is explained in detail.
Figure 2 shows that information of the present invention provides the structural representation of system, as seen from the figure, system of the present invention comprises that mainly client, request processing server, information storage server and information provide server, wherein:
Client, comprise a local client and at least one remote client end, local client and remote client end can communicate, local client be used for according to remote client end send on-line message or the instant communication message IP address that obtains remote client end, and to asking processing server transmission information to obtain request, must carry the IP address of local client and remote client end in this request, subscribed at local client under the situation of individual character information, the identification information that also needs to carry local client in this request is (as the QQ number, phone number etc.).
The request processing server, be connected respectively with remote client end with local client, be used to receive the information that local client sends and obtain request, and this request is transmitted to the information storage server, and receive the information that the information storage server returns, it is transmitted to local client;
The information storage server, provide server to be connected respectively with request processing server and information, be used to obtain and store the information that information provides server to provide, and the information of himself and remote client end is provided for local client according to the IP address of the local user's that sends of request processing server identification information and local user and remote client end;
Information provides server, be used to the information storage server that dissimilar informations is provided, as Weather information, news information, travel information etc., since dissimilar information provide server different, so the present invention needs at least one information that server is provided.
The information that provides for local client can be the information in local client and the current affiliated area of remote client end in the present invention, also can for local client and remote client end current under the information in area and the combination of the individual character information that local client is subscribed to, illustrated respectively below.
Figure 3 shows that the flow chart that regional information is provided, its main implementation procedure is as follows:
Step S10, local client are by the on-line message of remote client end or the IP address that obtains remote client end to the instant communication message that local client sends.
Step S11, local client send information to the request processing server and obtain request, carry the IP address of local client and remote client end in this request.
Step S12, request processing server are transmitted to the information storage server with it after receiving that the information of local client transmission obtains request.
Step S13, the information storage server IP address in the information acquisition request that obtains information, obtain the current home zone of local client and remote client end according to the corresponding relation that is stored in IP address in the information storage server and affiliated area, the corresponding relation in IP address and affiliated area is as shown in the table:
The IP address Affiliated area
IP1 The Shenzhen City, Guangdong Province
IP2 Beijing
IP3 Shanghai City
... ...
IPn New York
Can obtain local client and the pairing information of the current home zone of remote client end according to being stored in the area in the information storage server and the corresponding relation of regional information, corresponding relation regional and regional information is as shown in the table:
The area Weather News Other information
Beijing Fine, 5 grades of temperature: 27-34 of wind-force ℃ The Olympic Games The Great Wall tourism ...
Province Shenzhen, Guangzhou ... ... ...
Shanghai City ... ... ...
... ... ... ...
New York ... ... ...
Wherein regional information provides for information provides server, the information storage server should be regularly or is provided server requests up-to-date information to information when receiving that information provides the trigger request of server, and the information of storage is upgraded.Because the corresponding different information of dissimilar informations provides server, so when adopting timing to upgrade the mode of information, the time that the information storage server should provide server to make an appointment and regularly upgrade with different informations; When adopting triggering mode to carry out the renewal of information, information provides server promptly to send trigger request to the information storage server after upgrading information.
Step S14, information storage server send to the request processing server with the area of the IP address correspondence of local client and remote client end and the information of this area's correspondence, by the request processing server it are transmitted to local client.
Step S15, show under local client and remote client end are with it at local client regional, and the corresponding relation of the information of this area.
Figure 4 shows that the flow chart that regional information and individual character information are provided simultaneously, its main implementation procedure is as follows:
Step S20, local client are by the on-line message of remote client end or the IP address that obtains remote client end to the instant communication message that local client sends.
Step S21, local client send information to the request processing server and obtain request, carry the identification information of local client and the IP address of local client and remote client end in this request.
Step S22, request processing server are transmitted to the information storage server with it after receiving that the information of local client transmission obtains request.
Step S23, information storage server the obtain information identification information of the local client in the information acquisition request and the IP address of local client and remote client end;
Obtain the current home zone of local client and remote client end according to the corresponding relation that is stored in IP address in the information storage server and affiliated area, obtain local client and the pairing information of the current home zone of remote client end according to being stored in the area in the information storage server and the corresponding relation of regional information, wherein the corresponding relation in IP address and affiliated area and area are identical with the set-up mode among the above-mentioned steps S13 with the set-up mode of the corresponding relation of regional information, no longer repetition.
Obtain the individual character information of its subscription according to the identification information of local client, be that the QQ number is that example explanation is stored in the corresponding relation between the individual character information of client identification information in the information storage server and its subscription with client identification information below, corresponding relation is as shown in the table:
Client identification information (QQ number) Care information 1 ... Care information n
103994 Amusement ... Physical culture
15177527 Tourism Enterprise
.... ... ... ...
525000025 ... ... ...
The individual character information provides server to provide by information equally, the information storage server should be regularly or is provided server requests up-to-date information to information when receiving that information provides the trigger request of server, and the information of storage is upgraded.
Step S24, information storage server send to the request processing server with the area of the IP address correspondence of individual character information, local client and the remote client end of local client subscription and the information of this area's correspondence, by the request processing server it are transmitted to local client.
Step S25, show the individual character information that local client is subscribed at local client, local client and remote client end with its under regional, and the corresponding relation of the information of this area.
Information storage server among the present invention can be used as content providers and provides information to third-party server (as web server etc.).
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (14)

1, a kind of information provides method, is applied in the instantaneous communication system that comprises local client and at least one remote client end; It is characterized in that, comprise step:
A, obtain the information of different regions, and the corresponding relation between the information of each area and this area is set;
B, obtain the current home zone of local client and remote client end, according to the current home zone of described local client and remote client end, for local client provides local client and pairing information of the current home zone of remote client end and the individual character information corresponding with the identification information of described local client.
2, information according to claim 1 provides method, it is characterized in that, described information is stored in the information storage server.
3, information according to claim 2 provides method, it is characterized in that, described step B specifically comprises step:
The IP address that B1, local client obtain remote client end according to the on-line message or the instant communication message of remote client end, and send information to the information storage server and obtain request, carry the IP address of local user and remote client end in the request;
B2, information storage server draw local client and the current affiliated area of remote client end according to described IP address, obtain the information of this area's correspondence, with local client and remote client end current under the information of area and this area and the individual character information corresponding with the identification information of described local client send to local client and show.
4, information according to claim 3 provides method, it is characterized in that, described local client together sends to the information storage server with the identification information of self and the IP address of self and remote client end.
5, information according to claim 4 provides method, it is characterized in that, also comprises the step that is provided with the corresponding individual character information of client identification information before the described step B1;
Described step B2 comprises that specifically the information storage server obtains corresponding individual character information according to the identification information of local client, and sends it to the step that local client shows.
6, information according to claim 5 provides method, it is characterized in that, described information storage server regularly obtains, or when receiving trigger request, obtain the information of different regions and dissimilar individual character informations, upgrade the content of information and client individual character information with this.
7, information according to claim 2 provides method, it is characterized in that, described information storage server regularly obtains, or obtains the information of different regions when receiving trigger request, upgrades the content of information with this.
8, information according to claim 1 provides method, it is characterized in that, comprises Weather information in the described information.
9, information according to claim 8 provides method, it is characterized in that, also comprises news information and travel information in the described information.
10, a kind of information provides system, comprises local client and at least one remote client end; It is characterized in that, also comprise:
Information provides server, is used to provide information;
The information storage server, provide server to be connected respectively with local client, remote client end and information, be used to obtain and store the information that information provides server to provide, and corresponding relation between each area and the information of this area is set, according to the current home zone of local client and remote client end, for local client provides himself and the information of remote client end and the individual character information corresponding with the identification information of described local client.
11, information according to claim 10 provides system, it is characterized in that, described system further comprises:
The request processing server, be connected between client and the information storage server, be used to receive the information that local client sends and obtain request, this request is transmitted to the information storage server, and receive the information that the information storage server returns, it is transmitted to local client.
12, information according to claim 11 provides system, it is characterized in that, described information obtains the IP address that carries local client and remote client end in the request.
13, information according to claim 12 provides system, it is characterized in that, described information obtains the identification information that further carries local client in the request.
14, information according to claim 10 provides system, it is characterized in that, described information storage server regularly obtains, or is receiving the information information that obtains information when the trigger request of server is provided.
CNB200510103322XA 2005-09-16 2005-09-16 Information providing method and system Active CN100473011C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200510103322XA CN100473011C (en) 2005-09-16 2005-09-16 Information providing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200510103322XA CN100473011C (en) 2005-09-16 2005-09-16 Information providing method and system

Publications (2)

Publication Number Publication Date
CN1933409A CN1933409A (en) 2007-03-21
CN100473011C true CN100473011C (en) 2009-03-25

Family

ID=37879044

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200510103322XA Active CN100473011C (en) 2005-09-16 2005-09-16 Information providing method and system

Country Status (1)

Country Link
CN (1) CN100473011C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378044A (en) * 2010-08-20 2012-03-14 康佳集团股份有限公司 Network television-based instant message pushing method and server
CN103078943A (en) * 2013-01-05 2013-05-01 北京小米科技有限责任公司 Method, device, system, terminal and server for information sharing
CN104168123A (en) * 2014-07-26 2014-11-26 珠海市君天电子科技有限公司 Data push method, data server, client and data push system

Also Published As

Publication number Publication date
CN1933409A (en) 2007-03-21

Similar Documents

Publication Publication Date Title
CN100438433C (en) Method for synchronizing status information of IMPS client
CN103069755B (en) Use the method and system that the instant message of multiple client instance transmits
CN101426017B (en) Address book processing method and system
CN102388632B (en) Application message method for pushing, system and network element
US7693999B2 (en) System and method for session reestablishment between client terminal and server
CN101483672B (en) Processing method, system, gateway server and mobile terminal for service information access
JP2000270007A (en) Network system, network server, and terminal device
US20140082363A1 (en) Automatic user authentication and identification for mobile instant messaging application
CN106101982B (en) A kind of application program method for down loading and system
JP2003331045A (en) Portal site server system, portal site method and portal site program
CN100490410C (en) System for noticing information in instant communication groupings and implementing method thereof
CA2719426C (en) Automatic user authentication and identification for mobile instant messaging application
US20070201378A1 (en) Method, mobile terminal, system and computer program product for real time content attributing
CN103167031A (en) Communication between Web applications
EP2178252A1 (en) Method for sharing community network service information
CN103905574A (en) DNS service access method and DNS data synchronization method and device
CN101132519A (en) Interactive processing system and method for mobile terminal television business
CN103067249A (en) Contact display method, instant messaging software client side and client server
CN103618967A (en) Method and device for interaction of mobile terminal and television end
CN109040017B (en) Intelligent customer service system based on MQTT and HTTP and implementation method
CN100473011C (en) Information providing method and system
CN102185701A (en) Method and system for realizing group information interaction
CN103095748A (en) Method, server and system capable of sending updated microblog information of friend
CN103546426A (en) Information sharing method and management server
WO2008087474A2 (en) Profile broadcast apparatus and methods

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