CN101136867A - Method and device for transmitting prompt message to client terminal of chat room - Google Patents

Method and device for transmitting prompt message to client terminal of chat room Download PDF

Info

Publication number
CN101136867A
CN101136867A CNA2006101119920A CN200610111992A CN101136867A CN 101136867 A CN101136867 A CN 101136867A CN A2006101119920 A CNA2006101119920 A CN A2006101119920A CN 200610111992 A CN200610111992 A CN 200610111992A CN 101136867 A CN101136867 A CN 101136867A
Authority
CN
China
Prior art keywords
information
client
chat room
chat
domain information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2006101119920A
Other languages
Chinese (zh)
Other versions
CN100588184C (en
Inventor
张必锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tencent Computer Systems 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 CN200610111992A priority Critical patent/CN100588184C/en
Publication of CN101136867A publication Critical patent/CN101136867A/en
Application granted granted Critical
Publication of CN100588184C publication Critical patent/CN100588184C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The method includes steps: obtaining IP address of client end, which logs in server of chat room; based on IP address of the client end to determine information of corresponding domain; sending prompting message associated to information of the domain to the client end. The invention also discloses device for sending prompting message to corresponding client end in chat room. The invention increases intimacy and sense of belonging for users in chat room, raise and perfects functions of chat room services.

Description

A kind of method and apparatus that sends information to chatting room client terminal
Technical field
The present invention relates to the Internet chat chamber service, relate in particular to a kind of method and apparatus that sends information to chatting room client terminal.
Background technology
The chatroom business is the Network that a kind of user is familiar with.The user uses local client to start chat software, and inputing user name and password can the logging in chat room server.After the user logins success, can use various that chat room server provides at line service.
In the prior art, behind user's logging in chat room, server side generally returns simple changeless greeting to client, can not login region and the current online state of affairs of server side according to client and send relevant information to client intelligently flexibly.As: can not return corresponding dialect greeting etc. according to client login ground domain information, the user lacks cordial feeling and sense of ownership after entering the chatroom, influences user's business impression.
Summary of the invention
The invention provides a kind of method and apparatus, in order to solve the problem that in chat service, can not send information flexibly intelligently that exists in the prior art according to the login region of subscription client to chatting room client terminal transmission information.
The inventive method comprises:
A, the IP address that obtains the logging in chat room server client;
B, determine domain information accordingly according to the IP address of described client;
C, send the information that is associated with described ground domain information to described client.
According to said method of the present invention, described step C comprises:
The ground domain information of base area domain information inquiry storage and the corresponding relation of information match corresponding prompt message, and the described information that matches is sent to corresponding client.
According to said method of the present invention, described step C comprises:
According to described region information inquiry dialect information bank, obtain the dialect greeting of corresponding region and send to described client;
Described client demonstrates described dialect greeting on local chat window interface.
According to said method of the present invention, described step C comprises:
According to the current online state of affairs of client in the chat room server, dynamically generate the information that is associated with described ground domain information, the described information that dynamically generates is sent to corresponding client.
According to said method of the present invention, described step C comprises:
According to the chat theme that the user selects, from corresponding chatroom, select and have a maximum chatroom of the online number in identical region and send to described client;
Described client demonstrates described chatroom title and selects to enter this chatroom for the user on local chat window interface.
According to said method of the present invention, in described information, hyperlink is set; When the user clicks hyperlink in the described information be presented at local chat window interface, can be linked to corresponding website or Web webpage.
The present invention also provides a kind of information dispensing device, comprising:
The IP address acquisition module, the IP address that is used to obtain the logging in chat room server client;
Ground domain information determination module is used for determining domain information accordingly according to the IP address of the described client of obtaining;
The information sending module is used for sending the information that is associated with described ground domain information to described client.
Also comprise:
Memory module, the corresponding relation of storage ground domain information and information;
Described information sending module comprises:
Obtain submodule, the base area domain information is inquired about described memory module, matches corresponding prompt message;
First sends submodule, and the described information that matches is sent to corresponding client.
Described information sending module also comprises:
Generate submodule,, dynamically generate the information that is associated with described ground domain information according to the current online state of affairs of client in the chat room server;
Second sends submodule, and the described information that dynamically generates is sent to corresponding client.
Information dispensing device provided by the invention is a logical functional entity, is arranged in the described chat room server; Perhaps
Be an independently physical entity, be connected by external interface with described chat room server.
Beneficial effect of the present invention is as follows:
(1) in the methods of the invention by obtaining the IP address of logging in chat room server client, send the information that is associated with its login region to described client after determining domain information accordingly according to the IP address of client, thereby make behind user's logging in chat room, can obtain and the dialect greeting of its login region or the relevent information information of this region cordial feeling and sense of ownership when the lifting user uses chat service.
(2) the present invention can store the corresponding relation of ground domain information and information in advance, behind client logging in chat room server, matches corresponding prompt message according to its login region and sends to client; Realize simple and convenient.And can upgrade (as the up-to-date important news of locality, local up-to-date movie and video programs ranking list etc.) at any time with ground domain information corresponding prompt message, after the user obtains those informations, can conveniently find more chat topic.
(3) the present invention can dynamically generate the information that is associated with the ground domain information according to the current online state of affairs of chat room server, sends to client.For example: according to the chat theme that the user selects, select from corresponding chatroom and have a maximum chatroom of the online number in identical region and send to client, the guiding user selects to enter this chatroom.Because the user of same region, easier have identical hobby, or the easier chat content of all being familiar with each other that finds, those users are directed to the chat of same chatroom, can enliven chatroom atmosphere, improve professional attraction, promote quality of service the user.
Description of drawings
Fig. 1 is the inventive method embodiment one flow chart;
Fig. 2 is the inventive method embodiment two flow charts;
Fig. 3 is apparatus of the present invention structural representation.
Embodiment
The invention provides a kind of method, comprising to chatting room client terminal transmission information:
Obtain the IP address of logging in chat room server client;
Domain information is accordingly determined in IP address according to client;
Send the information that is associated with its login region to client.
The inventive method is described in detail with specific embodiment below in conjunction with accompanying drawing.
Embodiment one: store the corresponding relation of ground domain information and information in advance, behind client logging in chat room server, match corresponding prompt message according to its login region and send to client.
Referring to Fig. 1, comprise following concrete steps:
Step S101, client logging in chat room server.
Step S102, the login IP address that obtains client.
Step S103, inquiry IP address and ground domain information correspondence table obtain client login ground domain information.
Above-mentioned steps S101, S102, S103 are prior art, do not describe in detail.
The ground domain information that step S104, inquiry are stored in advance and the corresponding relation of information match corresponding prompt message.
In this step S104, the ground domain information can be provided with flexibly with the corresponding information that is associated, and the present invention does not limit this, for example:
A, each corresponding relation that writes down in ground domain information and the dialect information bank is set; The base area domain information matches the corresponding record in the dialect information bank, obtains the dialect greeting of corresponding region;
B, the corresponding relation (as the up-to-date movie and video programs ranking list in locality etc.) of ground domain information and local various amusement ranking lists is set, the base area domain information matches the ranking list information of correspondence;
In a word, the ground domain information can be the relation of " one to one " with the information that is associated, and also can be the relation of " one-to-many "; Local domain information and the information that is associated can be chosen an information arbitrarily during for the concerning of " one-to-many ", perhaps in conjunction with the hobby of this login user of network side storing, and selection user's interest information.
Step S105, send the information obtain to client.
Step S106, client demonstrate the information that network side sends on local chat window interface, as the dialect greeting, or information such as top song.
Embodiment two: according to the current online state of affairs of client in the chat room server, dynamically generate the information that is associated with described ground domain information, send to corresponding client.
Referring to Fig. 2, comprise following concrete steps:
Step S201, client logging in chat room server.
Step S202, the login IP address that obtains client.
Step S203, inquiry IP address and ground domain information correspondence table obtain client login ground domain information.
Step S204, according to the current online state of affairs of client in the chat room server, dynamically generate the information that is associated with described ground domain information.
In this step S204, the current online state of affairs of client can be provided with flexibly in the chat room server, and the present invention does not limit this, for example:
Can be according to the chat theme of user's selection, in a plurality of chatrooms of more corresponding theme from the online number quantity of identical region, select and have a maximum chatroom of the online number in identical region, generate corresponding prompt message according to this chatroom title, as the information content be: " recommend you to enter the 4th chatroom, there are your a lot of fellow-villagers the there! ".
Step S205, send the information that dynamically generates to client.
Step S206, client demonstrate the corresponding information that network side sends on local chat window interface.
In the foregoing description one and embodiment two, in information, can comprise hyperlink; When the user clicks hyperlink in the information, can be linked to corresponding website or Web webpage.For example, among the embodiment two, the information that sends to client " can be recommended you to enter the 4th chatroom, your a lot of fellow-villagers is arranged there! " " the 4th chatroom " in the words be as hyperlink, directly enters this chatroom after the user clicks.
According to said method provided by the invention, the invention provides a kind of information dispensing device 10 to chatting room client terminal transmission information, its structural representation comprises as shown in Figure 3:
IP address acquisition module 101, the IP address that is used to obtain the logging in chat room server client;
Ground domain information determination module 102 is used for determining domain information accordingly according to the IP address of the client of obtaining;
Information sending module 103 is used for sending the information that is associated with its login ground domain information to client.
Information dispensing device 10 provided by the invention can also comprise:
Memory module 104, the corresponding relation of storage ground domain information and information;
Wherein the information sending module comprises:
Obtain submodule 1031, the base area domain information is inquired about described memory module 104, matches corresponding prompt message;
First sends submodule 1032, and the information that matches is sent to corresponding client.
Described information sending module can also comprise:
Generate submodule 1033, according to the dynamic information that is associated with the ground domain information that generates of the current online state of affairs of client in the chat room server;
Second sends submodule 1034, and the information that dynamically generates is sent to corresponding client.
Information dispensing device 10 provided by the invention can be a logical functional entity, is arranged in the existing chat room server; Perhaps this information dispensing device 10 is an independently physical entity, is connected by external interface with existing chat room server.
In sum, the present invention is by obtaining the IP address of logging in chat room server client, send the information that is associated with its login region to described client after determining domain information accordingly according to the IP address of client, thereby make behind user's logging in chat room, can obtain the dialect greeting that is associated with its login region or the relevent information information of this region, cordial feeling and sense of ownership when promoting the user and using chat service.
In a kind of embodiment of the present invention, can store the corresponding relation of ground domain information and information in advance, behind client logging in chat room server, match corresponding prompt message according to its login region and send to client; Realize simple and convenient.And can upgrade (as the up-to-date important news of locality, local up-to-date movie and video programs ranking list etc.) at any time with ground domain information corresponding prompt message, after the user obtains those informations, can conveniently find more chat topic.
In another kind of embodiment of the present invention, can dynamically generate the information that is associated with its login ground domain information according to the current online state of affairs of client in the chat room server, send to client.For example: according to the chat theme that the user selects, select from corresponding chatroom and have a maximum chatroom of the online number in identical region and send to client, the guiding user selects to enter this chatroom.Because the user of same region, easier have identical hobby, or the easier chat content of all being familiar with each other that finds, those users are directed to the chat of same chatroom, can enliven chatroom atmosphere, improve professional attraction, promote quality of service the user.
Obviously, those skilled in the art can carry out various changes and distortion to the present invention and not break away from the spirit and scope of the present invention.Like this, if these modifications of the present invention and distortion belong 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 is out of shape interior.

Claims (10)

1. the method to chatting room client terminal transmission information is characterized in that, comprising:
A, the IP address that obtains the logging in chat room server client;
B, determine domain information accordingly according to the IP address of described client;
C, send the information that is associated with described ground domain information to described client.
2. the method to chatting room client terminal transmission information as claimed in claim 1 is characterized in that described step C comprises:
The ground domain information of base area domain information inquiry storage and the corresponding relation of information match corresponding prompt message, and the described information that matches is sent to corresponding client.
3. the method to chatting room client terminal transmission information as claimed in claim 2 is characterized in that described step C comprises:
According to described region information inquiry dialect information bank, obtain the dialect greeting of corresponding region and send to described client;
Described client demonstrates described dialect greeting on local chat window interface.
4. the method to chatting room client terminal transmission information as claimed in claim 1 is characterized in that described step C comprises:
According to the current online state of affairs of client in the chat room server, dynamically generate the information that is associated with described ground domain information, the described information that dynamically generates is sent to corresponding client.
5. the method to chatting room client terminal transmission information as claimed in claim 4 is characterized in that described step C comprises:
According to the chat theme that the user selects, from corresponding chatroom, select and have a maximum chatroom of the online number in identical region and send to described client;
Described client demonstrates described chatroom title and selects to enter this chatroom for the user on local chat window interface.
6. as the described method of any claim of claim 1-5, it is characterized in that, in described information, hyperlink is set to chatting room client terminal transmission information; When the user clicks hyperlink in the described information be presented at local chat window interface, can be linked to corresponding website or Web webpage.
7. an information dispensing device is characterized in that, comprising:
The IP address acquisition module, the IP address that is used to obtain the logging in chat room server client;
Ground domain information determination module is used for determining domain information accordingly according to the IP address of the described client of obtaining;
The information sending module is used for sending the information that is associated with described ground domain information to described client.
8. information dispensing device as claimed in claim 7 is characterized in that, also comprises:
Memory module, the corresponding relation of storage ground domain information and information;
Described information sending module comprises:
Obtain submodule, the base area domain information is inquired about described memory module, matches corresponding prompt message;
First sends submodule, and the described information that matches is sent to corresponding client.
9. as claim 7 or 8 described information dispensing devices, it is characterized in that described information sending module comprises:
Generate submodule,, dynamically generate the information that is associated with described ground domain information according to the current online state of affairs of client in the chat room server;
Second sends submodule, and the described information that dynamically generates is sent to corresponding client.
10. information dispensing device as claimed in claim 7 is characterized in that, this device is a logical functional entity, is arranged in the described chat room server; Perhaps
This device is an independently physical entity, is connected by external interface with described chat room server.
CN200610111992A 2006-08-30 2006-08-30 Method and device for transmitting prompt message to client terminal of chat room Active CN100588184C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610111992A CN100588184C (en) 2006-08-30 2006-08-30 Method and device for transmitting prompt message to client terminal of chat room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610111992A CN100588184C (en) 2006-08-30 2006-08-30 Method and device for transmitting prompt message to client terminal of chat room

Publications (2)

Publication Number Publication Date
CN101136867A true CN101136867A (en) 2008-03-05
CN100588184C CN100588184C (en) 2010-02-03

Family

ID=39160705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610111992A Active CN100588184C (en) 2006-08-30 2006-08-30 Method and device for transmitting prompt message to client terminal of chat room

Country Status (1)

Country Link
CN (1) CN100588184C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150172A (en) * 2013-04-02 2013-06-12 网易(杭州)网络有限公司 Method and equipment for realizing individual scene
CN105183761A (en) * 2015-07-27 2015-12-23 网易传媒科技(北京)有限公司 Sensitive word replacement method and apparatus
CN114401413A (en) * 2021-12-10 2022-04-26 北京达佳互联信息技术有限公司 Interactive prompting method and device for virtual space, electronic equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150172A (en) * 2013-04-02 2013-06-12 网易(杭州)网络有限公司 Method and equipment for realizing individual scene
CN103150172B (en) * 2013-04-02 2016-11-16 网易(杭州)网络有限公司 A kind of method and apparatus realizing individual scene
CN105183761A (en) * 2015-07-27 2015-12-23 网易传媒科技(北京)有限公司 Sensitive word replacement method and apparatus
CN105183761B (en) * 2015-07-27 2020-04-07 网易传媒科技(北京)有限公司 Sensitive word replacing method and device
CN114401413A (en) * 2021-12-10 2022-04-26 北京达佳互联信息技术有限公司 Interactive prompting method and device for virtual space, electronic equipment and storage medium
CN114401413B (en) * 2021-12-10 2023-09-05 北京达佳互联信息技术有限公司 Interactive prompt method and device for virtual space, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN100588184C (en) 2010-02-03

Similar Documents

Publication Publication Date Title
US10425379B2 (en) Establishing unique sessions for DNS subscribers
CN100556007C (en) A kind of method and system of integrating the E-mail address that a plurality of service providers provide
RU2589327C2 (en) Method and device for sending message to user or users of group through microblog
CN104980289B (en) Information push method, device and system
CN100583839C (en) Method and system for implementing multi-identity immediate message communication and present service of single account number
CN102710798B (en) Browser expansion service based on real-time Communication for Power provides system and method
US20190394632A1 (en) Method and system for storing contact information in a network contact database
US20020083119A1 (en) Communication intermediating method, intermediating device, and communication device
CN105611422B (en) Online live broadcasting method and device based on multimedia list
CN101083633A (en) Information searching system and searching method
CN103167014A (en) Method and device of sharing resources with browsers
CN101141717A (en) File download method between multiple handhold equipments based on wireless communication
CN100588184C (en) Method and device for transmitting prompt message to client terminal of chat room
CN106161186B (en) Instant communication method and device
CN105408887A (en) Reverse number look up
CN101360274A (en) Method, terminal, server and system thereof for sharing RSS
KR100765362B1 (en) Location-based Internet advertising service system and method thereof
CN104392366A (en) Data comparison information acquisition method, device and system
EP1830538B1 (en) A method for dynamic content delivery and a dynamic content transmission server
CN103312592B (en) A kind of method that batch sends information to instant communication client on webpage
CN106612311A (en) Data push method and device
CN101350835B (en) Method and device for selecting user
US10069922B2 (en) Method for preventing verification flaw by controlling session time and session data traffic
CN102118390B (en) Method for linkage of application systems of multi-network card equipment and equipment thereof
KR20100072646A (en) Ip based integrated communication service system and ip based integrated communication service method

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20151217

Address after: The South Road in Guangdong province Shenzhen city Fiyta building 518057 floor 5-10 Nanshan District high tech Zone

Patentee after: Shenzhen Tencent Computer System Co., Ltd.

Address before: 2, 518044, East 410 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.