Summary of the invention
The object of this invention is to provide a kind of method based on mobile terminal login public chat group, system and server, its most interested public chat group can be entered fast and accurately to make mobile phone users.
For solving the problem, the invention provides a kind of method logging in public chat group based on mobile terminal, comprising:
Server obtains the user profile of login user, and obtains the group information of each public chat group; Described user profile comprises: one or more in age information, gender information, occupational information and preference information; Described group of information at least comprises: chat group label;
Server carries out the process of choosing group, obtains the interim assignment information corresponding with described user; The process of described choosing group comprises: retrieve described chat group label; The public chat group corresponding with the part or all of user profile of described user is set to the interim chat group of described user; Using described interim chat group as the interim assignment information of described user.
Alternatively, described server carries out the process of choosing group is that the service request sent by the user of logon server triggers.
Alternatively, described server carries out the process of choosing group is triggered by the event of described user login services device.
Alternatively, described user profile also comprises: current location information.
Alternatively, described interim chat group comprises multiple public chat group; Described method also comprises: group information corresponding for described multiple public chat group is sent to described user by described server; The refusal that described server returns based on described user adds information, re-starts the process of choosing group.
Alternatively, described interim chat group comprises multiple public chat group; Described method also comprises: group information corresponding for described multiple public chat group is sent to described user by described server; User, based on the selection information of described user to described group of information, is added corresponding public chat group by described server.
Alternatively, described interim chat group comprises 1 public chat group; Described method also comprises: the group information of described 1 public chat group is sent to described user by described server; What described server returned based on described user adheres to information, and the public chat group directly to described interim chat group correspondence initiates logging request; Or the refusal that described server returns based on described user adds information, re-start the process of choosing group.
Alternatively, described interim chat group comprises 1 public chat group; Described method also comprises: described user is directly added this public chat group by described server.
In order to solve the problem, present invention also offers a kind of system logging in public chat group based on mobile terminal, comprise: chat room system, mobile terminal and server, described chat room system safeguards multiple public chat group, and described server is connected with described mobile terminal with described chat room system respectively; Described server comprises:
User profile acquiring unit, is connected with described mobile terminal, for obtaining the user profile of login user; Described user profile comprises: one or more in age information, gender information, occupational information and preference information;
Chat group information acquisition unit, is connected with described chat room system, for obtaining the group information of each described public chat group; Described group of information at least comprises: chat group label;
Choosing group unit, for obtaining the interim assignment information corresponding with described user; Comprise: retrieval subelement, for retrieving described chat group label; Judgment sub-unit, for judging that whether described chat group label is corresponding with the part or all of user profile of described user; Sort out subelement, for the public chat group corresponding with the part or all of user profile of described user being set to the interim chat group of described user, using described interim chat group as the interim assignment information of described user.
Alternatively, described mobile terminal comprises: vehicle-mounted, mobile phone or computer.
Alternatively, described mobile terminal comprises: positioner, for obtaining the current location information of user; Communication unit, for sending the current location information of described user to described server as described user profile.
Alternatively, the interim chat group that described interim assignment information is corresponding comprises one or more public chat groups; Described mobile terminal comprises: refusal adds unit, adds information for generating refusal; Confirming to add unit, adding information for generating confirmation; Communication unit, adds information or confirmation adds information to described choosing group unit for sending refusal.
Alternatively, the interim chat group that described interim assignment information is corresponding comprises multiple public chat group; Described mobile terminal comprises: chat group selected cell, for selecting 1 public chat group from described multiple public chat group; Communication unit, for sending to described server by the public chat group of selection.
Alternatively, described server also comprises: trigger element, and the event for the service request that sends according to the user of logon server or described user login services device triggers described choosing group unit.
In order to solve the problem, present invention also offers a kind of server logging in public chat group based on mobile terminal, comprising:
User profile acquiring unit, is connected with described mobile terminal, for obtaining the user profile of login user; Described user profile comprises: one or more in age information, gender information, occupational information and preference information;
Chat group information acquisition unit, is connected with described chat room system, for obtaining the group information of each described public chat group; Described group of information at least comprises: chat group label;
Choosing group unit, for obtaining the interim assignment information corresponding with described user; Comprise: retrieval subelement, for retrieving described chat group label; Judgment sub-unit, for judging that whether described chat group label is corresponding with the part or all of user profile of described user; Sort out subelement, for the public chat group corresponding with the part or all of user profile of described user being set to the interim chat group of described user, using described interim chat group as the interim assignment information of described user.
Alternatively, described server also comprises: trigger element, and the event for the service request that sends according to the user of logon server or described user login services device triggers described choosing group unit.
Compared with prior art, the invention has the beneficial effects as follows: the relation between the group information considering user profile and public chat group, using the public chat group that the public chat group corresponding with the part or all of user profile of described user may enter as user, thus user is made to enter its interested public chat group fast and accurately.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, are described in detail the specific embodiment of the present invention below in conjunction with accompanying drawing.
Set forth a lot of detail in the following description so that fully understand the present invention, but the present invention can also adopt other to be different from alternate manner described here to implement, therefore the present invention is not by the restriction of following public specific embodiment.
Just as described in the background section, in the technology of the existing login chat group based on mobile terminal, user can not be made fast and accurately to enter its interested chat group.
In order to overcome above-mentioned defect, the invention provides a kind of method logging in public chat group based on mobile terminal, comprising:
Server obtains the user profile of login user, and obtains the group information of each public chat group; Described user profile comprises: one or more in age information, gender information, occupational information and preference information; Described group of information at least comprises: chat group label;
Server carries out the process of choosing group, obtains the interim assignment information corresponding with described user; The process of described choosing group comprises: retrieve described chat group label; The public chat group corresponding with the part or all of user profile of described user is set to the interim chat group of described user; Using described interim chat group as the interim assignment information of described user.
In order to overcome above-mentioned defect, present invention also offers a kind of system logging in public chat group based on mobile terminal, comprise: chat room system, mobile terminal and server, described chat room system safeguards multiple public chat group, and described server is connected with described mobile terminal with described chat room system respectively; Described server comprises:
User profile acquiring unit, is connected with described mobile terminal, for obtaining the user profile of login user; Described user profile comprises: one or more in age information, gender information, occupational information and preference information;
Chat group information acquisition unit, is connected with described chat room system, for obtaining the group information of each described public chat group; Described group of information at least comprises: chat group label;
Choosing group unit, for obtaining the interim assignment information corresponding with described user; Comprise: retrieval subelement, for retrieving described chat group label; Judgment sub-unit, for judging that whether described chat group label is corresponding with the part or all of user profile of described user; Sort out subelement, for the public chat group corresponding with the part or all of user profile of described user being set to the interim chat group of described user, using described interim chat group as the interim assignment information of described user.
In order to overcome above-mentioned defect, present invention also offers a kind of server logging in public chat group based on mobile terminal, comprising:
User profile acquiring unit, is connected with described mobile terminal, for obtaining the user profile of login user; Described user profile comprises: one or more in age information, gender information, occupational information and preference information;
Chat group information acquisition unit, is connected with described chat room system, for obtaining the group information of each described public chat group; Described group of information at least comprises: chat group label;
Choosing group unit, for obtaining the interim assignment information corresponding with described user; Comprise: retrieval subelement, for retrieving described chat group label; Judgment sub-unit, for judging that whether described chat group label is corresponding with the part or all of user profile of described user; Sort out subelement, for the public chat group corresponding with the part or all of user profile of described user being set to the interim chat group of described user, using described interim chat group as the interim assignment information of described user.
Relation between the group information that contemplated by the invention user profile and public chat group, using the public chat group that the public chat group corresponding with the part or all of user profile of described user may enter as user, thus user is made to enter its interested public chat group fast and accurately.
Be described in detail below in conjunction with accompanying drawing.
As shown in Figure 3, the first embodiment of method logging in public chat group based on mobile terminal provided by the invention, comprising:
S110, user is by mobile terminal logon server;
S120, server obtains the user profile of login user, and obtains the group information of each public chat group; Described user profile comprises: occupational information and current location information; Described group of information at least comprises: chat group label;
S130, server carries out the process of choosing group, obtains the interim assignment information corresponding with described user; The process of described choosing group comprises: retrieve described chat group label; The public chat group corresponding with the part or all of user profile of described user is set to the interim chat group of described user; Using described interim chat group as the interim assignment information of described user;
S140, described interim chat group comprises 1 public chat group; The group information of described 1 public chat group is sent to described user by described server; What described server returned based on described user adheres to information, and the public chat group directly to described interim chat group correspondence initiates logging request; Or the refusal that described server returns based on described user adds information, re-start the process of choosing group.
In the present invention, before user login services device carries out public chat, need to register on the server in advance, wherein log-on message comprises: user name, age information, gender information, occupational information and preference information etc., these log-on messages just can be preserved in the server.Then user just can rely on user name during registration can carry out the mobile terminal logon server of information transmission with server by arbitrary, thus carries out voice-enabled chat or/and text chat in the public chat group set up at server.Public chat group in the present invention is the interim chat group dynamically updated, and can set up temporarily, and cancel along with the disappearance of user's request according to user's request.
First perform step S110, user is by mobile terminal logon server.In the present embodiment user by mobile unit logon server to carry out voice-enabled chat.It should be noted that, the mobile terminal in the present invention is not limited to mobile unit, can also be mobile phone or computer etc., as long as the mobile terminal that energy and server carry out information transmission is all included in protection scope of the present invention.
Then perform step S120, server obtains the user profile of login user, and obtains the group information of each public chat group; Described user profile comprises: occupational information and current location information; Described group of information at least comprises: chat group label.
Described in the present embodiment, user profile comprises: occupational information and current location information.User relies on the user name logon server of registration, thus server can transfer the log-on message of respective user by user name, and the user profile that the present embodiment is obtained by log-on message comprises: occupational information.Described in the present embodiment, user profile also comprises: current location information, and described current location information is obtained by the positioner in mobile terminal, and then mobile terminal sends this positional information to server.The method obtaining user's current location information is technology well-known to those skilled in the art, does not repeat them here.In the present embodiment, the user profile of current login user comprises: occupational information is lawyer, and current location information is Beijing.
Server is connected with chat room system, thus obtains the group information of each public chat group.The information of group described in the present embodiment at least comprises: the chat user number of chat group label and each public chat group.The label of chat group described in the present embodiment comprises: location tags and professional label.Described location tags comprises each city of China; Described professional label comprises each occupation.Chat group label as certain public chat group comprises: location tags is Shanghai, professional label is software engineer, the current location of the user namely in this public chat group is all Shanghai, occupation is all software engineer, is designated as < Shanghai and software engineer > public chat group.
It should be noted that, there is corresponding relation in the chat group label in described group of information and described user profile.As when user profile comprises current location information, then described chat group label must comprise location tags.
Then perform step S130, server carries out the process of choosing group, obtains the interim assignment information corresponding with described user; The process of described choosing group comprises: retrieve described chat group label; The public chat group corresponding with the part or all of user profile of described user is set to the interim chat group of described user; Using described interim chat group as the interim assignment information of described user.
It is triggered by the event of described user login services device that server described in the present embodiment carries out the process of choosing group.Server is once learn user login services device, and sending chat request without the need to user will carry out the process of choosing group to the user of new login, thus saves the time, ensure that user carries out public chat more quickly and easily.
In the present embodiment, server carries out the process of choosing group, specifically comprises:
The first step, retrieves described chat group label.
Occupational information due to current login user is lawyer, current location information is Beijing, then need by retrieving described chat group label, obtaining wherein professional label is lawyer and location tags is Pekinese's public chat group, i.e. < Beijing and lawyer > public chat group.During concrete retrieval, first can retrieve the public chat group that all professional labels are lawyer, then at professional label be lawyer public chat group in retrieve location tags be Pekinese's public chat group; Also first can retrieve all location tags is Pekinese's public chat group, then is retrieve the public chat group that professional label is lawyer in Pekinese's public chat group at location tags; The professional label of all right directly retrieval is lawyer and location tags is Pekinese's public chat group simultaneously.
Second step, is set to the interim chat group of described user by the public chat group corresponding with the whole user profile of described user.
The first step is retrieved the interim chat group that the < Beijing and lawyer > public chat group obtained is set to described user.
3rd step, using described interim chat group as the interim assignment information of described user.
The interim chat group obtained by second step is as the interim assignment information of described user, and namely the interim assignment information of current login user is: < Beijing and lawyer > public chat group.
Finally perform step S140, described interim chat group comprises 1 public chat group; The group information of described 1 public chat group is sent to described user by described server; What described server returned based on described user adheres to information, and the public chat group directly to described interim chat group correspondence initiates logging request; Or the refusal that described server returns based on described user adds information, re-start the process of choosing group.
Described in the present embodiment, interim chat group only comprises < Beijing and lawyer > public chat group, therefore the group information of this public chat group can be sent to described user by server, and namely the chat user number in the chat group label (Beijing and lawyer) of < Beijing and lawyer > public chat group and this public chat group current is sent to described user by server; Described user receives described group of information, and described user both can select to adhere to, thus server initiates logging request directly to < Beijing and lawyer > public chat group; Described user also can select refusal to add, thus server re-starts the process of choosing group.
When after the checking of user by public chat group, then show that user logins successfully, the live chat number of users in the public chat group that user can log in by server and the information of each user send to mobile terminal, and then are shown by the display unit of mobile terminal.After user logins successfully, user just can carry out voice-enabled chat or/and text chat with other users in the public chat group of its login.
When user wants to terminate chat, can directly select to exit, now the chat user number of this public chat group just can subtract 1.
Further, when participating in certain public chat group numerous, and this public chat group to exist on chat user number in limited time, and described public chat group can be made to comprise multiple chatroom, and the chat group label of these chatrooms is identical.When user's request adds this public chat group, user can directly be dispensed in the minimum chatroom of this public chat group number by server, or user can be dispensed to this public chat group chat user number and not reach in the chatroom of the upper limit by server at random.
In other embodiments of the invention, described interim chat group comprises 1 public chat group; Described user directly can be added this public chat group by described server.Group information due to the public chat group in group of chatting temporarily is all have corresponding relation with the user profile of described user, and the possibility that therefore user directly enters public chat group interested improves greatly.
Correspondingly, as shown in Figure 4, the first embodiment of system logging in public chat group based on mobile terminal provided by the invention, comprise: chat room system 13, mobile terminal 11 and server 12, described chat room system 13 safeguards multiple public chat group, described server 12 is connected with described mobile terminal 11 with described chat room system 13 respectively, and described server 12 comprises:
User profile acquiring unit 14, is connected with described mobile terminal 11, for obtaining the user profile of login user; Described user profile comprises: occupational information and current location information;
Chat group information acquisition unit 15, is connected with described chat room system 13, for obtaining the group information of each described public chat group; Described group of information at least comprises: chat group label;
Choosing group unit 16, for obtaining the interim assignment information corresponding with described user; Comprise: retrieval subelement, for retrieving described chat group label; Judgment sub-unit, for judging that whether described chat group label is corresponding with the part or all of user profile of described user; Sort out subelement, for the public chat group corresponding with the part or all of user profile of described user being set to the interim chat group of described user, using described interim chat group as the interim assignment information of described user.
Mobile terminal 11 described in the present embodiment is mobile unit, and described mobile terminal 11 can also be mobile phone or computer etc. in other embodiments of the invention.In order to obtain the current location information of user, described mobile terminal 11 comprises: positioner 21, for obtaining the current location information of user; Communication unit (not shown in Fig. 4), for sending the current location information of described user to described server 12 as described user profile.
Mobile terminal 11 described in the present embodiment also comprises: display unit 22, live chat number of users in the chatroom at user place and chat user information are sent to mobile terminal 11 by described server 12, and then are shown to user by the display unit of mobile terminal 11.
Server 12 described in the present embodiment also comprises: trigger element 18, for triggering described choosing group unit 16 according to the event of described user login services device.
The interim chat group that described in the present embodiment, interim assignment information is corresponding comprises 1 public chat group; Described mobile terminal 11 also comprises: refusal adds unit 20, adds information for generating refusal; Confirming to add unit 19, adding information for generating confirmation; Refusal is added information or confirmation and adds information and send to described choosing group unit 16 by described communication unit.
The first embodiment of server logging in public chat group based on mobile terminal provided by the invention, comprising:
User profile acquiring unit, is connected with described mobile terminal, for obtaining the user profile of login user; Described user profile comprises: occupational information and current location information;
Chat group information acquisition unit, is connected with described chat room system, for obtaining the group information of each described public chat group; Described group of information at least comprises: chat group label;
Choosing group unit, for obtaining the interim assignment information corresponding with described user; Comprise: retrieval subelement, for retrieving described chat group label; Judgment sub-unit, for judging that whether described chat group label is corresponding with the part or all of user profile of described user; Sort out subelement, for the public chat group corresponding with the part or all of user profile of described user being set to the interim chat group of described user, using described interim chat group as the interim assignment information of described user;
Trigger element, for triggering described choosing group unit according to the event of described user login services device.
The specific works process of the first embodiment of described system and the first embodiment of server is shown in the first embodiment of described method, in this all no longer repeat specification.
In other embodiments of the invention, described user profile comprises: one or more in age information, gender information, occupational information and preference information.It should be noted that, in above-described embodiment, chat group label comprises: location tags and professional label, when therefore carrying out the process of choosing group, it is that location tags is corresponding with the current location information in user profile and occupational information in professional label and the user profile corresponding public chat group public chat group that will add as user, and in other embodiments of the invention, chat group label can also only comprise a kind of label, as: age label, sex label, hobby label, occupation label or location tags, thus using public chat group that public chat group corresponding with user profile for chat group label will add as user, when chat group label comprises two kinds of labels, can also be comprise: hobby label and location tags, or professional label and sex label, or age label or sex label etc., chat group label can also comprise three kinds of labels, as: age label, sex label and hobby label, thus gender information using age label in and sex label corresponding with the age information in user profile and user profile is corresponding and like the public chat group that the corresponding public chat group of preference information in label and described user profile will add as user, chat group label can also comprise four kinds of labels, as: age label, hobby label, professional label and location tags, thus age label is corresponding with the age information in user profile and like the public chat group that the corresponding public chat group of current location information in the corresponding and location tags of occupational information in the corresponding and professional label of preference information in label and user profile and user profile and user profile will add as user, chat group label can also comprise five kinds of labels, as age label, sex label, hobby label, professional label and location tags, thus using corresponding for the gender information in corresponding with the age information in user profile for label in age and sex label and user profile and like the public chat group that the corresponding public chat group of current location information in the corresponding and location tags of occupational information in the corresponding and professional label of preference information in label and user profile and user profile and user profile will add as user, the kind comprised along with user profile increases, and the kind of described chat group label also can continue to increase.The kind of chat group label is more, and the interest of user to the public chat group added will be larger.
As shown in Figure 5, the method the second embodiment logging in public chat group based on mobile terminal provided by the invention, comprising:
S210, user by mobile terminal logon server, and sends service request to described server;
S220, server obtains the user profile of login user, and obtains the group information of each public chat group; Described user profile comprises: age information, preference information and current location information; Described group of information at least comprises: chat group label;
S230, server carries out the process of choosing group, obtains the interim assignment information corresponding with described user; The process of described choosing group comprises: retrieve described chat group label; The public chat group corresponding with the part or all of user profile of described user is set to the interim chat group of described user; Using described interim chat group as the interim assignment information of described user;
S240, described interim chat group comprises multiple public chat group, and group information corresponding for described multiple public chat group is sent to described user by described server; Described server is based on the selection information of described user to described group of information, and the public chat group to correspondence initiates logging request.
First perform step S210, user by mobile terminal logon server, and sends service request to described server.
With the first embodiment unlike, in the present embodiment after user login services device, also need to send service request to described server further.
Then perform step S220, server obtains the user profile of login user, and obtains the group information of each chat group, and described user profile comprises: age information, preference information and current location information; Described group of information at least comprises: chat group label.
With the first embodiment unlike, the user profile that the present embodiment obtains comprises: age information, preference information and current location information, described chat group label comprises: age label, hobby label and location tags, wherein: age label comprises: less than 20,20-30,30-40,40-50,50-60 or more than 60, like label to comprise: diet label, shopping label, amusement label etc.
The user profile of the current login user of the present embodiment comprises: age information is 28, and preference information is diet, and current location information is Nanjing.
Then perform step S230, server carries out the process of choosing group, obtains the interim assignment information corresponding with described user, and the process of described choosing group comprises: retrieve described chat group label; The public chat group corresponding with the part or all of user profile of described user is set to the interim chat group of described user; Using described interim chat group as the interim assignment information of described user.
With the first embodiment unlike, carrying out the process of choosing group described in the present embodiment is that the service request that sent by the user of logon server triggers.When user passes through mobile terminal logon server and described user sends service request to described server, server just carries out the process of choosing group, can get rid of the possibility that user logs in by mistake like this.
Choosing group process in the present embodiment comprises:
The first step, retrieves described chat group label.
The present embodiment retrieves the chat group that age label is 20-30 in all public chat groups, and in all public chat groups, retrieve again hobby label is the chat group of diet, also in all public chat groups, retrieves the chat group that location tags is Nanjing.
Second step, is set to the interim chat group of described user by the public chat group corresponding with the user part message of described user.
The interim chat group that the present embodiment is arranged comprises three different public chat groups: same to age, same hobby and co-located, wherein: be 20-30 chat group with age public chat group, be diet chat group with hobby public chat group, co-located public chat group is Nanjing chat group.
3rd step, using described interim chat group as the interim assignment information of described user.
The interim assignment information of the present embodiment user comprises: with age public chat group (i.e. 20-30 chat group), with hobby public chat group (diet chat group) and co-located public chat group (i.e. Nanjing chat group).
Finally perform step S240, described interim chat group comprises multiple public chat group, and group information corresponding for described multiple public chat group is sent to described user by described server; Described server is based on the selection information of described user to described group of information, and the public chat group to correspondence initiates logging request.
S240 is completely different from the S140 in the first embodiment, and the present embodiment needs user to select the chat group in interim chat group.Described in the present embodiment, interim chat group comprises three different public chat groups, group information corresponding for each public chat group occurs to described user by described server, the group information of three public chat groups that user's reception server sends, and select in same age public chat group (i.e. 20-30 chat group), same hobby public chat group (diet chat group) and co-located public chat group (i.e. Nanjing chat group) with liking public chat group (diet chat group) as current most interested chat group; Server to the selection with hobby public chat group, initiates logging request to diet chat group based on user.
In order to ensure the accuracy logged in, in the present embodiment, server is before initiating logging request to diet chat group, can also send to user and add notice, inform that user is about to log in diet chat group, user can confirm to add or refuse to add, when user's confirmation adds fashionable, user will be added diet chat group by server; When user's refusal adds fashionable, server just needs to re-start the process of choosing group.
In other embodiments of the invention, described interim chat group comprises multiple public chat group; Group information corresponding for described multiple public chat group is sent to described user by described server; The refusal that described server returns based on described user adds information, re-starts the process of choosing group.During as choosing group again, in all public chat groups, retrieve age label be 20-30 and like label to be the chat group of diet, in all public chat groups, retrieve again hobby label be diet and location tags is the chat group in Nanjing, in all public chat groups, also retrieve location tags be Nanjing and age label is the chat group of 20-30, thus the interim chat group obtained comprises: with the age and with hobby, with the age and co-located, with liking and co-located three public chat groups, be specially: 20-30 and diet chat group, 20-30 and Nanjing chat group, diet and Nanjing chat group, each chat group now comprises two labels, thus further increase the possibility of user's selection.After re-starting packet transaction, again perform step S240, till user selects interested public chat group.
Correspondingly, as shown in Figure 6, the system the second embodiment logging in public chat group based on mobile terminal provided by the invention, comprise: chat room system 33, mobile terminal 31 and server 32, described chat room system 33 safeguards multiple public chat group, described server 32 is connected with described mobile terminal 31 with described chat room system 33 respectively, and described server 32 comprises:
User profile acquiring unit 34, is connected with described mobile terminal 31, for obtaining the user profile of login user; Described user profile comprises: age information, preference information and current location information;
Chat group information acquisition unit 35, is connected with described chat room system 33, for obtaining the group information of each described public chat group; Described group of information at least comprises: chat group label;
Choosing group unit 36, for obtaining the interim assignment information corresponding with described user; Comprise: retrieval subelement, for retrieving described chat group label; Judgment sub-unit, for judging that whether described chat group label is corresponding with the part or all of user profile of described user; Sort out subelement, for the public chat group corresponding with the part or all of user profile of described user being set to the interim chat group of described user, using described interim chat group as the interim assignment information of described user.
Mobile terminal 31 described in the present embodiment is mobile phone, and described mobile terminal 31 can also be vehicle-mounted or computer etc. in other embodiments of the invention.In order to obtain the current location information of user, described mobile terminal 31 comprises: positioner 41, for obtaining the current location information of user; Communication unit (not shown in Fig. 6), for sending the current location information of described user to described server 32 as described user profile.
Described server 32 also comprises: trigger element 38, and the service request for sending according to the user of logon server 32 triggers described choosing group unit 36.
The interim chat group that described in the present embodiment, interim assignment information is corresponding comprises multiple public chat group, and described mobile terminal 31 also comprises: chat group selected cell 43, for selecting 1 public chat group from described multiple public chat group; Refusal adds unit 40, adds information for generating refusal; Confirming to add unit 41, adding information for generating confirmation; Described communication unit also adds information or confirmation add public chat group information that information or user select to described server 32 for sending refusal.
Mobile terminal 31 described in the present embodiment also comprises: display unit 42, live chat number of users in the public chat group at user place and chat user information are sent to mobile terminal 31 by described server 32, and then are shown to user by the display unit 42 of mobile terminal 31; Described display unit 42 can also show the live chat number of users in each public chat group when user carries out public chat group selection, thus provides more information for the selection of user.
The server the second embodiment logging in public chat group based on mobile terminal provided by the invention, comprising:
User profile acquiring unit, is connected with described mobile terminal, for obtaining the user profile of login user; Described user profile comprises: age information, preference information and current location information;
Chat group information acquisition unit, is connected with described chat room system, for obtaining the group information of each described public chat group; Described group of information at least comprises: chat group label;
Choosing group unit, for obtaining the interim assignment information corresponding with described user; Comprise: retrieval subelement, for retrieving described chat group label; Judgment sub-unit, for judging that whether described chat group label is corresponding with the part or all of user profile of described user; Sort out subelement, for the public chat group corresponding with the part or all of user profile of described user being set to the interim chat group of described user, using described interim chat group as the interim assignment information of described user;
Trigger element, the service request for sending according to the user of logon server triggers described choosing group unit.
The specific works process of described system the second embodiment and server the second embodiment is shown in described method the second embodiment, in this all no longer repeat specification.The second embodiment is compared with the first embodiment, and user initiatively can select the public chat group specifically entered, and improves service quality, more easily meets the chat demand of user.
It should be noted that, described in the second embodiment, user profile comprises: age information, occupational information and current location information, in other embodiments of the invention, described user profile at least comprises: one or more in age information, gender information, occupational information and preference information.
Further, in other embodiments of the invention, refinement can also be carried out to the label of chat group, make user pass through repeatedly to select and enter more interested public chat group; Also user can be made to provide more detailed log-on message, the chat component of chat room system also more detailed, thus server make user enter more interested public chat group.
Relation between the group information that contemplated by the invention user profile and public chat group, using the public chat group that the public chat group corresponding with the part or all of user profile of described user may enter as user, thus user is made to enter its interested public chat group fast and accurately.
The situation that the first embodiment directly enters can also be set to default mode by the present invention, and the situation that the second embodiment needs user to select is set to preference pattern, thus user oneself can be arranged and preserve concrete pattern.
Disclose as above with preferred embodiment although the present invention is own, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.