Summary of the invention
In view of this, the embodiment of the present invention provide it is a kind of for be added specific to the message group of equipment method and beSystem can be realized group and initiatively be created and the advantages of the group is flexibly added by participant.
To achieve the above object, according to an aspect of an embodiment of the present invention, it provides a kind of for being added specific to settingThe method of standby message group, which comprises
It is successfully connected to the first Wireless Communication Equipment in response to mobile computing device, via first Wireless Communication EquipmentAnd second the network equipment sent to the server for being connected to internet and indicate that the mobile computing device has been successfully connected to instituteThe instruction of the first Wireless Communication Equipment and second network equipment is stated, the mobile computing device is operable to establish and firstWireless network is added, first Wireless Communication Equipment is configured as via the second network the wireless connection of Wireless Communication EquipmentEquipment is connected to internet, and the instruction includes the first MAC Address and second network of first Wireless Communication EquipmentSecond MAC Address of equipment;And
The first MAC Address and second network equipment with first Wireless Communication Equipment are received from the serverThe corresponding group of the second MAC Address group information, wherein the group information includes current online in the groupInformation about firms.
Optionally, the group information is the server in response to receiving the instruction from the mobile computing deviceAnd obtain, wherein obtaining the group information includes being detected whether to exist by the server to set with first wireless networkThe corresponding group of standby and described second network equipment, it is further by the server in the case where the group is not presentWhether the second MAC Address of the first MAC Address and second network equipment that determine first Wireless Communication Equipment is identical,And if the first MAC Address of first Wireless Communication Equipment is identical with the second MAC Address of second network equipment,By the server automatically create group corresponding with the MAC Address and using the mobile computing device be added the group asThe member of the group.
Optionally, if the second of the first MAC Address of first Wireless Communication Equipment and second network equipmentMAC Address is not identical, is automatically created by the server corresponding with the first MAC Address of first Wireless Communication EquipmentFirst group and the second group corresponding with the second MAC Address of second network equipment and by the mobile computing deviceFirst group and second group is added respectively as the member of first group and second group, and needleSet membership is established in the database of the server to first MAC Address and second MAC Address, wherein describedFirst MAC Address is arranged to sub- MAC Address and second MAC Address is arranged to father's MAC Address, and/or is directed to instituteIt states the first group and second group establishes set membership in the database of the server, wherein first group quiltIt is set as subgroup and second group is arranged to father group.
Optionally, the server is set with first wireless network detecting that the mobile computing device is already offWhen standby connection, the mobile computing device is removed from the list of the current online member of the group.
Optionally, the mobile computing device is removed from the list of the current online member of the group and includes:
Determining the mobile computing device by another communication connection different from first Wireless Communication Equipment stillWhen so can be with the server communication, half offline shape be set by state of the mobile computing device in the groupState;And
When determining that the mobile computing device can not be by any connection and the server communication, by the mobile meterIt calculates state of the equipment in the group and is set as complete off-line state.
Optionally, the instruction be the mobile computing device via with first Wireless Communication Equipment and described secondThe different another network connection of the network equipment is sent to the server.
Other side according to an embodiment of the present invention provides a kind of for being added specific to the message group of equipmentSystem, wherein the system comprises mobile computing device, server, the first Wireless Communication Equipment and second network equipment,In, the mobile computing device is operable to establish and the wireless connection of the first Wireless Communication Equipment is to be added wireless network, instituteIt states the first Wireless Communication Equipment to be configured as being connected to internet via second network equipment, wherein the mobile computing deviceIt is configured as: being successfully connected to the first Wireless Communication Equipment in response to the mobile computing device, via first wireless networkNetwork equipment and second network equipment are sent to the server for being connected to internet indicates that the mobile computing device has becomeFunction is connected to the instruction of first Wireless Communication Equipment and second network equipment, and the instruction includes described first wirelessSecond MAC Address of the first MAC Address of the network equipment and second network equipment;And from the server receive and instituteState the first MAC Address of the first Wireless Communication Equipment and the corresponding group of the second MAC Address of second network equipmentGroup information, wherein the group information includes current online information about firms in the group.
Optionally, the server is configured to respond to receive the instruction from the mobile computing device and obtainThe group information, wherein the server is configured to: detect whether exist and first Wireless Communication EquipmentGroup corresponding with second network equipment, it is further true by the server in the case where the group is not presentWhether the first MAC Address of fixed first Wireless Communication Equipment and the second MAC Address of second network equipment are identical, such asFirst MAC Address of the first Wireless Communication Equipment described in fruit is identical with the second MAC Address of second network equipment, by describedServer automatically creates group corresponding with the MAC Address and the group is added as the group in the mobile computing deviceMember.
Optionally, the server is configured to: if the first MAC Address of first Wireless Communication EquipmentIt is not identical with the second MAC Address of second network equipment, automatically create the first MAC with first Wireless Communication EquipmentCorresponding first group in address and the second group corresponding with the second MAC Address of second network equipment simultaneously will be describedFirst group and second group is added respectively as first group and second group in mobile computing deviceMember, and establish father and son in the database of the server for first MAC Address and second MAC AddressRelationship, wherein first MAC Address is arranged to sub- MAC Address and second MAC Address with being arranged to father MACLocation, and/or set membership is established in the database of the server for first group and second group, whereinFirst group is arranged to subgroup and second group is arranged to father group.
Optionally, the server be configured to detect the mobile computing device it is already off with it is describedWhen the connection of the first Wireless Communication Equipment, the mobile computing device is moved from the list of the current online member of the groupIt removes.
Optionally, the server is configured to: determining the mobile computing device by with described firstWhen the different another communication connection of Wireless Communication Equipment still is able to the server communication, the mobile computing device is existedState in the group is set as half off-line state;And determine the mobile computing device can not by any connection withWhen the server communication, complete off-line state is set by state of the mobile computing device in the group.
Optionally, the instruction be the mobile computing device via with first Wireless Communication Equipment and described secondThe different another network connection of the network equipment is sent to the server.
Another aspect according to an embodiment of the present invention provides a kind of for being added specific to the message group of equipmentElectronic equipment, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of placesWhat reason device execution provided according to embodiments of the present invention is used to that the method specific to the message group of equipment to be added.
Another aspect according to an embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon withComputer program, realization provides specific for being added according to embodiments of the present invention when the computer program is executed by processorIn the method for the message group of equipment.
One embodiment in foregoing invention has the following advantages that or the utility model has the advantages that compared with prior art, the present invention is rungMobile computing device described in Ying Yu is successfully connected to first Wireless Communication Equipment, via first Wireless Communication Equipment withAnd second network equipment sends to the server for being connected to internet and indicates that the mobile computing device has been successfully connected toThe instruction of first Wireless Communication Equipment and second network equipment, the mobile computing device are operable to establish and theWireless network is added, first Wireless Communication Equipment is configured as via the second net the wireless connection of one Wireless Communication EquipmentNetwork equipment is connected to internet, and the instruction includes the first MAC Address and second net of first Wireless Communication EquipmentSecond MAC Address of network equipment;It is received and the first MAC Address of first Wireless Communication Equipment and described from the serverThe group information of the corresponding group of the second MAC Address of second network equipment, wherein the group information includes the groupIn current online information about firms.The availability of message group can be made more preferable using method of the invention.
Further effect possessed by above-mentioned non-usual optional way adds hereinafter in conjunction with specific embodimentWith explanation.
Specific embodiment
Below in conjunction with attached drawing, an exemplary embodiment of the present invention will be described, including the various of the embodiment of the present inventionDetails should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognizeIt arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from scope and spirit of the present invention.TogetherSample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
Figure 1A is a kind of block diagram of WLAN networking of the prior art.As shown in Figure 1A, the WLAN networking is mainly with home networkNetwork networking model is illustrated.As shown in Figure 1A, AP (Access Point) is a wireless access point, the centromere of networkPoint can be router etc..STA (station) (such as STA1, STA2 etc.) is a website, accesses any of wireless apsThe mobile computing devices such as one equipment, the notebook with wireless network card or the mobile phone with wireless network card.STA viaAP and ADSL Modem and be connected to internet (Internet), at present normal mode be AP and modem unificationHousehold radio router.
Figure 1B is the block diagram of another WLAN networking of the prior art.As shown in Figure 1B, the networking is mainly with AC-AP networkingMode is illustrated.As shown in Figure 1B, AP (such as AP1, AP2 etc.) is a wireless access point, and the central node of network canThink router etc.;STA (such as STA1, STA2 etc.) is a website, accesses any one equipment of wireless aps, such as withThe mobile computing devices such as the notebook of wireless network card or mobile phone with wireless network card;AC (Access Controller) isOne access controller.STA is connected to router by the control of AC via AP, interchanger and router and then accesses cloud netThe networking of network is referred to as AC-AP networking.Under AC-AP networking model, AC be responsible for from the data of different AP enter convergence simultaneouslyAnd access cloud network, it is completed at the same time the configuration management of AP equipment, the certification of wireless user, management and broadband-access, safety etc. and controlsFunction processed;STA is connected to cloud network via AP and router.
Fig. 2 is according to an embodiment of the present invention for the main flow of the method specific to the message group of equipment to be addedSchematic diagram, as shown in Fig. 2, the method according to an embodiment of the present invention for being added specific to the message group of equipment includes stepS201, S202 and S203.
Step S201: being successfully connected to the first Wireless Communication Equipment in response to mobile computing device, via first nothingThe line network equipment and second network equipment are sent to the server for being connected to internet indicates that the mobile computing device has becomeFunction is connected to the instruction of first Wireless Communication Equipment and second network equipment, and the mobile computing device is operable toEstablish with the wireless connection of the first Wireless Communication Equipment to be added wireless network, first Wireless Communication Equipment be configured as throughInternet is connected to by second network equipment, the instruction includes the first MAC Address and the institute of first Wireless Communication EquipmentState the second MAC Address of second network equipment.
It include: detection wireless network signal by mobile computing device addition wireless network;To belonging to the wireless network signalWireless network send be added the wireless network request;In response to the request, whether certification authorizes the mobile computing deviceThe wireless network is added;It, will be described and in response to authorizing the mobile computing device that the instruction of the wireless network is addedThe wireless network is added in mobile computing device.Specifically, after mobile computing device detects wireless network signal, the movementIt calculates equipment and sends the request that the wireless network is added in application to wireless network belonging to the wireless network signal, in wireless networkAfter receiving the above-mentioned request from the mobile computing device, authentication information which will include in above-mentioned requestIt is matched with the authentication information of the wireless network to determine whether to authorize the mobile computing device that the wireless network is added.If the authentication information for including in above-mentioned request is matched with the authentication information of the wireless network, the mobile computing device is authorizedThe wireless network is added, and the instruction for authorizing the mobile computing device that the wireless network is added is sent to mobile meterIt calculates equipment and wireless network is added in the mobile computing device.Wherein, the authentication information can be the information such as password.The wireless network signal, which may, for example, be, refers to Wireless Communication Equipment signal or Bluetooth signal or infrared signal etc..HereinIn, the application is mainly illustrated by taking Wireless Communication Equipment signal as an example, but the application is without being limited thereto.The wireless network signal is usualIt is provided by the Wireless Communication Equipment of such as wireless router.Same Wireless Communication Equipment may mean that at least one mobile computingEquipment is connected to identical network segment.That is, the MAC Address phase of the router for the nearest level-one that these mobile computing devices are connected toTogether.The mobile computing device can refer to laptop, tablet computer, mobile phone etc..These mobile computing devices canVia wired mode or to be wirelessly connected to Wireless Communication Equipment.If the mobile computing device is in input wireless networkIt is successfully connected to the Wireless Communication Equipment after the password of network equipment, then is sent to server and indicates that the mobile computing is setIt is standby to be successfully connected to the Wireless Communication Equipment i.e. instruction of Wireless Communication Equipment.If the mobile computing device fails intoFunction is connected to the Wireless Communication Equipment, then forbids indicating that the mobile computing device has been successfully connected to institute to server transmissionState the instruction of Wireless Communication Equipment.The instruction includes service set identifier and/or MAC based on the Wireless Communication EquipmentThe unique device identifier of the Wireless Communication Equipment of location.
After mobile computing device is successfully connected to Wireless Communication Equipment, mobile computing device obtains the wireless network and setsThe routing of the information (such as MAC Address or service set identifier) of standby router and the Wireless Communication Equipment that will acquireThe information of device is sent to server.
If the networking mode of WLAN is networking mode shown in figure 1A, first Wireless Communication Equipment and described theTwo network equipments are same Wireless Communication Equipment and typically refer to the AP in above-mentioned networking shown in figure 1A, can be such as withoutThe Wireless Communication Equipment of line router etc., and.If the networking mode of WLAN is networking mode shown in Figure 1B, described theOne Wireless Communication Equipment is the AP in networking shown in above-mentioned Figure 1B, and second network equipment typically refers to above-mentioned Figure 1B instituteThe upper level router of the AP in networking shown, therefore, the MAC Address of first Wireless Communication Equipment are different from described secondThe MAC Address of the network equipment.
After the mobile computing device is successfully connected to the first Wireless Communication Equipment and second network equipment, institute is sentIt states mobile computing device and has been successfully connected to the instruction of first Wireless Communication Equipment and second network equipment to describedServer.The instruction generally include first Wireless Communication Equipment the first MAC Address and second network equipmentTwo MAC Address.First MAC Address of first Wireless Communication Equipment typically refers to AP's shown in above-mentioned Figure 1A and Figure 1BMAC Address, and the second MAC Address of second network equipment typically refers to the upper of the AP in networking shown in above-mentioned Figure 1BThe MAC Address of level-1 router.
Step S202: it is received and the first MAC Address of first Wireless Communication Equipment and described the from the serverThe group information of the corresponding group of the second MAC Address of two network equipments, wherein the group information includes in the groupCurrent online information about firms.
After server receives above-mentioned instruction, the server is inquired and described first in the database of serverThe group of the corresponding group of the second MAC Address of first MAC Address of Wireless Communication Equipment and second network equipment believesBreath is to determine whether there is second with the first MAC Address of first Wireless Communication Equipment and second network equipmentThe corresponding group of MAC Address.There are above-mentioned group, the movement is sent by the group information of the groupCalculate equipment.In the case where above-mentioned group is not present, automatically created in the database of server and first wireless networkThe corresponding group of the second MAC Address of first MAC Address of network equipment and second network equipment and the group is believedBreath is sent to the mobile computing device.The group information of the group may include current online member's letter in the groupBreath.
One embodiment in foregoing invention has the following advantages that or the utility model has the advantages that compared with prior art, the present invention is rungMobile computing device described in Ying Yu is successfully connected to first Wireless Communication Equipment, via first Wireless Communication Equipment withAnd second network equipment sends to the server for being connected to internet and indicates that the mobile computing device has been successfully connected toThe instruction of first Wireless Communication Equipment and second network equipment, the mobile computing device are operable to establish and theWireless network is added, first Wireless Communication Equipment is configured as via the second net the wireless connection of one Wireless Communication EquipmentNetwork equipment is connected to internet, and the instruction includes the first MAC Address and second net of first Wireless Communication EquipmentSecond MAC Address of network equipment;It is received and the first MAC Address of first Wireless Communication Equipment and described from the serverThe group information of the corresponding group of the second MAC Address of second network equipment, wherein the group information includes the groupIn current online information about firms.The availability of message group can be made more preferable using method of the invention.
Illustratively combine Fig. 3 to according to an embodiment of the present invention for being added specific to the message group of equipment belowMethod further describes.
Fig. 3 is according to an embodiment of the present invention for another process specific to the method for the message group of equipment to be addedFigure.As shown in figure 3, the method according to an embodiment of the present invention for being added specific to the message group of equipment includes step S301To S307.
Step S301: being successfully connected to the first Wireless Communication Equipment in response to mobile computing device, via first nothingThe line network equipment and second network equipment are sent to the server for being connected to internet indicates that the mobile computing device has becomeFunction is connected to the instruction of first Wireless Communication Equipment and second network equipment, and the mobile computing device is operable toEstablish with the wireless connection of the first Wireless Communication Equipment to be added wireless network, first Wireless Communication Equipment be configured as throughInternet is connected to by second network equipment, the instruction includes the first MAC Address and the institute of first Wireless Communication EquipmentState the second MAC Address of second network equipment.
Step S302: it detects whether to exist corresponding with first Wireless Communication Equipment and second network equipmentGroup.The group corresponds respectively to the first MAC Address and second network equipment of first Wireless Communication EquipmentSecond MAC Address.
Step S303: there is group corresponding with first Wireless Communication Equipment and second network equipmentIn the case of, the mobile computing device is added corresponding with first Wireless Communication Equipment and second network equipmentGroup.
Step S304: in the case where the group is not present, further determine that described first is wireless by the serverWhether the second MAC Address of the first MAC Address of the network equipment and second network equipment is identical.
Step S305: if the of the first MAC Address of first Wireless Communication Equipment and second network equipmentTwo MAC Address are identical, automatically create group corresponding with the MAC Address by the server and by the mobile computing deviceMember of the group as the group is added.
Step S306: if the of the first MAC Address of first Wireless Communication Equipment and second network equipmentTwo MAC Address are not identical, automatically created by the server corresponding with the first MAC Address of first Wireless Communication EquipmentThe first group and the second group corresponding with the second MAC Address of second network equipment and the mobile computing is setStandby first group and second group of being added is respectively as the member of first group and second group.
In addition, first MAC Address and second MAC Address establish father and son pass in the database of the serverSystem, first MAC Address is arranged to sub- MAC Address and second MAC Address is arranged to father's MAC Address, describedFirst group and second group establish set membership in the database of the server, and first group is arranged toSubgroup and second group is arranged to father group.
In addition, the geographical location information that the title of the group is based further on first Wireless Communication Equipment comes reallyIt is fixed.For example, by taking the group name in creation " Startbuck, shop, Yongding Lu " as an example.Believed first by the position of the first Wireless Communication EquipmentBreath is matched with the Merchant name of merchant database and its location information, to determine Merchant name as Startbuck and location informationFor Yongding Lu, so that it is determined that group name is " Startbuck, shop, Yongding Lu ".
In addition, when detecting the already off connection with first Wireless Communication Equipment of the mobile computing device,The server removes the mobile computing device from the list of the current online member of the group.
In some cases, if the IP address of mobile computing device changes, by determining mobile computing deviceThe connection status of network is in the environment of mobile network or knows in being connected in the environment of other Wireless Communication EquipmentThe already off connection with first Wireless Communication Equipment of other mobile computing device, at this time by the mobile computing device from instituteIt states and is removed in the list of the current online member of subgroup.
In other cases, if failing to detect that mobile computing device is connected to the first nothing in certain time threshold valueThe line network equipment, it is determined that the already off connection with the Wireless Communication Equipment of mobile computing device, at this time also by the shiftingThe dynamic equipment that calculates is removed from the list of the current online member of the group.
In addition, it includes: true that the mobile computing device is removed from the list of the current online member of the groupThe fixed mobile computing device still is able to and the service by another communication connection different from the Wireless Communication EquipmentWhen device communicates, half off-line state is set by state of the mobile computing device in the group, for example, at this point it is possible toAllow state of the mobile computing device in father group to remain set to presence, and the mobile computing device is existedState in the subgroup is set as off-line state;And determine the mobile computing device can not by any connection withWhen the server communication, complete off-line state is set by state of the mobile computing device in the group, for example,State of the mobile computing device in father group and subgroup is off-line state at this time.Such as, if it is determined that the shiftingIt is dynamic to calculate the already off connection with the Wireless Communication Equipment of equipment, further determine that the mobile computing device whether canBy cellular network and the server communication, if it is then the state by the mobile computing device in the groupIt is set as half off-line state.Half off-line state herein refers to that the mobile computing device disconnects company with Wireless Communication EquipmentThe state by another communication connection and server communication different from the Wireless Communication Equipment still is able to after connecing, halfOff-line state, it is dynamic in order to understand group in real time that mobile computing device still can receive the session information between group memberState.After determining that the mobile computing device all cannot connect to server in any manner, the mobile computing is setThe standby state in the group is set as complete off-line state.It is mobile when mobile computing device is in complete off-line stateAny information of group will not be obtained by calculating equipment.
In addition, Chat mode is described further based on the above method.
Two kinds of Chat modes, i.e., succinct mode and the whole network mode are described below.
Under succinct mode, if mobile computing device is connected to by the first Wireless Communication Equipment and second network equipmentThe chat of father group and subgroup can be added in server, mobile computing device;Then if mobile computing device disconnects and theThe connection of one Wireless Communication Equipment and second network equipment, then mobile computing device automatically exits from the chat of subgroup while keepingThe chat of father group, wherein the administrator of the group disconnects the company with first Wireless Communication Equipment and second network equipmentIn the case where connecing, the chat of group will not be automatically exited from and remain in the group and be arranged in half offline shapeState.In the case where multiple mobile computing devices are connected to server by same Wireless Communication Equipment, same subgroup atAddition good friend is not needed between member can initiate point-to-point chat.
Under the whole network mode, if mobile computing device is connected to by the first Wireless Communication Equipment and second network equipmentThe chat of father group and subgroup can be added in server, mobile computing device;Then if mobile computing device disconnects and shouldThe connection of Wireless Communication Equipment, then mobile computing device will not exit the chat of subgroup and remain in subgroup andIt is set as half off-line state and holds presence in the relaying continuation of insurance of father group simultaneously.Wherein, the head portrait of member has for being shown asMember it is current whether the status indicator under the Wireless Communication Equipment belonging to the group.
One embodiment in foregoing invention has the following advantages that or the utility model has the advantages that compared with prior art, the present invention is rungMobile computing device described in Ying Yu is successfully connected to first Wireless Communication Equipment, via first Wireless Communication Equipment withAnd second network equipment sends to the server for being connected to internet and indicates that the mobile computing device has been successfully connected toThe instruction of first Wireless Communication Equipment and second network equipment, the mobile computing device are operable to establish and theWireless network is added, first Wireless Communication Equipment is configured as via the second net the wireless connection of one Wireless Communication EquipmentNetwork equipment is connected to internet, and the instruction includes the first MAC Address and second net of first Wireless Communication EquipmentSecond MAC Address of network equipment;It is received and the first MAC Address of first Wireless Communication Equipment and described from the serverThe group information of the corresponding group of the second MAC Address of second network equipment, wherein the group information includes the groupIn current online information about firms.The availability of message group can be made more preferable using method of the invention.
Fig. 4 is according to an embodiment of the present invention for the block diagram of the system specific to the message group of equipment to be added.Such as Fig. 4Shown, the system 400 according to an embodiment of the present invention for being used to be added specific to the message group of equipment includes mobile computing device401, server 402, the first Wireless Communication Equipment 403, second network equipment 404 and cloud network 405.The mobile computing device401 are operable to establish the wireless connection with the first Wireless Communication Equipment 403 so that wireless network, first wireless network is addedEquipment 403 is configured as being connected to cloud network 405 (i.e. internet) via second network equipment 404.
The mobile computing device 401 is being unsuccessfully connected to first Wireless Communication Equipment 403 or disconnection and instituteIt is communicated by cloud network 405 with the server 402 in the case where stating the connection of the first Wireless Communication Equipment 403.The movementEquipment 401 is calculated after being successfully connected to first Wireless Communication Equipment 403, the mobile computing device 401 passes through instituteIt states the first Wireless Communication Equipment 403 and second network equipment 404 is communicated with the server 402.
The mobile computing device 401 can be configured as: be successfully connected in response to the mobile computing device 401One Wireless Communication Equipment 403, via first Wireless Communication Equipment 403 and second network equipment 404 to being connected toThe server 402 of cloud network 405, which is sent, indicates that the mobile computing device 401 has been successfully connected to first wireless network and has setStandby 403 instruction, the instruction include that the first MAC Address of first Wireless Communication Equipment 403 and second network are setStandby 404 the second MAC Address;And the first MAC with first Wireless Communication Equipment 403 is received from the server 402The group information of the corresponding group of the second MAC Address of address and second network equipment 404, wherein group's letterBreath includes current online information about firms in the group.
The server 402 can be configured as in response to from the mobile computing device 401 receive it is described instruction andIt obtains the group information, wherein the server 402 is configured to: detecting whether exist with described first wirelesslyThe network equipment 403 and the corresponding group of second network equipment 404, in the case where the group is not present, by describedServer 402 further determines that the first MAC Address and second network equipment 404 of first Wireless Communication Equipment 403The second MAC Address it is whether identical, if the first MAC Address of first Wireless Communication Equipment 403 and second networkSecond MAC Address of equipment 404 is identical, automatically creates group corresponding with the MAC Address by the server 402 and by instituteIt states mobile computing device 401 and member of the group as the group is added.
The server 402 can be configured to: if the first MAC of first Wireless Communication Equipment 403Second MAC Address of address and second network equipment 404 is not identical, automatically creates and first Wireless Communication EquipmentCorresponding first group of 403 the first MAC Address and corresponding with the second MAC Address of second network equipment 404Simultaneously first group and second group is added as first group in the mobile computing device 401 by the second groupWith the member of second group, wherein the number of first MAC Address and second MAC Address in the server 402According to set membership is established in library, the first MAC is arranged to sub- MAC Address and second MAC Address is arranged to fatherMAC Address, first group and second group establish set membership in the database of the server 402, describedFirst group is arranged to subgroup and second group is arranged to father group.
The geographical location information that the title of the group can be based further on first Wireless Communication Equipment 403 comes trueIt is fixed.For example, by taking the group name in creation " Startbuck, shop, Yongding Lu " as an example.Pass through the position of the first Wireless Communication Equipment 403 firstConfidence breath is matched with the Merchant name of merchant database and its location information, to determine Merchant name as Startbuck and positionInformation is Yongding Lu, so that it is determined that group name is " Startbuck, shop, Yongding Lu ".
The server 402 be configured to detect the mobile computing device 401 it is already off with it is describedWhen the connection of the first Wireless Communication Equipment 403, by the mobile computing device 401 from the column of the current online member of the groupIt is removed in table.
The server 402 can be configured to: determine the mobile computing device 401 by with describedWhen the different another communication connection of one Wireless Communication Equipment 403 still is able to the server communication, by the mobile computingState of the equipment 401 in the group is set as half off-line state;And determining that the mobile computing device 401 can not lead toWhen crossing any connection and being communicated with the server 402, set state of the mobile computing device 401 in the group toComplete off-line state.
In some cases, if the IP address of mobile computing device 401 changes, by determining mobile computing deviceThe connection status of 401 network is in the environment of mobile network or in being connected in the environment of other Wireless Communication EquipmentIt identifies the already off connection with the Wireless Communication Equipment 403 of mobile computing device 401, at this time sets the mobile computingStandby 401 remove from the list of the current online member of the group.
In other cases, if failing to detect that mobile computing device 401 is connected to nothing in certain time threshold valueThe line network equipment 403, it is determined that the already off connection with the Wireless Communication Equipment of mobile computing device 401 also will at this timeThe mobile computing device 401 is removed from the list of the current online member of the group.
The server 402 is configured to: determine the mobile computing device 401 by with the wireless networkThe different another communication of network equipment 403 (such as cloud network 405 (it can be cellular network)) connection still is able to and the clothesWhen business device communication, half off-line state is set by state of the mobile computing device in the group;And determiningWhen stating mobile computing device 401 can not be communicated by any connection with the server 402, by the mobile computing device 401State in the group is set as complete off-line state.Such as, if it is determined that the mobile computing device 401 is already offWith the connection of the Wireless Communication Equipment 403, further determine that whether the mobile computing device 401 can pass through cloud network405 (such as cellular networks) are communicated with the server 402, if it is then by the mobile computing device 401 in the groupState in group is set as half off-line state.Half off-line state herein refers to the mobile computing device 401 with firstWireless Communication Equipment 403 still be able to after disconnecting by another different from Wireless Communication Equipment communication (such asCloud network 405) state communicated with server 402 is connected, in half off-line state, mobile computing device 401 still be can receiveSession information between group member in order to understanding group's dynamic in real time.Determining the mobile computing device 401 by appointingWhere formula all cannot connect to after server 402, set state of the mobile computing device 401 in the group toComplete off-line state.When mobile computing device 401 is in complete off-line state, mobile computing device 401 will not obtain groupAny information.
The mobile computing device 401 can be configured as via different from first Wireless Communication Equipment 403 anotherThe instruction is sent to the server 402 by one network (such as cloud network 405) connection.
In some cases, if the IP address of mobile computing device 401 changes, by determining mobile computing deviceThe connection status of 401 network is in the environment of mobile network or in being connected in the environment of other Wireless Communication EquipmentThe already off connection with first Wireless Communication Equipment 403 of mobile computing device 401 is identified, at this time from the subgroupIt is middle to remove the mobile computing device.
In other cases, if failing to detect that mobile computing device 401 is connected in certain time threshold valueOne Wireless Communication Equipment 403, it is determined that the already off company with first Wireless Communication Equipment 403 of mobile computing device 401It connects, removes the mobile computing device 401 from the group at this time.
In addition, Chat mode is described further based on the above method.
Two kinds of Chat modes, i.e., succinct mode and the whole network mode are described below.
Under succinct mode, if mobile computing device 401 passes through the first Wireless Communication Equipment 403 and second network equipment404 are connected to server 402, and the chat of father group and subgroup can be added in mobile computing device 401;Then if mobile meterCalculate equipment 401 disconnect with the connection of the first Wireless Communication Equipment 403 and second network equipment 404, then mobile computing device 401 fromThe dynamic chat for exiting subgroup while the chat for keeping father group, wherein the administrator of the group disconnects and the first wireless networkIn the case where the connection of network equipment 403 and second network equipment 404, the chat of subgroup will not be automatically exited from and remained inIn the subgroup and it is arranged in half off-line state.Pass through same Wireless Communication Equipment in multiple mobile computing devices 401In the case where being connected to server, addition good friend is not needed between the member of same subgroup and initiates point-to-point chat.
Under the whole network mode, if mobile computing device 401 passes through the first Wireless Communication Equipment 403 and second network equipment404 are connected to server 402, and the chat of father group and subgroup can be added in mobile computing device 401;Then if mobile meterCalculate equipment 401 disconnect with the connection of the first Wireless Communication Equipment 403 and second network equipment 404, then mobile computing device 401 is notThe chat of subgroup can be exited and remain in subgroup and be set as half off-line state while continuing in father groupKeep presence.Wherein, the head portrait of member has for showing currently whether the wireless network belonging to the group is set memberStatus indicator under standby.
One embodiment in foregoing invention has the following advantages that or the utility model has the advantages that compared with prior art, the present invention is rungMobile computing device described in Ying Yu is successfully connected to first Wireless Communication Equipment, via first Wireless Communication Equipment withAnd second network equipment sends to the server for being connected to internet and indicates that the mobile computing device has been successfully connected toThe instruction of first Wireless Communication Equipment and second network equipment, the mobile computing device are operable to establish and theWireless network is added, first Wireless Communication Equipment is configured as via the second net the wireless connection of one Wireless Communication EquipmentNetwork equipment is connected to internet, and the instruction includes the first MAC Address and second net of first Wireless Communication EquipmentSecond MAC Address of network equipment;It is received and the first MAC Address of first Wireless Communication Equipment and described from the serverThe group information of the corresponding group of the second MAC Address of second network equipment, wherein the group information includes the groupIn current online information about firms.The availability of message group can be made more preferable using method of the invention.
Fig. 5 is shown can be using the embodiment of the present invention for method and dress specific to the message group of equipment to be addedThe exemplary system architecture 500 set.
As shown in figure 5, system architecture 500 may include terminal device 501,502,503, network 504 and server 505.Network 504 between terminal device 501,502,503 and server 505 to provide the medium of communication link.Network 504 can be withIncluding various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 501,502,503 and be interacted by network 504 with server 505, to receive or send outSend message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 501,502,503The application of page browsing device, searching class application, instant messaging tool, mailbox client, social platform software etc. (merely illustrative).
Terminal device 501,502,503 can be the various electronic equipments with display screen and supported web page browsing, packetInclude but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 505 can be to provide the server of various services, such as utilize terminal device 501,502,503 to userThe Streaming Media website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to receptionTo the data such as information inquiring request analyze etc. processing, and by processing result (such as target push information, product information --It is merely illustrative) feed back to terminal device.
It should be noted that for the method one specific to the message group of equipment to be added provided by the embodiment of the present inventionAs executed by terminal device 501,502,503, correspondingly, the device for being added specific to the message group of equipment is generally arrangedIn terminal device 501,502,503.
It should be understood that the number of terminal device, network and server in Fig. 5 is only schematical.According to realization needIt wants, can have any number of terminal device, network and server.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the terminal device for being suitable for being used to realize the embodiment of the present inventionStructural schematic diagram.Terminal device shown in Fig. 6 is only an example, function to the embodiment of the present invention and should not use modelShroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored inProgram in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 andExecute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to alwaysLine 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathodeThe output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as becauseThe network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such asDisk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereonComputer program be mounted into storage section 608 as needed.
Particularly, disclosed embodiment, the process described above with reference to flow chart may be implemented as counting according to the present inventionCalculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product comprising be carried on computerComputer program on readable medium, the computer program include the program code for method shown in execution flow chart.?In such embodiment, which can be downloaded and installed from network by communications portion 609, and/or from canMedium 611 is dismantled to be mounted.When the computer program is executed by central processing unit (CPU) 601, system of the invention is executedThe above-mentioned function of middle restriction.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meterCalculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but notBe limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.MeterThe more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wiresTaking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storageDevice (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journeyThe tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at thisIn invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimitedIn electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer canAny computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used forBy the use of instruction execution system, device or device or program in connection.Include on computer-readable mediumProgram code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentionedAny appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journeyThe architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generationA part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or moreExecutable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in boxThe function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practicalOn can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wantsIt is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute ruleThe dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instructionIt closes to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hardThe mode of part is realized.Described module also can be set in the processor.
As on the other hand, the present invention also provides a kind of computer-readable medium, which be can beIncluded in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculatingMachine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, so that shouldEquipment: it is successfully connected to first Wireless Communication Equipment in response to the mobile computing device, via first wireless networkNetwork equipment and second network equipment are sent to the server for being connected to internet indicates that the mobile computing device has becomeFunction is connected to the instruction of first Wireless Communication Equipment and second network equipment, and the mobile computing device is operable toEstablish with the wireless connection of the first Wireless Communication Equipment to be added wireless network, first Wireless Communication Equipment be configured as throughInternet is connected to by second network equipment, the instruction includes the first MAC Address and the institute of first Wireless Communication EquipmentState the second MAC Address of second network equipment;It is received with the first MAC of first Wireless Communication Equipment from the serverThe group information of the corresponding group of the second MAC Address of location and second network equipment, wherein the group information includesCurrent online information about firms in the group.
One embodiment in foregoing invention has the following advantages that or the utility model has the advantages that compared with prior art, the present invention is rungMobile computing device described in Ying Yu is successfully connected to first Wireless Communication Equipment, via first Wireless Communication Equipment withAnd second network equipment sends to the server for being connected to internet and indicates that the mobile computing device has been successfully connected toThe instruction of first Wireless Communication Equipment and second network equipment, the mobile computing device are operable to establish and theWireless network is added, first Wireless Communication Equipment is configured as via the second net the wireless connection of one Wireless Communication EquipmentNetwork equipment is connected to internet, and the instruction includes the first MAC Address and second net of first Wireless Communication EquipmentSecond MAC Address of network equipment;It is received and the first MAC Address of first Wireless Communication Equipment and described from the serverThe group information of the corresponding group of the second MAC Address of second network equipment, wherein the group information includes the groupIn current online information about firms.The availability of message group can be made more preferable using method of the invention.
Above-mentioned specific embodiment, does not constitute a limitation on the scope of protection of the present invention.Those skilled in the art should be brightIt is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and substitution can occur.It is anyMade modifications, equivalent substitutions and improvements etc. within the spirit and principles in the present invention, should be included in the scope of the present inventionWithin.