Group chat device and method
Technical Field
The invention relates to the technical field of communication, in particular to a group chat device and a group chat method.
Background
More and more application software provides a group chat function, and when a group chat session is performed on a terminal installed with the application software, each participant in the group chat session is a sender sending group chat information and a receiver of the group chat information sent by other participants.
At present, there are two main ways for a new person to join in a group chat, one way is that a group owner or a group member with authority directly drags the new person to a native group chat, and the other way is that the new person joins in the native group chat in a form of scanning a two-dimensional code of the native group chat, so that the number of members of the native group chat continuously increases with the joining of the new person. However, when a new person joins the group chat as an individual, the increase in the number of members in the group chat is not influenced by the new person, and it is inconvenient for the new person to issue his/her view in the group chat in which the new person joins without any trouble. Therefore, the mode of joining group chat is limited, and the requirement of a user for multiple people to create a new group chat cannot be met well, so that improvement is needed.
Disclosure of Invention
In view of the above, the present invention is intended to provide a group chat apparatus and method, which can quickly create a new group chat including members in a native group chat, and meet the requirement of multiple people for creating a new group chat.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, the present invention provides a group chat apparatus, applied to a first mobile terminal, where the apparatus includes:
the acquisition module is used for acquiring a first identifier of a first group chat; wherein the first group chat contains at least one inherent member;
and the processing module is used for initiating a first join request according to the first identifier so as to establish a second group chat by the server based on the first join request, wherein the second group chat is a new group chat formed by a member inherent in the first group chat and a member corresponding to the first mobile terminal.
In the foregoing scheme, optionally, the apparatus further includes:
the receiving module is used for receiving an invitation request which is transmitted to the first mobile terminal by the second mobile terminal and forwarded by the server; the member corresponding to the second mobile terminal is a natural member of the first group chat;
the obtaining module is specifically configured to obtain the first identifier of the first group chat from the invitation request.
In the foregoing solution, optionally, the obtaining module is further configured to obtain a second identifier of the first group chat from the invitation request; the processing module is further configured to initiate a second join request according to the second identifier, so that the server joins the member corresponding to the first mobile terminal to the first group chat based on the second join request, where the number of members of the first group chat may continuously increase with the joining of a new member.
In the foregoing scheme, optionally, the processing module is specifically configured to:
when the first identification is a two-dimensional code or a bar code, a first joining request is initiated in a mode of scanning the first identification; or
When the first identification is the group name of the first group chat, the first identification is searched first, and a first joining request is initiated after the first identification is searched and when a preset trigger condition is met
In the foregoing scheme, optionally, the processing module is further configured to:
when a first operation is received, adding a newly selected member to the second group chat;
removing selected members from the second group chat upon receiving the second operation.
In a second aspect, the present invention provides a group chat apparatus, applied to a server, the apparatus including:
the communication module is used for forwarding an invitation request which is transmitted to the first mobile terminal by the second mobile terminal in advance to the first mobile terminal; receiving a first joining request initiated by a first mobile terminal based on a first identifier; wherein the first identifier is obtained by the first mobile terminal from the invitation request;
and the creating module is used for creating a second group chat based on the first joining request, wherein the second group chat is a new group chat formed by the inherent member of the first group chat and the member corresponding to the first mobile terminal.
In the foregoing solution, optionally, the communication module is further configured to receive a second join request initiated by the first mobile terminal based on the second identifier; wherein the second identifier is obtained by the first mobile terminal from the invitation request; wherein, the invitation request comprises a first identifier and a second identifier; the creating module is further configured to join the member corresponding to the first mobile terminal to the first group chat based on the second join request, wherein the number of members of the first group chat can be continuously increased along with the joining of a new member.
In a third aspect, the present invention provides a group chat method, applied to a first mobile terminal, where the method includes:
acquiring a first identifier of a first group chat; wherein the first group chat contains at least one inherent member;
and initiating a first joining request according to the first identification so as to establish a second group chat by the server based on the first joining request, wherein the second group chat is a new group chat formed by inherent members of the first group chat and members corresponding to the first mobile terminal.
In the foregoing solution, optionally, the obtaining the first identifier of the first group chat includes:
receiving an invitation request which is forwarded by a server and is transmitted to a first mobile terminal by a second mobile terminal in advance; the member corresponding to the second mobile terminal is a natural member of the first group chat;
and acquiring a first identifier of the first group chat from the invitation request.
In the foregoing scheme, optionally, the method further includes:
acquiring a second identifier of the first group chat from the invitation request;
and initiating a second join request according to the second identifier, so that the server joins the member corresponding to the first mobile terminal to the first group chat based on the second join request, wherein the number of members of the first group chat can be continuously increased along with the joining of new members.
In the foregoing scheme, optionally, the initiating a first join request according to the first identifier includes:
when the first identification is a two-dimensional code or a bar code, a first joining request is initiated in a mode of scanning the first identification; or
When the first identifier is a group name of a first group chat, the first identifier is searched first, and a first join request is initiated after the first identifier is searched and when a preset trigger condition is met.
In the foregoing scheme, optionally, the method further includes:
when a first operation is received, adding a newly selected member to the second group chat;
removing selected members from the second group chat upon receiving the second operation.
In a fourth aspect, the present invention provides a group chat method, applied to a server, where the method includes:
forwarding an invitation request of a second mobile terminal to a first mobile terminal;
receiving a first joining request initiated by a first mobile terminal based on a first identifier; wherein the first identifier is obtained by the first mobile terminal from the invitation request;
and establishing a second group chat based on the first joining request, wherein the second group chat is a new group chat formed by the inherent member of the first group chat and the member corresponding to the first mobile terminal.
In the foregoing scheme, optionally, the method further includes:
receiving a second joining request initiated by the first mobile terminal based on the second identifier; wherein the second identifier is obtained by the first mobile terminal from the invitation request; wherein, the invitation request comprises a first identifier and a second identifier;
and adding the members corresponding to the first mobile terminal into the first group chat based on the second adding request, wherein the number of the members of the first group chat can be continuously increased along with the addition of new members.
In a fifth aspect, the present invention provides a mobile terminal, which includes the group chat apparatus described above.
In a sixth aspect, the present invention further provides a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are configured to execute the group chat method applied to the first mobile terminal according to the embodiment of the present invention.
In a seventh aspect, the present invention further provides a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are used to execute the group chat method applied to the server according to the embodiment of the present invention.
The group chat device and the method provided by the invention are used for acquiring a first identifier of a first group chat; wherein the first group chat contains at least one inherent member; initiating a first joining request according to the first identifier; establishing a second group chat based on the first join request, wherein the second group chat is a new group chat formed by inherent members of the first group chat and new members corresponding to the first mobile terminal; so, can provide one kind and establish the new group who includes member in the natural group chatting fast and chat, satisfy the demand that many people newly-built group chats, give a neotype individual and joined the mode of natural group chatting, the problem of privacy and the affinity poor that probably exists because of directly joining the natural group chatting has been solved for the individual of newly joining had both added the member in the natural group chatting that it wants to join as the communication object, can avoid other people to break into this new group chatting again, the privacy of many parties has been guaranteed, and is very practical.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 3 is a schematic flow chart illustrating an implementation of a group chat method applied to a first mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation of a group chat method applied to a server according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a group chat apparatus applied to a first mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a group chat apparatus applied to a server according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
A terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the description of the embodiments of the present invention, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the embodiments of the present invention may include terminals such as a mobile phone, a smart phone, a notebook computer, a Digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a navigation device, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include an audio/video (a/V) input unit 120, a user input unit 130, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, and the like. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 1220, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium), and two or more cameras 1210 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification Module may store various information for authenticating a User using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The Display unit 151 may include at least one of a Liquid Crystal Display (LCD), a Thin Film Transistor LCD (TFT-LCD), an Organic Light-Emitting Diode (OLED) Display, a flexible Display, a three-dimensional (3D) Display, and the like. Some of these displays may be configured to be transparent to allow a user to see from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a Transparent Organic Light Emitting Diode (TOLED) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (communicating communication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The Memory 160 may include at least one type of storage medium including a flash Memory, a hard disk, a multimedia card, a card-type Memory (e.g., SD or DX Memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, and an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to an embodiment of the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication System includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global System for Mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of Mobile terminals 100, a plurality of Base Stations (BSs) 270, a Base Station Controller (BSC) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz, 5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT) 295 transmits a Broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the hardware structure of the mobile terminal and the communication system, in order to better meet the requirements of users on multi-user newly-built group chat, the invention provides various embodiments of the method.
Example one
An embodiment of the present invention provides a group chat method, where the group chat method in this example is applied to a first mobile terminal, and as shown in fig. 3, the group chat method mainly includes the following steps:
step 301: acquiring a first identifier of a first group chat; wherein the first group chat includes at least one native member.
Here, the first mobile terminal has a first application installed thereon, the first application being capable of providing a group chat function. The first application may be an application carried by the first mobile terminal, or an application downloaded from a third party.
Here, the first identifier includes, but is not limited to, a name of the first group chat, a two-dimensional code of the first group chat, and a barcode of the first group chat.
Illustratively, a first application is installed on a first mobile terminal, when an operation sent by a user to the first application and used for instructing to create a group chat is received, a group chat including a selected contact account and an account of the first application of the user is created according to a contact account selected by the user from contacts of the first application, and an identifier used for representing the group chat, such as a two-dimensional code, a barcode, a group name and the like corresponding to the group chat, is generated for the group chat. In the group chat, each participant in the group chat is a sender who sends group chat information and a receiver who sends group chat information from other participants.
Thus, the first identifier of the first group chat is obtained first, and preparation is made for subsequently creating a second group chat.
As an embodiment, the obtaining the first identifier of the first group chat includes:
receiving an invitation request of a second mobile terminal forwarded by a server; the member corresponding to the second mobile terminal is a natural member of the first group chat;
and acquiring a first identifier of the first group chat from the invitation request.
Wherein the first identity is an identity for creating a new group chat.
Here, the inherent member is a member that has successfully joined the first group chat.
Preferably, the inherent member is a member that has successfully joined the first group chat when the second mobile terminal sends the invitation request to the first mobile terminal.
That is, after the second mobile terminal sends the invite request to the first mobile terminal, the invite request may also be sent to the third mobile terminal at the same time, and if the third mobile terminal has applied for and successfully joined the first group chat before the first mobile terminal sends the first join request, the member corresponding to the third mobile terminal is not a proper member in the first group chat.
Here, the invite request requests the other party to have a member in the first group chat as an object of communication, or requests the other party to join the first group chat.
Step 302: and initiating a first joining request according to the first identification so as to establish a second group chat by the server based on the first joining request, wherein the second group chat is a new group chat formed by inherent members of the first group chat and members corresponding to the first mobile terminal.
As an embodiment, the initiating a first join request according to the first identifier includes:
the first mobile terminal sends a first joining request to a server;
and after receiving the first joining request, the server creates a second group chat for the first mobile terminal based on the first joining request, and sends a notification that the second group chat is created successfully to the first mobile terminal.
As an optional implementation manner, the initiating a first join request according to the first identifier includes:
and when the first identifier is a two-dimensional code or a bar code, initiating a first joining request in a mode of scanning the first identifier.
Illustratively, the first mobile terminal opens an invitation request, obtains a first identifier from the invitation request, scans the first identifier, and sends a first join request to the server to create a new group chat composed of the inherent member of the first group chat and the member corresponding to the first mobile terminal.
As an optional implementation manner, the initiating a first join request according to the first identifier includes:
when the first identifier is a group name of a first group chat, the first identifier is searched first, and a first join request is initiated after the first identifier is searched and when a preset trigger condition is met.
Here, the preset trigger condition includes: the confirmation of receiving the user input initiates an operation of a first join request.
For example, the first mobile terminal opens an invitation request, obtains a first identifier from the invitation request, the user inputs the first identifier in a search bar, clicks a confirmation operation, and sends a search request to the server, the server displays the first group chat after searching the first identifier, and the user inputs a first join request for creating the first group chat, so as to create a new group chat composed of a member inherent in the first group chat and a new member corresponding to the first mobile terminal.
Therefore, the first identification obtained by the first mobile terminal is convenient for the user to use as the pass for joining the new group chat, the user can understand and master the first identification conveniently due to the operation similar to the operation for joining the first group chat, and the burden of learning new knowledge is not added to the user.
Further, the method further comprises:
step 303 (not shown in fig. 3): the first mobile terminal outputs a notification that the second group chat has been successfully created.
Here, the related information includes a first identifier and a second identifier corresponding to the second group chat.
As such, the first mobile terminal may send an invitation request for the second group chat to the third mobile terminal.
Further, the method further comprises:
all members of the second group chat may send group chat messages in the second group chat;
all members of the second group chat may receive messages posted by other members of the second group chat in the second group chat.
In this way, a second group chat composed of the inherent member of the first group chat and the member corresponding to the first mobile terminal is established through the first identifier, and the first group chat and the second group chat are two independent group chats, so that the problems of poor privacy and intimacy caused by directly joining the first group chat are solved. Therefore, the individual invited to join can not only make the individual not need to join the first group chat, but also join the member in the inherent group chat which the individual wants to join as an exchange object, and can also avoid other people from running into the new group chat, so that the new group chat is controlled, the privacy of multiple parties is ensured, and the method is very practical.
Meanwhile, each individual can create a new group chat containing the inherent member of the first group chat through the first identification, so that a way of quickly creating the new group chat containing the inherent member of the group chat is provided, and the requirement of multiple people for creating a new group chat can be met.
Optionally, when the invitation request includes the first identifier and the second identifier, the method may further include:
the first mobile terminal acquires a second identifier of the first group chat from the invitation request; wherein the second identifier is an identifier for joining a first group chat;
and initiating a second join request according to the second identifier, so that the server joins the member corresponding to the first mobile terminal to the first group chat based on the second join request, wherein the number of members of the first group chat can be continuously increased along with the joining of new members.
The first identifier and the second identifier may have the same or different representation forms. For example, the first identifier is identified by a form of a two-dimensional code, and the second identifier is also identified by a form of a two-dimensional code; for another example, the first mark is marked in the form of a bar code, and the second mark is marked in the form of a two-dimensional code.
In this way, when the user corresponding to the first mobile terminal does not want to independently establish the private group chat, the user can join the first group chat through the second identifier, at this time, the member in the first group chat is not restricted by the user, that is, if the second mobile terminal further sends an invitation request to the third mobile terminal, the third mobile terminal can also obtain the second identifier of the first group chat from the group chat request, initiate a second join request according to the second identifier, and join the first group chat based on the second join request. In this way, the user corresponding to the third mobile terminal may also join the first group chat, which is uncontrollable by the user of the first mobile terminal, and of course, the user corresponding to the first mobile terminal may also conveniently know all current and future states of the first group chat.
In the foregoing solution, after creating a second group chat based on the first join request, the method further includes:
when a first operation is received, adding a newly selected member to the second group chat;
removing selected members from the second group chat upon receiving the second operation.
In this way, the user corresponding to the first mobile terminal can manage the second group chat.
Illustratively, at least two virtual icons, namely virtual icon 1 and virtual icon 2, are arranged on the setting interface of the second group chat. Assuming that there are only two members, member 1 and member 2, in the first group chat, the total number of the members in the second group chat is 3, including member 1, member 2, and member 3 corresponding to the first mobile terminal, and the contact friends of member 3 include member 4, member 5, and member 6 in addition to member 1 and member 2. Then when the virtual icon 1 is triggered all members of the second group chat are presented, member 1 is selected, and member 1 will be removed from the second group chat. When the virtual icon 2 is triggered, the members that can join the second group chat, i.e. the contact account of the first application, are presented, and member 4 is selected, then member 4 will be joined to the second group chat.
An application scenario is listed below:
a pair of brides marry, some friends can not attend the wedding, the bride can set a user to be the natural group chat of 2 people of the bride and the bride, and generate the two-dimensional code, each friend does not join in when scanning the two-dimensional code, but newly builds a 3-person group chat with two newborns, in the group, can send out the red envelope alone and the blessing to the newborn, and the newborn can also express the thank to the friend alone through the group chat simultaneously to double mode, privacy and intimacy have been kept.
An application scenario is listed below:
user A and user B are good girlfriends, user C is good friend with user A and user B, user D is good friend with user A and user B, and user C and user D are hated for some reasons. The user a and the user B establish a group chat S1, and invite the user C and the user D to join the group chat S1, respectively, to do something in business. The user C and the user D may listen to the voice of the other party or see the information of the other party when they join the group chat S1, thereby affecting the mood. At this time, the user C may acquire the first identifier from the invitation request, create a new group chat including the user a, the user B, and the user C by scanning the first identifier S2, and the user D may acquire the first identifier from the invitation request, create a new group chat including the user a, the user B, and the user D by scanning the first identifier S3. Therefore, the user C and the user D can realize communication with the user A and the user B, privacy and intimacy are kept, and other people who do not want to be called can be well avoided.
According to the technical scheme, a new form that the individual joins in the inherent group chat is provided, the problems of poor privacy and intimacy possibly existing due to the fact that the individual joins in the inherent group chat are solved, the privacy of multiple parties is protected to a certain extent, the practicability is high, and the use experience of the user in the group chat aspect is improved.
The group chat method provided by the invention can provide a method for quickly creating a new group chat containing members in the inherent group chat, meet the requirement of multiple persons for creating a new group chat, solve the problem of poor privacy and intimacy possibly caused by directly adding the inherent group chat, ensure that newly added individuals not only add the members in the inherent group chat which the newly added individuals want to add as communication objects, but also avoid other persons from running into the new group chat, ensure the privacy of multiple parties and be very practical.
Example two
An embodiment of the present invention provides a group chat method, where the group chat method in this example is applied to a server, and as shown in fig. 4, the group chat method mainly includes the following steps:
step 401: the server forwards an invitation request of the second mobile terminal to the first mobile terminal.
Wherein, the invitation request carries a first identifier.
Wherein the first identity is an identity for creating a new group chat.
In one implementation manner, the server receives an invitation request which is sent by the second mobile terminal and is transmitted to the first mobile terminal in advance, and the server forwards the invitation request to the first mobile terminal.
Step 402: the server receives a first joining request initiated by a first mobile terminal based on a first identifier; wherein the first identity is obtained by the first mobile terminal from the invitation request.
As an implementation manner, the first mobile terminal obtains the first identifier from the invitation request, and initiates a first join request to the server according to the first identifier.
As an implementation manner, when the first identifier is a two-dimensional code or a barcode, the first mobile terminal initiates a first join request by scanning the first identifier.
As an optional implementation manner, when the first identifier is a group name of a first group chat, the first mobile terminal first searches the first identifier, and initiates a first join request after the first identifier is searched and when a preset trigger condition is met.
Step 403: the server creates a second group chat based on the first join request.
Wherein the second group chat is a new group chat composed of the inherent member of the first group chat and the member corresponding to the first mobile terminal.
As an embodiment, the server creates a second group chat based on the first join request, including:
the server creates a second group chat; wherein the second group chat is two different group chats than the first group chat;
and the server adds the member corresponding to the first mobile terminal and the member in the first group chat to the second group chat.
Specifically, the server creates a second group chat, including:
the server generates a group name, a first identifier and a second identifier for the second group chat.
Here, the member in the first group chat included in the second group chat is a member in the first group chat when the second mobile terminal sends the invite request to the first mobile terminal.
That is, after the second mobile terminal sends the invite request to the first mobile terminal, the invite request may also be sent to the third mobile terminal, and if the third mobile terminal has applied for and successfully joined the first group chat before the first mobile terminal sends the first join request, in the second group chat, the member corresponding to the third mobile terminal is not a member in the second group chat.
Further, after the server creates the second group chat based on the first join request, the method further includes:
and sending a notification that the second group chat is successfully created to the first mobile terminal so that the first mobile terminal can send the group chat message or receive the group chat message sent by other members in the second group chat.
Further, the server receives an editing operation for the second group chat sent by the first mobile terminal, and responds to the editing operation when the editing operation is permitted by the certificate.
Optionally, when the invitation request includes the first identifier and the second identifier, the method may further include:
the server receives a second joining request initiated by the first mobile terminal based on the second identifier; wherein the second identifier is obtained by the first mobile terminal from the invitation request; wherein, the invitation request comprises a first identifier and a second identifier;
and adding the members corresponding to the first mobile terminal into the first group chat based on the second adding request, wherein the number of the members of the first group chat can be continuously increased along with the addition of new members.
The first identifier and the second identifier may have the same or different representation forms. For example, the first identifier is identified by a form of a two-dimensional code, and the second identifier is also identified by a form of a two-dimensional code; for another example, the first mark is marked in the form of a bar code, and the second mark is marked in the form of a two-dimensional code.
As an implementation manner, the first mobile terminal obtains the second identifier from the invitation request, and initiates a second join request to the server according to the second identifier.
As an implementation manner, when the first identifier is a two-dimensional code or a barcode, the first mobile terminal initiates the second join request by scanning the second identifier.
As an optional implementation manner, when the second identifier is a group name of the first group chat, the first mobile terminal first searches the second identifier, and initiates a second join request after the second identifier is searched and when a preset trigger condition is met.
According to the technical scheme, a mode for quickly creating the new group chat containing the members in the inherent group chat is provided, the problems of poor privacy and intimacy possibly existing due to direct addition of the members in the inherent group chat are solved, the privacy of multiple parties is protected to a certain extent, the practicability is high, and the use experience of a user in the group chat aspect is improved.
The group chat method provided by the invention can provide a method for quickly creating a new group chat containing members in the inherent group chat, meet the requirement of multiple persons for creating a new group chat, solve the problem of poor privacy and intimacy possibly caused by directly adding the inherent group chat, ensure that newly added individuals not only add the members in the inherent group chat which the newly added individuals want to add as communication objects, but also avoid other persons from running into the new group chat, ensure the privacy of multiple parties and be very practical.
EXAMPLE III
The embodiment of the present invention provides a group chat device, which is applied to a first mobile terminal, and as shown in fig. 5, the group chat device includes an obtaining module 51 and a processing module 52; wherein,
the obtaining module 51 is configured to obtain a first identifier of a first group chat; wherein the first group chat contains at least one inherent member;
the processing module 52 is configured to initiate a first join request according to the first identifier, so as to create a second group chat by the server based on the first join request, where the second group chat is a new group chat composed of a member inherent in the first group chat and a member corresponding to the first mobile terminal.
In the foregoing scheme, optionally, the apparatus further includes:
a receiving module 53, configured to receive an invitation request, which is forwarded by the server and is pre-transmitted to the first mobile terminal by the second mobile terminal; the member corresponding to the second mobile terminal is a natural member of the first group chat;
the obtaining module 51 is specifically configured to obtain the first identifier of the first group chat from the invitation request.
As an embodiment, further, the obtaining module 51 is further configured to obtain, from the invitation request, a second identifier of the first group chat; the processing module 52 is further configured to initiate a second join request according to the second identifier, so that the server joins the member corresponding to the first mobile terminal to the first group chat based on the second join request, where the number of members of the first group chat may continuously increase with the joining of a new member.
In the foregoing scheme, optionally, the processing module 52 is specifically configured to:
when the first identification is a two-dimensional code or a bar code, a first joining request is initiated in a mode of scanning the first identification; or
When the first identifier is a group name of a first group chat, the first identifier is searched first, and a first join request is initiated after the first identifier is searched and when a preset trigger condition is met.
In the foregoing solution, optionally, the processing module 52 is further configured to:
when a first operation is received, adding a newly selected member to the second group chat;
removing selected members from the second group chat upon receiving the second operation.
The group chat device of the embodiment can be arranged in a first mobile terminal.
Those skilled in the art will understand that the implementation functions of each processing unit in the group chat apparatus shown in fig. 5 can be understood by referring to the related description of the group chat method applied to the first mobile terminal. Those skilled in the art will appreciate that the processing units in the group chat apparatus shown in fig. 5 may be implemented by a program running on a processor, and may also be implemented by specific logic circuits.
The specific structure of the acquiring module 51, the processing module 52 and the receiving module 53 in the group chat apparatus in the above embodiments may correspond to a processor in practical application. The specific structure of the processor may be a Central Processing Unit (CPU), a Micro Controller Unit (MCU), a Digital Signal Processor (DSP), a Programmable Logic Controller (PLC), or other electronic components or a collection of electronic components having a Processing function. The processor includes executable codes, the executable codes are stored in a storage medium, the processor can be connected with the storage medium through a communication interface such as a bus, and when the corresponding functions of specific units are executed, the executable codes are read from the storage medium and executed. The portion of the storage medium used to store the executable code is preferably a non-transitory storage medium.
The group chat device can quickly establish a new group chat containing members in the inherent group chat, meets the requirement of multiple persons for establishing the group chat, solves the problem of poor privacy and intimacy which possibly exists due to the fact that the members directly join the inherent group chat, enables newly-joined individuals to join the members in the inherent group chat which the newly-joined individuals want to join as communication objects, can avoid other people to break into the new group chat, ensures the privacy of multiple parties, and is very practical.
The embodiment of the invention also discloses a mobile terminal which comprises the group chat device.
The mobile terminal can rapidly establish the new group chat containing the members in the inherent group chat, meets the requirement of multiple persons for establishing the new group chat, solves the problem of poor privacy and affinity possibly existing due to direct addition of the inherent group chat, enables a newly added individual to add the member in the inherent group chat which the newly added individual wants to add as an exchange object, can avoid other people to break into the new group chat, ensures the privacy of multiple parties, and is very practical.
Example four
The embodiment of the invention provides a group chat device, which is applied to a server, and as shown in fig. 6, the group chat device comprises a communication module 61 and a creation module 62; wherein,
the communication module 61 is configured to forward an invitation request of a second mobile terminal to the first mobile terminal; receiving a first joining request initiated by a first mobile terminal based on a first identifier; wherein the first identifier is obtained by the first mobile terminal from the invitation request;
the creating module 62 is configured to create a second group chat based on the first join request, where the second group chat is a new group chat composed of a member inherent in the first group chat and a member corresponding to the first mobile terminal.
Wherein the first identity is an identity for creating a new group chat.
As an embodiment, the communication module 61 is further configured to send a notification to the first mobile terminal that the second group chat has been successfully created.
Further, the communication module 61 is further configured to receive a second join request initiated by the first mobile terminal based on the second identifier; wherein the second identifier is obtained by the first mobile terminal from the invitation request; wherein, the invitation request comprises a first identifier and a second identifier;
the creating module 62 is configured to join the member corresponding to the first mobile terminal to the first group chat based on a second join request, where the number of members of the first group chat may continuously increase with the joining of a new member.
The first identifier and the second identifier may have the same or different representation forms. For example, the first identifier is identified by a form of a two-dimensional code, and the second identifier is also identified by a form of a two-dimensional code; for another example, the first mark is marked in the form of a bar code, and the second mark is marked in the form of a two-dimensional code.
The group chat device of the embodiment can be arranged in a server.
Those skilled in the art will understand that the functions implemented by each processing unit in the group chat apparatus shown in fig. 6 can be understood by referring to the related description of the group chat method applied to the server. Those skilled in the art will appreciate that the processing units in the group chat apparatus shown in fig. 6 may be implemented by a program running on a processor, and may also be implemented by specific logic circuits.
The communication module 61 and the creating module 62 in the group chat apparatus described in the above embodiments may each correspond to a processor in a specific structure in practical application. The specific structure of the processor can be an electronic component or a collection of electronic components with processing functions, such as a CPU, an MCU, a DSP or a PLC. The processor includes executable codes, the executable codes are stored in a storage medium, the processor can be connected with the storage medium through a communication interface such as a bus, and when the corresponding functions of specific units are executed, the executable codes are read from the storage medium and executed. The portion of the storage medium used to store the executable code is preferably a non-transitory storage medium.
The group chat device can quickly establish a new group chat containing members in the inherent group chat, meets the requirement of multiple persons for establishing the group chat, solves the problem of poor privacy and intimacy which possibly exists due to the fact that the members directly join the inherent group chat, enables newly-joined individuals to join the members in the inherent group chat which the newly-joined individuals want to join as communication objects, can avoid other people to break into the new group chat, ensures the privacy of multiple parties, and is very practical.
The embodiment of the present invention further describes a computer storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used for executing the group chat method described in the foregoing embodiments. That is, after being executed by the processor, the computer-executable instructions can implement the group chat method applied to the first mobile terminal according to any one of the foregoing technical solutions.
The embodiment of the present invention further describes a computer storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used for executing the group chat method described in the foregoing embodiments. That is, after being executed by a processor, the computer-executable instructions can implement the group chat method applied to the server according to any one of the foregoing technical solutions.
The technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
In the embodiments provided in the present invention, it should be understood that the disclosed method and intelligent device may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one second processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.