Summary of the invention
The object of this invention is to provide a kind of creation method and system of the chat group based on car-mounted terminal, improve the speed that car-mounted terminal creates chat group, also improve the efficiency of inviting member to add described chat group.
The creation method of chat group provided by the invention, comprising:
Server receives the request to create from the chat group of car-mounted terminal; Respond described request to create to generate chat group; Described chat group has corresponding group number;
Server receives and adds request from the member of described car-mounted terminal, and described member adds in request to carry and is invited to user related information;
Server the invitation adding chat group is sent to described be invited to user related information corresponding be invited to car-mounted terminal;
Server receives from the invitation response being invited to car-mounted terminal, and the associated member carrying out chat group adds operation.
Optionally, after described server generates chat group, for the user initiating described request to create divides the administration authority of pairing chat group.Described administration authority comprise member interpolation, delete and amendment to the information of chat group except group number.
Optionally, after described server generates chat group, also comprise the chat group completion information received from car-mounted terminal, described completion information comprises the name of chat group, the brief introduction of chat group.
Optionally, be invited to described in user related information specifically one or more specify add member list or members need meet add condition.
The invitation adding chat group is sent to and comprises with the described car-mounted terminal that is invited to being invited to user related information corresponding by described server: add request according to member, analyzes the object of inviting and sending; Then described invitation is mass-sended to described object; Described object comprises member and adds the member list of specifying in request and other online users meeting the condition that adds; Described invitation comprises information and the message request of chat group.
The described associated member's interpolation operation carrying out chat group comprises: when other users accept described invitation, this user is added to the member of described chat group by server; Described method also comprises: given in this chat group by invitation result feedback and initiate the car-mounted terminal that member adds request; If other users refuse described invitation, server then directly feeds back above-mentioned invitation result.
Present invention also offers the establishment system of chat group, it is characterized in that, comprising:
Chat group sets up unit, receives and responds the request to create from car-mounted terminal, and generate chat group, described chat group has corresponding group number;
Invite transmitting element, to receive and the member responded from car-mounted terminal adds request, described member adds in request to carry and is invited to user related information; Generate chat group add invitation, and described invitation is sent to described be invited to user related information corresponding be invited to car-mounted terminal;
Invite result treatment unit, receive the invitation response from being invited to car-mounted terminal, the associated member carrying out chat group adds operation.
Optionally, also comprise group information completion unit, receive the chat group completion information from car-mounted terminal, the chat group that unit sets up is set up to chat group and carries out the completion of information.Described completion information comprises: the name of chat group, the brief introduction of chat group.
Described be invited to user related information specifically one or more specify add member list or members need meet add condition.
Described invitation transmitting element comprises: invite object to generate subelement, adds request generate the object sending and invite according to member, and described object comprises the user that is invited to specify in user related information and adds other online users of condition described in meeting; Invite and generate subelement, add request according to member and generate corresponding invitation, described invitation comprises information and the message request of chat group; Communication subelement, for being sent to each invitation object by described invitation.
Described invitation result treatment unit comprises: member adds subelement and feedback subelement; When other users accept described invitation, member adds the member that subelement is added to chat group, and invitation result feedback is given in this chat group and initiated the car-mounted terminal that member adds request by feedback subelement; When other users refuse described invitation, feedback subelement then directly feeds back above-mentioned invitation result.
Compared with prior art, the invention has the beneficial effects as follows: user is after the request to create initiating chat group, and server carries out response and generates empty chat group, and distributes corresponding group number; Described user can also write chat group information, is convenient to other users and understands this chat group; And when described user initiate member add request time, server can also to one or more designated users and adopt Group transmit mode send invite, thus improve invite efficiency.
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.
Fig. 3 shows the schematic flow sheet of the creation method of the chat group based on car-mounted terminal of the present invention, and basic step comprises:
Step S101, car-mounted terminal initiate the request to create of chat group to server, and server responds described request to create, generate chat group, and distribute corresponding group number.
Concrete, the group number of described chat group distinguishes the mark of chat group as server.Described server response creation request and in the chat group created, member only comprises founder self, can be considered as sky chat group.The car-mounted terminal of described establishment chat group obtains administration authority to this chat group by automatic from server, the interpolation of such as member, deletes and amendment to the information of chat group except group number.
Step S102, car-mounted terminal are initiated member to server and are added request, invite other car-mounted terminals to add chat group.
Concrete, before initiation member adds request, the founder of chat group can the relevant information of first completion chat group, such as, to chat group name, adds the brief introduction etc. of chat group.(herein and user described later be car-mounted terminal) reference so that other users.Described member adds request can comprise the interim message request that founder writes voluntarily, can also comprise and be invited to user related information.Describedly be invited to that user related information is specifically one or more specifies the member list added, also can be only define member add condition, such as, invitation can be sent to other online users of all " car-mounted terminal platform is Volkswagen " by Limited service device.
Step S103, add request according to described member, the invitation adding chat group is sent to other users by server.
Concrete, server adds request according to Client-initiated member, generates invitation and is sent to other users.Described invitation comprises the information of described chat group, such as group number, chat group name and chat group brief introduction.The object of inviting is the user of above-mentioned appointment list, also can be to meet the relevant every other online user adding condition.
Whether step S104, other users, after receiving described invitation, select to accept the invitation, and the selection of other users feeds back to by server initiates the user that member adds request, and the associated member carrying out chat group adds operation.
Concrete, when other users accept described invitation, this user is added to the member of described chat group by server, and feeds back in this chat group and initiate the user that member adds request, or directly in chat group with the form publicity of voice or word.If other users have rejected described invitation, server then directly feeds back above-mentioned invitation result.
In addition, when after the member that chat group has except founder, described in have chat group administration authority member can also by other members transfer, authorize or promote administration authority.
From above-mentioned chat group creation method, the present invention is after user initiates the request to create of chat group, and server carries out response and generates chat group, and distributes corresponding group number; Described user can also write the information of chat group, so that other users understand this chat group; And when described user initiate member add request time, server can also to one or more designated users and adopt Group transmit mode send invite, thus improve invite efficiency.
For realizing above-mentioned chat group creation method, the chat group that present invention also offers a kind of common chat room creates system.Fig. 4 shows the module diagram of the establishment system of the chat group based on car-mounted terminal of the present invention.The basic module of described establishment system comprises:
Chat group sets up unit 101, receives and responds the request to create from car-mounted terminal, and generate chat group, described chat group has corresponding group number.
Concrete, described chat group sets up unit 101 according to the personal information of user and user right, can create corresponding chat group, and such as whether this chat group can use the server resources such as voice channel, the bandwidth class of voice channel, the contents such as the number of members upper limit had.Described group number is used for server difference chat group, is therefore uniquely and does not repeat.
Group information completion unit 102, receives the chat group completion information from car-mounted terminal, sets up the chat group that unit sets up carry out the completion of information to chat group.
Concrete, after setting up empty chat group, because described empty chat group only has group number, therefore the user as founder can to the relevant chat group information of group information completion unit 102 input, such as name to chat group, write chat group brief introduction, above-mentioned information is added in chat group by described group information completion unit 102.
Invite transmitting element 103, to receive and the member responded from car-mounted terminal adds request, described member adds in request to carry and is invited to user related information; Generate chat group add invitation, and described invitation is sent to described be invited to user related information corresponding be invited to car-mounted terminal.
Concrete, as the founder of above-mentioned chat group or when having the member of administration authority to need to add member to empty chat group, initiate member to described invitation transmitting element 103 and add request, described member adds in request the message request including and write temporarily, also comprise and be invited to user related information, specifically one or more specify add member list, or other online users add condition.Described invitation transmitting element 103 comprises invites object to generate subelement, and first add request according to member, analyze the object sending and invite, this object comprises the list that user specifies and other online users meeting correlated condition.Described invitation transmitting element 103 comprises invites generation subelement, corresponding invitation is generated for adding request according to member, the information of this chat group is included in described invitation, such as group number, chat group name, chat group brief introduction etc. and the message request temporarily write, so that sending object carries out reference.Described invitation transmitting element 103 also comprises communication subelement, for the invitation of above-mentioned generation is sent to each invitation object.
Invite result treatment unit 104, receive the invitation response from being invited to car-mounted terminal, the associated member carrying out chat group adds operation.
Concrete, described invitation result treatment unit 104 comprises member and adds subelement and feedback subelement.After other users receive invitation, determine whether adhere to chat group.If other users adhere to chat group, described member adds subelement and is added in the members list of chat group by this user, described feedback subelement by above-mentioned invitation result feedback to the user initiating member in chat group and add request, or directly in chat group with the form publicity of word or voice.If other add chat group for refusal, above-mentioned invitation result is directly fed back with same form by described feedback subelement.
Below in conjunction with specific embodiment, the chat group searching method of common chat room of the present invention and system are described in detail.With in sample embodiment, described user is car-mounted terminal.
Shown in composition graphs 3 and Fig. 4, suppose that certain user A is on the run, after logging in common chat room, wishes that setting up a chat group carries out voice-enabled chat.First it send the request to create of chat group to server.In chat group establishment system of the present invention, chat group is set up unit 101 and is responded above-mentioned request to create, according to the relative users authority of this user A, sets up the chat group of voice, and member's upper limit number of this chat group is 10; Distribute to the unique group number of this chat group one so that server Division identification simultaneously.
After this chat group creates, user A continues the relevant information improving chat group, such as, send chat group name and chat group brief introduction by voice channel to server.Described group information completion unit 102, carries out the completion of information to the empty chat group founded before according to above-mentioned information.
User A continues to initiate member to server and adds request, and described member adds in request the message request that can comprise user A and write temporarily, such as " hello, wants to invite you to add chat "; Also comprise member list or the member condition of the specified interpolation of user A, such as user A specifies interpolation user B to add this chat group, and other users simultaneously also comprising " car-mounted terminal platform is Volkswagen " also can add this chat group.Invite transmitting element 103 receiving after above-mentioned member adds request, it is invited object to generate subelement and first produces invitation object, and invites and generate subelement and produce corresponding invitation, and above-mentioned invitation is sent to described invitation object by described communication subelement.Described invitation comprises the message request that the relevant information of this chat group and user A write.
Concrete, the member's upper limit number due to this chat group is 10, and therefore remove user A self and specify the user B added, described invitation can also send to other 8 users.Now invite object to generate subelement and add the qualifications to member " car-mounted terminal platform is Volkswagen " included in request according to the member of user A, from the online user of common chat room free time, choose the user that 8 meet above-mentioned condition at random.Then the described invitation adding chat group is mass-sended to described other 8 users specifying user B and the random selecting added by communication subelement.
Suppose that 8 users of random selecting comprise user C and user D.
Described user C, after receiving invitation, through the reference to this chat group relevant information, determines that receiving described invitation adheres to chat group.Due to the group number of server this chat group known, therefore, it is possible to sent invitation is corresponding with corresponding chat group.When invitation result treatment unit 104 is after receiving the invitation result of user C, its member adds subelement and can be directly added in the members list of corresponding chat group by user C, and feeds back subelement and feed back above-mentioned invitation result to user A or directly in chat group, report " user C adds chat group " with voice mode.
And described user D is after receiving invitation, after consideration, the described invitation of refusal is determined.After above-mentioned invitation result treatment unit 104 receives the invitation result of user D, do not carry out member to chat group and add operation, its feedback subelement feeds back above-mentioned invitation result directly to user A or reports in chat group " user D refusal adds chat group ".
Because user D refusal adds chat group, therefore 10 number of members restrictions of this chat group do not reach, and user A still can continue to initiate member and add request, and repeats said process, till the number of members quota of chat group, also can abandon member and add.
In addition, after having had the member except user A in chat group, the user A with this chat group administration authority can also authorize to other members, shifts or promote administration authority.Concrete, suppose that user A needs to roll off the production line to exit common chat room, but other members of this chat group still wish to continue chat, its administration authority first can be transferred to user B by described user A, makes user B become the new keeper of chat group.
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.