CN110012438B - Method and system for joining a device-specific message group - Google Patents

Method and system for joining a device-specific message group Download PDF

Info

Publication number
CN110012438B
CN110012438B CN201910222735.1A CN201910222735A CN110012438B CN 110012438 B CN110012438 B CN 110012438B CN 201910222735 A CN201910222735 A CN 201910222735A CN 110012438 B CN110012438 B CN 110012438B
Authority
CN
China
Prior art keywords
group
mobile computing
computing device
wireless network
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910222735.1A
Other languages
Chinese (zh)
Other versions
CN110012438A (en
Inventor
韩壮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing JOnath Network Technology Co ltd
Original Assignee
Beijing JOnath Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing JOnath Network Technology Co ltd filed Critical Beijing JOnath Network Technology Co ltd
Priority to CN201910222735.1A priority Critical patent/CN110012438B/en
Publication of CN110012438A publication Critical patent/CN110012438A/en
Application granted granted Critical
Publication of CN110012438B publication Critical patent/CN110012438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a method and a system for joining a device-specific message group, and relates to the technical field of communication. The method comprises the following steps: detecting, by a mobile computing device, a wireless network signal; in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device; and receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information includes member information currently online in the group. The method of the invention can realize the effect of joining the message group.

Description

Method and system for joining a device-specific message group
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and system for joining a device-specific message group.
Background
With the rapid development of computer technology and communication technology, instant messaging plays an increasingly important role in people's daily life, study and work and brings great convenience to the communication among people. Instant messaging refers to the purpose of allowing two or more users to instantly communicate various data (including voice data, video data, text data) using a network for the purpose of instant communication between the two or more users. Common instant messaging software is: tencent QQ instant messaging software, WeChat, Skype, Aliwang, etc. In order to communicate between two or more users, a group needs to be created between them. However, there are many drawbacks to the creation of groups in instant messaging, as follows.
(1) Groups in existing instant messaging are typically generated based on the originator filling out certain group information or inviting other participants to join in a separate chat window. Thus, the creation of these groups is passive.
(2) The participants need to join by means of invitation or search the group, and a request for joining the group is made to the group administrator and is approved by the administrator before successfully joining the group. Thus, the manner of participation of the participants is limited.
(3) The position range of the traditional group cannot be limited to a relatively precise area, and the members of the group cannot be precisely positioned.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method and system for joining a device-specific message group, which can achieve the advantages that the group is actively created and participants flexibly join the group.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method for joining a device-specific message group, including:
detecting, by a mobile computing device, a wireless network signal;
in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device; and
receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information includes member information currently online in the group.
Optionally, wherein the group information is obtained by the server in response to receiving the indication from the mobile computing device, wherein obtaining the group information comprises detecting, by the server, whether a group corresponding to the wireless network device exists, in the absence of the group, automatically creating, by the server, the group corresponding to the unique device identifier, and joining the mobile computing device to the group as a member of the group.
Optionally, wherein the server, in a case that it is determined that the group exists, further determines whether the mobile computing device has ever joined the group, and if the mobile computing device has not joined the group, sends a prompt message to the mobile computing device prompting whether the mobile computing device joined the group, together with group information for the group.
Optionally, wherein the server further determines whether the mobile computing device last exited the group was actively exited or was removed by an administrator of the group if it is determined that the mobile computing device has ever joined the user group, and sends a prompt message to the mobile computing device prompting whether the mobile computing device should join the group again, along with group information for the group, if the mobile computing device was actively exited the group.
Optionally, wherein, in the event that the mobile computing device is moved out of the group by the administrator, the server does not send any prompting message to the mobile computing device, or sends an option to the mobile computing device along with group information for the group that allows the mobile computing device to apply for rejoining the group, and if the mobile computing device sends a request to the server to apply for rejoining the group, prompting the administrator of the group whether to approve the request in response to the request.
Optionally, wherein the name of the group is further determined based on geographical location information of the wireless network device.
Optionally, wherein the server removes the mobile computing device from the list of current online members of the group upon detecting that the mobile computing device has disconnected from the wireless network device.
Optionally, wherein removing the mobile computing device from the list of current online members of the group comprises:
upon determining that the mobile computing device is still able to communicate with the server over another communication connection different from the wireless network device, setting a state of the mobile computing device in the group to a semi-offline state;
upon determining that the mobile computing device is unable to communicate with the server over any connection, setting a state of the mobile computing device in the group to a fully offline state.
Optionally, wherein the indication is sent by the mobile computing device to the server via another network connection different from the wireless network device.
According to another aspect of embodiments of the present invention, there is provided a system for joining a device-specific message group, wherein the system comprises a mobile computing device, a server, and a wireless network device for connecting the mobile computing device and the server, wherein the mobile computing device is configured to: detecting a wireless network signal; in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device; and receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information includes member information currently online in the group.
Optionally, wherein the server is configured to obtain the group information in response to receiving the indication from the mobile computing device, wherein the server is further configured to: detecting whether a group corresponding to the wireless network device exists, automatically creating a group corresponding to the unique device identifier if the group does not exist, and joining the mobile computing device to the group as a member of the group.
Optionally, wherein the server is further configured to: in an instance in which it is determined that the group exists, further determining whether the mobile computing device has ever joined the group, and if the mobile computing device has not joined the group, sending a prompt message to the mobile computing device prompting whether the mobile computing device joined the group along with group information for the group.
Optionally, wherein the server is further configured to: in an instance in which it is determined that the mobile computing device has ever joined the group of users, it is further determined whether the mobile computing device last exited the group is an active exit or was removed by an administrator of the group, and in an instance in which the mobile computing device was actively exiting the group, a prompt message is sent to the mobile computing device along with group information for the group prompting whether the mobile computing device should rejoin the group.
Optionally, wherein the server is further configured to: in the event that the mobile computing device is moved out of the group by the administrator, no prompting message is sent to the mobile computing device, or an option is sent to the mobile computing device along with group information for the group that allows the mobile computing device to apply for rejoining the group, and if the mobile computing device sends a request to the server to apply for rejoining the group, the administrator for the group is prompted in response to the request whether to approve the request.
Optionally, wherein the name of the group is further determined based on geographical location information of the wireless network device.
Optionally, wherein the server is further configured to remove the mobile computing device from the list of current online members of the group upon detecting that the mobile computing device has disconnected from the wireless network device.
Optionally, wherein the server is further configured to: upon determining that the mobile computing device is still able to communicate with the server over another communication connection different from the wireless network device, setting a state of the mobile computing device in the group to a semi-offline state; and upon determining that the mobile computing device is unable to communicate with the server over any connection, setting a state of the mobile computing device in the group to a fully offline state.
Optionally, wherein the mobile computing device is configured to send the indication to the server via another network connection different from the wireless network device.
According to yet another aspect of embodiments of the present invention, there is provided an electronic device for joining a device-specific message group, comprising:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform methods provided in accordance with embodiments of the present invention.
According to yet another aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method provided according to embodiments of the present invention.
One embodiment of the above invention has the following advantages or benefits: compared with the prior art, the invention detects wireless network signals by the mobile computing equipment; in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device; and receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information comprises the information of the members currently on line in the group, thereby achieving the effect of joining the message group.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a flow diagram of a method for joining a device-specific message group in accordance with an embodiment of the present invention;
FIG. 2 is another flow diagram of a method for joining a device-specific message group in accordance with an embodiment of the present invention;
FIG. 3 is a block diagram of a system for joining a device-specific message group according to an embodiment of the present invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be employed; and
fig. 5 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a method for joining a device-specific message group according to an embodiment of the present invention, and as shown in fig. 1, the method for implementing instant message communication according to an embodiment of the present invention includes steps S101, S102, and S103.
Step S101: a wireless network signal is detected by a mobile computing device.
The wireless network signal may refer to, for example, a wireless network device signal or a bluetooth signal or an infrared signal, etc. In this document, the present application is mainly illustrated by taking a wireless network device signal as an example, but the present application is not limited thereto. The wireless network signals are typically provided by wireless network devices, such as routers. The same wireless network device may mean that at least one mobile computing device is connected to the same network segment. That is, the MAC addresses of the routers of the nearest level to which these mobile computing devices are connected are the same. The mobile computing device may refer to a laptop, a tablet, a mobile phone, etc. These mobile computing devices may connect to the wireless network device via wired or wireless means. If the mobile computing device successfully connects to the wireless network device after entering the password for the wireless network device, an indication is sent to a server indicating that the mobile computing device has successfully connected to the wireless network device, i.e., a wireless network device. If the mobile computing device fails to successfully connect to the wireless network device, refraining from sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device. The indication comprises a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device
After the mobile computing device successfully connects to the wireless network device, the mobile computing device obtains information (such as a MAC address or service set identifier) of a router of the wireless network device and sends the obtained information of the router of the wireless network device to a server.
Step S102: in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device.
The service set identifier of the wireless network device refers to the name of the wireless network device, i.e., the broadcast address of the router. The group may be identified by a unique identifier consisting of a service set identifier and/or a MAC address of the wireless network device, preferably also by a MAC address as unique identifier.
The service set identifier may include an SSID or a BSSID, and the BSSID may or may not be the same as the MAC address described above. The BSSID of the router obtained by some mobile computing devices is understood or identical to the MAC address in nature, wherein BSSID refers to the MAC address of the router.
After receiving the information of the router of the wireless network device, the server queries a group in a database of the server according to the received information to determine whether a group matching the received information exists in the database.
Step S103: receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information includes member information currently online in the group.
One embodiment of the above invention has the following advantages or benefits: compared with the prior art, the invention detects wireless network signals by the mobile computing equipment; in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device; and receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information comprises the information of the members currently on line in the group, thereby achieving the effect of joining the message group.
A further description of a method for joining a device-specific message group according to an embodiment of the invention is exemplarily described below in connection with fig. 2.
Fig. 2 is another flow diagram of a method for joining a device-specific message group in accordance with an embodiment of the present invention. As shown in fig. 2, the method for implementing instant message communication according to an embodiment of the present invention includes steps S201 to S208.
Step S201: a wireless network signal is detected by a mobile computing device.
Step S202: in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device.
Step S203: receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information includes member information currently online in the group.
Step S204: obtaining, by the server, the group information in response to receiving the indication from the mobile computing device, wherein obtaining the group information comprises detecting, by the server, whether a group corresponding to the wireless network device exists,
step S205: in the absence of the group, automatically creating, by the server, a group corresponding to the unique device identifier and joining the mobile computing device to the group as a member of the group.
Step S206: determining, by the server, if the group is determined to exist, whether the mobile computing device has ever joined the group.
Step S207: if the mobile computing device has not joined the group, sending a prompt message to the mobile computing device, along with group information for the group, prompting whether the mobile computing device joined the group.
Step S208: determining, by the server, whether the mobile computing device last exited the group was actively exited or was removed by an administrator of the group, if it was determined that the mobile computing device has ever joined the group of users.
Step S209: sending a prompt message to the mobile computing device prompting whether the mobile computing device rejoins the group with the group information for the group if the mobile computing device is actively exiting the group.
Step S210: in the event that the mobile computing device is moved out of the group by the administrator, the server does not send any prompting message to the mobile computing device, or sends an option to the mobile computing device along with the group information for the group to allow the mobile computing device to apply for rejoining the group, and if the mobile computing device sends a request to the server to apply for rejoining the group, prompts the administrator for the group whether to approve the request in response to the request.
If a mobile computing device moved out of the group by the administrator of the group wants to join the group again, the mobile computing device needs to actively send a request to a server for joining the group and wait for approval of the administrator of the group. After receiving the request, the server prompts the administrator of the group whether to approve the request.
Further, after the mobile computing device successfully joins the group, the server automatically sends a prompt to the mobile computing device that the joining was successful while sending another prompt to other members of the group to notify that there are new members to join.
Moreover, the name of the group is further determined based on geographic location information of the wireless network device. For example, take the example of creating a group name of "starbucks Yongding road shop". Firstly, the position information of the wireless network equipment is matched with the name of a merchant and the position information of the name of the merchant database to determine that the name of the merchant is starbucks and the position information is a permanent road, so that the group name of the starbucks permanent road shop is determined.
Further, upon detecting that the mobile computing device has disconnected from the wireless network device, the server removes the mobile computing device from the list of current online members of the group.
In some cases, if the IP address of the mobile computing device changes, the mobile computing device is removed from the list of current online members of the group by determining that the mobile computing device has disconnected from the wireless network device by determining that the connection state of the network of the mobile computing device is in the context of a mobile network or in the context of a router connected to other wireless network devices.
In other cases, if a mobile computing device is not detected to be connected to a wireless network device within a certain time threshold, it is determined that the mobile computing device has disconnected from the wireless network device, at which time the mobile computing device is also removed from the list of currently online members of the group.
Further, removing the mobile computing device from the list of current online members of the group comprises: upon determining that the mobile computing device is still able to communicate with the server over another communication connection different from the wireless network device, setting a state of the mobile computing device in the group to a semi-offline state; and upon determining that the mobile computing device is unable to communicate with the server over any connection, setting a state of the mobile computing device in the group to a fully offline state. For example, if it is determined that the mobile computing device has disconnected from the wireless network device, it is further determined whether the mobile computing device is capable of communicating with the server over a cellular network, and if so, the state of the mobile computing device in the group is set to a semi-offline state. A semi-offline state, as used herein, refers to a state in which the mobile computing device is still able to communicate with the server via another communication connection different from the wireless network device after being disconnected from the wireless network device, and in the semi-offline state, the mobile computing device can still receive session information between the group members to facilitate real-time group dynamics awareness. After determining that the mobile computing device is unable to connect to a server by any means, setting a state of the mobile computing device in the group to a fully offline state. When the mobile computing device is in a fully offline state, the mobile computing device does not obtain any information for the group.
Furthermore, the chat mode is further described based on the above method.
Two chat modes, a compact mode and a full network mode, are described below.
In the compact mode, if the mobile computing device is connected to the server through the wireless network device, the mobile computing device may join the chat of the group; the mobile computing device then automatically exits the chat of the group if the mobile computing device disconnects from the wireless network device, wherein an administrator of the group does not automatically exit the chat of the group but remains in the group and is set to be in a semi-offline state if the connection to the wireless network device is disconnected. In the case where multiple mobile computing devices are connected to a server through the same wireless network device, peer-to-peer chats are initiated among the members of the group without the need to add friends.
In a full network mode, if the mobile computing device is connected to the server through a wireless network device, the mobile computing device may join a chat of the group; then, if the mobile computing device disconnects from the wireless network device, the mobile computing device continues to remain in the group and is set to a semi-offline state without exiting the chat of the group. Initiating point-to-point chatting among members of the group, firstly judging whether the members are under the same wireless network equipment, and if any one of the members is not under the same wireless network equipment, prompting the member to perform friend adding operation so as to continue to participate in the chatting. Wherein the member's avatar has a status indicator for displaying whether the member is currently under the wireless network device to which the group belongs.
One embodiment of the above invention has the following advantages or benefits: compared with the prior art, the invention detects wireless network signals by the mobile computing equipment; in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device; and receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information comprises the information of the members currently on line in the group, thereby achieving the effect of joining the message group.
Fig. 3 is a block diagram of a system for joining a device-specific message group according to an embodiment of the present invention. As shown in fig. 3, a system for joining a device-specific message group according to an embodiment of the present invention includes a mobile computing device 301, a server 302, a wireless network device 303, and a cloud network 304.
The mobile computing device 301 communicates with the server over a cloud network 304 without successfully connecting to the wireless network device 303 or disconnecting from the wireless network device 303. After the mobile computing device 301 successfully connects to the wireless network device 303, the mobile computing device 301 communicates with the server 302 via the wireless network device 303.
The mobile computing device 301 may be configured to: detecting a wireless network signal; in response to the mobile computing device 301 successfully connecting to the wireless network device 303, sending an indication to the server 302 indicating that the mobile computing device 301 has successfully connected to the wireless network device 303, the indication comprising a unique device identifier of the wireless network device 303 based on a service set identifier and/or MAC address of the wireless network device 303; and receiving group information for a group corresponding to the unique device identifier from the server 302, wherein the group information includes member information currently online in the group.
The server 302 may be configured to obtain the group information in response to receiving the indication from the mobile computing device 301, wherein the server 302 is further configured to: detecting whether a group corresponding to the wireless network device 303 exists, in the absence of the group, automatically creating a group corresponding to the unique device identifier, and joining the mobile computing device 301 to the group as a member of the group.
The server 302 may be further configured to: in the event that it is determined that the group exists, it is further determined whether the mobile computing device 301 has ever joined the group, and if the mobile computing device 301 has not joined the group, a prompt message is sent to the mobile computing device 301, along with group information for the group, prompting whether the mobile computing device 301 joined the group.
The server 302 is further configured to: in the event that it is determined that the mobile computing device 301 has ever joined the user group, it is further determined whether the mobile computing device 301 last exited the group is an active exit or was removed by an administrator of the group, and in the event that the mobile computing device 301 was actively exiting the group, a prompt message is sent to the mobile computing device 301 along with the group information for the group prompting whether the mobile computing device 301 should join the group again.
The server 302 may be further configured to: in the event that the mobile computing device 301 is moved out of the group by the administrator, no prompting message is sent to the mobile computing device 301, or an option is sent to the mobile computing device 301 along with the group information for the group to allow the mobile computing device 301 to apply for rejoining the group, and if the mobile computing device 301 sends a request to the server 302 to apply for rejoining the group, the administrator for the group is prompted in response to the request whether to approve the request.
The name of the group may be further determined based on geographical location information of the wireless network device 303. For example, take the example of creating a group name of "starbucks Yongding road shop". Firstly, the position information of the wireless network equipment is matched with the name of a merchant and the position information of the name of the merchant database to determine that the name of the merchant is starbucks and the position information is a permanent road, so that the group name of the starbucks permanent road shop is determined.
The server 302 may be further configured to remove the mobile computing device 301 from the list of current online members of the group upon detecting that the mobile computing device 301 has disconnected from the wireless network device 303.
In some cases, if the IP address of the mobile computing device 301 changes, the mobile computing device 301 is removed from the list of currently online members of the group by determining that the mobile computing device 301 has disconnected from the wireless network device 303 by determining that the connection status of the network of the mobile computing device 301 is in the context of a mobile network or in the context of connecting to other wireless network device routers.
In other cases, if the mobile computing device 301 fails to detect connection to the wireless network device 303 within a certain time threshold, it is determined that the mobile computing device 301 has disconnected from the wireless network device, at which time the mobile computing device 301 is also removed from the list of current online members of the group.
The server 302 is further configured to: upon determining that the mobile computing device 301 is still able to communicate with the server through another communication (e.g., a cloud network 304 (which may be a cellular network)) connection different from the wireless network device 303, setting the state of the mobile computing device in the group to a semi-offline state; and upon determining that the mobile computing device 301 is unable to communicate with the server 302 over any connection, setting the state of the mobile computing device 301 in the group to a fully offline state. For example, if it is determined that the mobile computing device 301 has disconnected from the wireless network device 303, it is further determined whether the mobile computing device 301 is capable of communicating with the server 302 over a cloud network 304 (e.g., a cellular network), and if so, the status of the mobile computing device 301 in the group is set to a semi-offline status. A semi-offline state, in which the mobile computing device 301 may still receive session information between group members to facilitate real-time group dynamics understanding, refers herein to a state in which the mobile computing device 301 is still able to communicate with the server 302 via another communication (e.g., cloud network 304) connection different from the wireless network device 303 after being disconnected from the wireless network device. After determining that the mobile computing device 301 is unable to connect to the server 302 by any means, the state of the mobile computing device 301 in the group is set to a fully offline state. When the mobile computing device 301 is in a fully offline state, the mobile computing device 301 does not obtain any information for the group.
The mobile computing device 301 may be configured to send the indication to the server 302 via another network connection (e.g., a cloud network 304) different from the wireless network device 303.
In some cases, if the IP address of the mobile computing device changes, the mobile computing device is removed from the group by determining that the mobile computing device has disconnected from the wireless network device by determining that the connection state of the network of the mobile computing device is in the context of a mobile network or in the context of a router connected to other wireless network devices.
In other cases, if a mobile computing device is not detected to be connected to a wireless network device within a time threshold, it is determined that the mobile computing device has disconnected from the wireless network device, at which point the mobile computing device is removed from the group.
Furthermore, the chat mode is further described based on the above method.
Two chat modes, a compact mode and a full network mode, are described below.
In the compact mode, if the mobile computing device is connected to the server through the wireless network device, the mobile computing device may join the chat of the group; the mobile computing device then automatically exits the chat of the group if the mobile computing device disconnects from the wireless network device, wherein an administrator of the group does not automatically exit the chat of the group but remains in the group and is set to be in a semi-offline state if the connection to the wireless network device is disconnected. In the case where multiple mobile computing devices are connected to a server through the same wireless network device, peer-to-peer chats are initiated among the members of the group without the need to add friends.
In a full network mode, if the mobile computing device is connected to the server through a wireless network device, the mobile computing device may join a chat of the group; then, if the mobile computing device disconnects from the wireless network device, the mobile computing device continues to remain in the group and is set to a semi-offline state without exiting the chat of the group. Initiating point-to-point chatting among members of the group, firstly judging whether the members are under the same wireless network equipment, and if any one of the members is not under the same wireless network equipment, prompting the member to perform friend adding operation so as to continue to participate in the chatting. Wherein the member's avatar has a status indicator for displaying whether the member is currently under the wireless network device to which the group belongs.
One embodiment of the above invention has the following advantages or benefits: compared with the prior art, the invention detects wireless network signals by the mobile computing equipment; in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device; and receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information comprises the information of the members currently on line in the group, thereby achieving the effect of joining the message group.
Fig. 4 illustrates an exemplary system architecture 400 for a method and apparatus for creating groups under the same wireless network device to which embodiments of the present invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 serves as a medium for providing communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 401, 402, 403 to interact with a server 405 over a network 404 to receive or send messages or the like. The terminal devices 401, 402, 403 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 405 may be a server providing various services, such as a background management server (for example only) providing support for a streaming website browsed by a user using the terminal devices 401, 402, 403. The background management server may analyze and perform other processing on the received data such as the information query request, and feed back a processing result (for example, target push information and product information — just an example) to the terminal device.
It should be noted that the method for implementing instant message communication provided by the embodiment of the present invention is generally executed by the terminal devices 401, 402, and 403, and accordingly, the apparatus for implementing instant message communication is generally disposed in the terminal devices 401, 402, and 403.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, shown is a block diagram of a computer system 500 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be provided in a processor.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: detecting, by a mobile computing device, a wireless network signal; in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device; and receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information includes member information currently online in the group. The method of the invention can realize the effect of joining the message group.
One embodiment of the above invention has the following advantages or benefits: compared with the prior art, the invention detects wireless network signals by the mobile computing equipment; in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device; and receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information comprises the information of the members currently on line in the group, thereby achieving the effect of joining the message group.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (18)

1. A method for joining a device-specific group of messages, comprising:
detecting, by a mobile computing device, a wireless network signal;
in response to the mobile computing device successfully connecting to a wireless network device, sending an indication to a server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device;
receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information includes member information currently online in the group; and
removing the mobile computing device from the list of current online members of the group when the mobile computing device has disconnected from the wireless network device, wherein the removing of the mobile computing device from the list of current online members of the group comprises:
the state of the mobile computing device in the group is set to a semi-offline state if the mobile computing device is still able to communicate with the server through another communication connection different from the wireless network device.
2. The method of claim 1, wherein the group information is obtained by the server in response to receiving the indication from the mobile computing device, wherein obtaining the group information comprises detecting, by the server, whether a group corresponding to the wireless network device exists, in the absence of the group, automatically creating, by the server, the group corresponding to the unique device identifier, and joining the mobile computing device to the group as a member of the group.
3. The method of claim 2, wherein the server, upon determining that the group exists, further determines whether the mobile computing device has ever joined the group, and if the mobile computing device has not joined the group, sends a prompt message to the mobile computing device prompting whether the mobile computing device joined the group along with group information for the group.
4. The method of claim 3, wherein the server, in an instance in which it is determined that the mobile computing device has ever joined the group, further determines whether the mobile computing device last exited the group is an active exit or was removed by an administrator of the group, and in an instance in which the mobile computing device was actively exiting the group, sends a prompt message to the mobile computing device along with group information for the group prompting whether the mobile computing device should rejoin the group.
5. The method of claim 4, wherein the server does not send any prompting message to the mobile computing device if the mobile computing device is moved out of the group by the administrator, or sends an option to the mobile computing device along with group information for the group that allows the mobile computing device to apply for rejoining the group, and if the mobile computing device sends a request to the server to apply for rejoining the group, prompts the administrator of the group whether to approve the request in response to the request.
6. The method of claim 1, wherein the name of the group is determined further based on geographic location information of the wireless network device.
7. The method of claim 1, wherein the mobile computing device being removed from the list of current online members of the group comprises:
the state of the mobile computing device in the group is set to a fully offline state if the mobile computing device is unable to communicate with the server over any connection.
8. The method of claim 1, wherein the indication is sent by the mobile computing device to the server via another network connection different from the wireless network device.
9. A system for joining a device-specific message group, the system comprising a mobile computing device, a server, and a wireless network device for connecting the mobile computing device and the server,
wherein the mobile computing device is configured to:
detecting a wireless network signal;
in response to the mobile computing device successfully connecting to the wireless network device, sending an indication to the server indicating that the mobile computing device has successfully connected to the wireless network device, the indication comprising a unique device identifier of the wireless network device based on a service set identifier and/or a MAC address of the wireless network device;
receiving group information of a group corresponding to the unique device identifier from the server, wherein the group information includes member information currently online in the group; and
removing the mobile computing device from the list of current online members of the group when the mobile computing device has disconnected from the wireless network device, wherein the removing of the mobile computing device from the list of current online members of the group comprises:
the state of the mobile computing device in the group is set to a semi-offline state if the mobile computing device is still able to communicate with the server through another communication connection different from the wireless network device.
10. The system of claim 9, wherein the server is configured to obtain the group information in response to receiving the indication from the mobile computing device, wherein the server is further configured to: detecting whether a group corresponding to the wireless network device exists, automatically creating a group corresponding to the unique device identifier if the group does not exist, and joining the mobile computing device to the group as a member of the group.
11. The system of claim 10, wherein the server is further configured to: in an instance in which it is determined that the group exists, further determining whether the mobile computing device has ever joined the group, and if the mobile computing device has not joined the group, sending a prompt message to the mobile computing device prompting whether the mobile computing device joined the group along with group information for the group.
12. The system of claim 11, wherein the server is further configured to: in an instance in which it is determined that the mobile computing device has ever joined the group, further determining whether the mobile computing device last exited the group was an active exit or was removed by an administrator of the group, and in an instance in which the mobile computing device was actively exiting the group, sending a prompt message to the mobile computing device along with group information for the group prompting whether the mobile computing device should rejoin the group.
13. The system of claim 12, wherein the server is further configured to: in the event that the mobile computing device is moved out of the group by the administrator, no prompting message is sent to the mobile computing device, or an option is sent to the mobile computing device along with group information for the group that allows the mobile computing device to apply for rejoining the group, and if the mobile computing device sends a request to the server to apply for rejoining the group, the administrator for the group is prompted in response to the request whether to approve the request.
14. The system of claim 9, wherein the name of the group is further determined based on geographic location information of the wireless network device.
15. The system of claim 9, wherein the server is further configured to:
the state of the mobile computing device in the group is set to a fully offline state if the mobile computing device is unable to communicate with the server over any connection.
16. The system of claim 9, wherein the mobile computing device is configured to send the indication to the server via another network connection different from the wireless network device.
17. An electronic device for joining a device-specific message group, comprising:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-8.
18. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.
CN201910222735.1A 2019-03-22 2019-03-22 Method and system for joining a device-specific message group Active CN110012438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910222735.1A CN110012438B (en) 2019-03-22 2019-03-22 Method and system for joining a device-specific message group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910222735.1A CN110012438B (en) 2019-03-22 2019-03-22 Method and system for joining a device-specific message group

Publications (2)

Publication Number Publication Date
CN110012438A CN110012438A (en) 2019-07-12
CN110012438B true CN110012438B (en) 2022-02-15

Family

ID=67167814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910222735.1A Active CN110012438B (en) 2019-03-22 2019-03-22 Method and system for joining a device-specific message group

Country Status (1)

Country Link
CN (1) CN110012438B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202173A (en) * 2014-08-11 2014-12-10 鸿富锦精密工业(深圳)有限公司 Terminal device and group joining control method, server and group invitation method
CN104468327A (en) * 2014-11-28 2015-03-25 深圳市腾讯计算机系统有限公司 Group joining method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10395278B2 (en) * 2015-01-23 2019-08-27 Bluefox, Inc. Mobile device detection and engaging
US10554602B2 (en) * 2015-05-15 2020-02-04 Samsung Electronics Co., Ltd. User terminal apparatus, server, and control method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202173A (en) * 2014-08-11 2014-12-10 鸿富锦精密工业(深圳)有限公司 Terminal device and group joining control method, server and group invitation method
CN104468327A (en) * 2014-11-28 2015-03-25 深圳市腾讯计算机系统有限公司 Group joining method, device and system

Also Published As

Publication number Publication date
CN110012438A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
EP2898420B1 (en) A data-sharing method, terminal, server, and system
CN107294742B (en) Method and device for creating conference group and server
US9813852B2 (en) System and method for positioning terminal
US10334397B2 (en) Interaction tracking and organizing system
JP5891559B2 (en) Instant messaging method, terminal, server and system
US10574782B2 (en) Method and server for generating contact relationship data in network communication system
CN107483320B (en) Group creation method and server
US20110282953A1 (en) Method and apparatus for providing message conversation by group in a messaging service
US9065788B2 (en) Method, device and system for voice communication
EP3437253A1 (en) Cross-mode communication
WO2016010921A1 (en) Creating a user group
US20150215579A1 (en) Method, apparatus, system, and storage medium for video call and video call control
US20100125580A1 (en) Automatic buddy management
EP2974159B1 (en) Method, device and system for voice communication
CN106411713B (en) State notification method and server
US20140089430A1 (en) Data-sharing method, terminal, server, and system
US20150055551A1 (en) Mobile wireless access point notification delivery for periodically disconnected mobile devices
KR101545663B1 (en) Device, system and method for changing multi-user relationship chain
CN110012438B (en) Method and system for joining a device-specific message group
US20110307563A1 (en) Determining group chat access
CN110086706B (en) Method and system for joining a device-specific message group
US8984062B2 (en) System and method for managing hunt groups
US10148707B2 (en) System and method for maintaining a collaborative environment
US20140324987A1 (en) Method for communicating with a public id and public id assistant device
CN105681262A (en) Interaction message allocating method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant